Game #1: Rocket Launch

This commit is contained in:
Felipe M 2021-01-21 22:43:08 +01:00
commit 21399f904f
Signed by: fmartingr
GPG key ID: 716BC147715E716F
14 changed files with 267 additions and 0 deletions

8
rocket-launch/World.gd Normal file
View file

@ -0,0 +1,8 @@
extends Node
onready var animationPlayer: = $AnimationPlayer
onready var rocketship: = $RocketShip
func _on_LaunchButton_pressed():
rocketship.texture = load("res://Sprites/RocketShipLaunch.png")
animationPlayer.play("Launch")