2021-04-11 18:09:08 +02:00
|
|
|
[gd_scene load_steps=9 format=2]
|
2021-04-08 09:55:08 +02:00
|
|
|
|
2021-04-08 10:24:27 +02:00
|
|
|
[ext_resource path="res://mini-game/scenes/decor/background.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://mini-game/scenes/decor/foreground.tscn" type="PackedScene" id=2]
|
2021-05-05 18:33:03 +02:00
|
|
|
[ext_resource path="res://mini-game/scenes/players/player.tscn" type="PackedScene" id=3]
|
2021-04-08 12:17:48 +02:00
|
|
|
[ext_resource path="res://mini-game/MiniGame.gd" type="Script" id=4]
|
2021-05-05 18:33:03 +02:00
|
|
|
[ext_resource path="res://mini-game/scenes/decor/startTimerUI.tscn" type="PackedScene" id=5]
|
2021-04-08 10:24:27 +02:00
|
|
|
[ext_resource path="res://mini-game/scenes/spawner/spawner.tscn" type="PackedScene" id=6]
|
|
|
|
[ext_resource path="res://mini-game/scenes/decor/scoreUI.tscn" type="PackedScene" id=7]
|
2021-04-11 18:09:08 +02:00
|
|
|
[ext_resource path="res://mini-game/scenes/decor/instructionsUI.tscn" type="PackedScene" id=8]
|
2021-04-08 09:55:08 +02:00
|
|
|
|
2021-04-09 10:27:22 +02:00
|
|
|
[node name="MiniGame" type="Node"]
|
2021-04-08 12:17:48 +02:00
|
|
|
script = ExtResource( 4 )
|
2021-04-08 09:55:08 +02:00
|
|
|
|
|
|
|
[node name="background" parent="." instance=ExtResource( 1 )]
|
|
|
|
|
|
|
|
[node name="foreground" parent="." instance=ExtResource( 2 )]
|
|
|
|
|
|
|
|
[node name="spawner" parent="." instance=ExtResource( 6 )]
|
2021-04-09 10:27:22 +02:00
|
|
|
position = Vector2( 2015.43, 970.395 )
|
2021-04-08 09:55:08 +02:00
|
|
|
|
2021-05-05 18:33:03 +02:00
|
|
|
[node name="player" parent="." instance=ExtResource( 3 )]
|
2021-04-09 10:27:22 +02:00
|
|
|
position = Vector2( 183.674, 888.367 )
|
2021-04-08 09:55:08 +02:00
|
|
|
|
|
|
|
[node name="scoreUI" parent="." instance=ExtResource( 7 )]
|
2021-04-11 18:09:08 +02:00
|
|
|
|
2021-05-05 18:33:03 +02:00
|
|
|
[node name="startTimerUI" parent="." instance=ExtResource( 5 )]
|
2021-04-11 18:09:08 +02:00
|
|
|
|
|
|
|
[node name="instructionsUI" parent="." instance=ExtResource( 8 )]
|
2021-05-05 18:33:03 +02:00
|
|
|
|
2021-05-06 11:03:04 +02:00
|
|
|
[node name="ScoreTimer" type="Timer" parent="."]
|
|
|
|
|
|
|
|
[node name="SpeedTimer" type="Timer" parent="."]
|
2021-05-05 18:33:03 +02:00
|
|
|
|
|
|
|
[connection signal="die" from="player" to="." method="_on_player_die"]
|
|
|
|
[connection signal="hit" from="player" to="." method="_on_player_hit"]
|
|
|
|
[connection signal="score" from="player" to="." method="_on_player_score"]
|
2021-05-06 11:03:04 +02:00
|
|
|
[connection signal="timeout" from="ScoreTimer" to="." method="_on_ScoreTimer_timeout"]
|
|
|
|
[connection signal="timeout" from="SpeedTimer" to="." method="_on_SpeedTimer_timeout"]
|