Game #1: Rocket Launch
This commit is contained in:
commit
21399f904f
14 changed files with 267 additions and 0 deletions
8
rocket-launch/World.gd
Normal file
8
rocket-launch/World.gd
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue