-
Notifications
You must be signed in to change notification settings - Fork 1
/
World.tscn
34 lines (25 loc) · 1.35 KB
/
World.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/textures/background.png" type="Texture" id=1]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://environment/Ground.tscn" type="PackedScene" id=3]
[ext_resource path="res://environment/ObstacleSpawner.tscn" type="PackedScene" id=4]
[ext_resource path="res://World.gd" type="Script" id=5]
[ext_resource path="res://ui/HUD.tscn" type="PackedScene" id=6]
[ext_resource path="res://ui/MenuLayer.tscn" type="PackedScene" id=7]
[node name="World" type="Node2D"]
script = ExtResource( 5 )
[node name="HUD" parent="." instance=ExtResource( 6 )]
[node name="MenuLayer" parent="." instance=ExtResource( 7 )]
[node name="Background" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
[node name="ObstacleSpawner" parent="." instance=ExtResource( 4 )]
position = Vector2( 800, 0 )
[node name="Ground" parent="." instance=ExtResource( 3 )]
position = Vector2( 0, 686 )
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 115, 427 )
[connection signal="start_game" from="MenuLayer" to="." method="_on_MenuLayer_start_game"]
[connection signal="body_entered" from="Ground/DeathZone" to="." method="_on_DeathZone_body_entered"]
[connection signal="died" from="Player" to="." method="_on_Player_died"]
[editable path="Ground"]