1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- [gd_scene load_steps=9 format=2]
- [ext_resource path="res://Background.tscn" type="PackedScene" id=1]
- [ext_resource path="res://Main.gd" type="Script" id=2]
- [ext_resource path="res://Enemy.tscn" type="PackedScene" id=3]
- [ext_resource path="res://Player.tscn" type="PackedScene" id=4]
- [ext_resource path="res://HUD.tscn" type="PackedScene" id=5]
- [ext_resource path="res://dodge_assets/art/House In a Forest Loop.ogg" type="AudioStream" id=6]
- [ext_resource path="res://dodge_assets/art/gameover.wav" type="AudioStream" id=7]
- [sub_resource type="Curve2D" id=1]
- _data = {
- "points": PoolVector2Array( 0, 0, 0, 0, -1.05261, 2.78944, 0, 0, 0, 0, 477.895, 2.78944, 0, 0, 0, 0, 460.055, 715.427, 0, 0, 0, 0, 5.76184, 708.778, 0, 0, 0, 0, -1.05261, 2.78944 )
- }
- [node name="Root" type="Node"]
- [node name="Background" parent="." instance=ExtResource( 1 )]
- rect_min_size = Vector2( 100, 100 )
- [node name="Main" type="Node2D" parent="."]
- script = ExtResource( 2 )
- __meta__ = {
- "_edit_group_": true
- }
- Mob = ExtResource( 3 )
- [node name="MobTimer" type="Timer" parent="Main"]
- wait_time = 0.53
- [node name="ScoreTimer" type="Timer" parent="Main"]
- [node name="StartTimer" type="Timer" parent="Main"]
- wait_time = 2.41
- one_shot = true
- [node name="StartPositon" type="Position2D" parent="Main"]
- position = Vector2( 245.263, 375.79 )
- [node name="MobPath" type="Path2D" parent="Main"]
- curve = SubResource( 1 )
- [node name="MobSpawnLocation" type="PathFollow2D" parent="Main/MobPath"]
- position = Vector2( -1.05261, 2.78944 )
- rotation = -6.07153e-08
- [node name="Player" parent="Main" instance=ExtResource( 4 )]
- position = Vector2( 245.983, 380.055 )
- [node name="HUD" parent="Main" instance=ExtResource( 5 )]
- [node name="Music" type="AudioStreamPlayer" parent="Main"]
- stream = ExtResource( 6 )
- [node name="DeathSound" type="AudioStreamPlayer" parent="Main"]
- stream = ExtResource( 7 )
- [connection signal="timeout" from="Main/MobTimer" to="Main" method="_on_MobTimer_timeout"]
- [connection signal="timeout" from="Main/ScoreTimer" to="Main" method="_on_ScoreTimer_timeout"]
- [connection signal="timeout" from="Main/StartTimer" to="Main/Player" method="spawn"]
- [connection signal="timeout" from="Main/StartTimer" to="Main" method="_on_StartTimer_timeout"]
- [connection signal="hit" from="Main/Player" to="Main" method="game_over"]
- [connection signal="start_game" from="Main/HUD" to="Main" method="new_game"]
|