Level runners
This commit is contained in:
parent
d52d4be5ff
commit
5010c61309
11 changed files with 398 additions and 110 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=26 format=3 uid="uid://dd3yegl1xo44m"]
|
||||
[gd_scene load_steps=28 format=3 uid="uid://dd3yegl1xo44m"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bndu1h5kgcde8" path="res://scripts/level/RuntimeLevelData.cs" id="1_31ltw"]
|
||||
[ext_resource type="Script" uid="uid://bso32xkw738sy" path="res://scripts/level/PoolContainer.cs" id="2_s5sti"]
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://bpekho7leatr5" path="res://scenes/sun.tscn" id="15_7v6ps"]
|
||||
[ext_resource type="PackedScene" uid="uid://jm7wm08d2mi7" path="res://scenes/level components/right_boundary_marker.tscn" id="16_s7icd"]
|
||||
[ext_resource type="PackedScene" uid="uid://plc2gus4ppds" path="res://scenes/level components/left_boundary_marker.tscn" id="17_8qqc4"]
|
||||
[ext_resource type="Script" uid="uid://812ldoyxd5n5" path="res://scripts/level/LoseCheckbox.cs" id="19_482ps"]
|
||||
|
||||
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_482ps"]
|
||||
distance = -9.0
|
||||
|
|
@ -166,9 +167,13 @@ region = Rect2(194, 221, 61, 20)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xsaqy"]
|
||||
size = Vector2(244, 399)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jg5t3"]
|
||||
size = Vector2(282, 399)
|
||||
|
||||
[node name="level_template" type="Node2D"]
|
||||
|
||||
[node name="MainAnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
process_mode = 3
|
||||
|
||||
[node name="Data" type="Node" parent="."]
|
||||
script = ExtResource("1_31ltw")
|
||||
|
|
@ -357,6 +362,14 @@ position = Vector2(755, 376)
|
|||
[node name="LeftBoundaryMarker" parent="." instance=ExtResource("17_8qqc4")]
|
||||
position = Vector2(305, 76)
|
||||
|
||||
[node name="Checkbox" type="Area2D" parent="."]
|
||||
collision_mask = 24
|
||||
script = ExtResource("19_482ps")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Checkbox"]
|
||||
position = Vector2(141, 199.5)
|
||||
shape = SubResource("RectangleShape2D_jg5t3")
|
||||
|
||||
[connection signal="pressed" from="GameOverScreen/VBoxContainer/RestartButton" to="GameOverScreen/VBoxContainer/TapPlayer" method="Play"]
|
||||
[connection signal="pressed" from="GameOverScreen/VBoxContainer/ExitButton" to="GameOverScreen/VBoxContainer/TapPlayer" method="Play"]
|
||||
[connection signal="timeout" from="SunSpawner/Timer" to="SunSpawner" method="Spawn"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue