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

9 lines
231 B
GDScript3
Raw Normal View History

2021-01-21 21:43:08 +00:00
extends Node
onready var animationPlayer: = $AnimationPlayer
onready var rocketship: = $RocketShip
func _on_LaunchButton_pressed():
rocketship.texture = load("res://Sprites/RocketShipLaunch.png")
animationPlayer.play("Launch")