summaryrefslogtreecommitdiff
path: root/scenes/levels/base_level.tscn
blob: edf0d0d0cd1ec4db8cabe0f686aeb41579561bdc (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
[gd_scene load_steps=8 format=2]

[ext_resource path="res://textures/backgrounds/background_grey.png" type="Texture" id=1]
[ext_resource path="res://components/PathRenderer.gd" type="Script" id=2]
[ext_resource path="res://components/healthbar/healtbar.tscn" type="PackedScene" id=3]
[ext_resource path="res://components/button.tscn" type="PackedScene" id=4]
[ext_resource path="res://scenes/pause.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/levels/base_level.gd" type="Script" id=6]

[sub_resource type="Curve2D" id=1]
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 498.557, 573.469, 0, 0, 0, 0, 260.715, 288.06, 0, 0, 0, 0, 18.117, 259.519, 0, 0, 0, 0, -224.481, 259.519, 0, 0, 0, 0, -348.159, 264.276, 0, 0, 0, 0, -362.429, 378.439, 0, 0, 0, 0, -357.672, 559.199 )
}

[node name="BaseLevel" type="Node2D"]
position = Vector2( 486.33, -65.5159 )
script = ExtResource( 6 )

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 153.457, 427.259 )
current = true

[node name="background_blue" type="Sprite" parent="Camera2D"]
position = Vector2( 8.47589, -0.203278 )
scale = Vector2( 0.691279, 0.704278 )
texture = ExtResource( 1 )

[node name="PathRenderer" type="Node2D" parent="."]
script = ExtResource( 2 )

[node name="Path2D" type="Path2D" parent="PathRenderer"]
curve = SubResource( 1 )

[node name="healthbar" parent="." instance=ExtResource( 3 )]
position = Vector2( -441.92, 105.896 )
maxhealth = 3
offset = 60

[node name="MenuButton" parent="." instance=ExtResource( 4 )]
position = Vector2( 722.995, 115.66 )
text = "Menu"

[node name="PauseMenu" parent="." instance=ExtResource( 5 )]
visible = false
position = Vector2( 155.016, 424.068 )
[connection signal="on_click" from="MenuButton" to="." method="_on_MenuButton_on_click"]