diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2026-05-20 09:39:22 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2026-05-20 09:39:22 +0200 |
| commit | 75c83f4d7a628077d9ec98bfbd674699bfa20529 (patch) | |
| tree | 092244938ba3f2bf9e4355840e7f65176a6f5e3f /components/astronaut.gd | |
| download | moon-buggy-2d-develop.tar.xz moon-buggy-2d-develop.zip | |
initial gdscript rewritedevelop
Diffstat (limited to 'components/astronaut.gd')
| -rw-r--r-- | components/astronaut.gd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/astronaut.gd b/components/astronaut.gd new file mode 100644 index 0000000..89e0f0d --- /dev/null +++ b/components/astronaut.gd @@ -0,0 +1,8 @@ +extends Node2D + +@onready var _sprite = $Sprite + +func _ready() -> void: + _sprite.animation = "stand" + _sprite.frame = 0 + _sprite.stop() |
