diff options
author | nokoe <nokoe@mailbox.org> | 2024-06-26 23:28:07 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-06-26 23:28:52 +0200 |
commit | ec4e2769ee7148cbc0afa329f5fe5922051abba8 (patch) | |
tree | 7bbdfe1cefa0695daeb51ada8527c1bcd03aeafd /client/map/items/burned.gd | |
parent | 8784d1a619f4224a4fe659750c91561fcc733100 (diff) | |
download | hurrycurry-ec4e2769ee7148cbc0afa329f5fe5922051abba8.tar hurrycurry-ec4e2769ee7148cbc0afa329f5fe5922051abba8.tar.bz2 hurrycurry-ec4e2769ee7148cbc0afa329f5fe5922051abba8.tar.zst |
add zoom, improve camera
Diffstat (limited to 'client/map/items/burned.gd')
-rw-r--r-- | client/map/items/burned.gd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/map/items/burned.gd b/client/map/items/burned.gd index 5c98817a..ad7b4505 100644 --- a/client/map/items/burned.gd +++ b/client/map/items/burned.gd @@ -16,13 +16,17 @@ class_name Burned extends Item +var steam: CPUParticles3D = load("res://map/items/steam.tscn").instantiate() + func _init(owned_by_: Node3D): super(owned_by_) - var steam: CPUParticles3D = load("res://map/items/steam.tscn").instantiate() - steam.emitting = true steam.color = Color(0., 0., 0.) add_child(load("res://map/items/burned.tscn").instantiate()) base.add_child(steam) + +func _ready(): + steam.emitting = true + static func base_position() -> Vector3: return Vector3(0., .2, 0.) |