1
0
Fork 0
1bit-godot-course/rocket-launch/World.gd

9 lines
231 B
GDScript

extends Node
onready var animationPlayer: = $AnimationPlayer
onready var rocketship: = $RocketShip
func _on_LaunchButton_pressed():
rocketship.texture = load("res://Sprites/RocketShipLaunch.png")
animationPlayer.play("Launch")