2022 demo

This commit is contained in:
pennyrigate 2022-12-31 21:47:38 -05:00
parent c60375cb98
commit 4727fb0f55
41 changed files with 761 additions and 68 deletions

4
maps/demo_end.gd Normal file
View file

@ -0,0 +1,4 @@
extends Node2D
func _ready():
$Score.text = str(Game.high_score)

30
maps/demo_end.tscn Normal file
View file

@ -0,0 +1,30 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://maps/demo_end.gd" type="Script" id=1]
[node name="DemoEnd" type="Node2D"]
script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 259.0
margin_bottom = 196.0
color = Color( 0, 0, 0, 1 )
[node name="Label" type="Label" parent="."]
margin_left = 13.0
margin_top = 24.0
margin_right = 112.0
margin_bottom = 38.0
text = "Congratulations! you beat the demo!
Your high score is:
Press \"R\" to play again!"
[node name="Score" type="Label" parent="."]
margin_left = 136.0
margin_top = 41.0
margin_right = 235.0
margin_bottom = 55.0
text = "000000"

4
maps/map01.gd Normal file
View file

@ -0,0 +1,4 @@
extends Node2D
func _ready():
Game.play_sound(load("res://audio/music/rumble_loop.mp3"),Game.ac_music)

File diff suppressed because one or more lines are too long