summaryrefslogtreecommitdiff
path: root/scenes/levels/base_level.tscn
blob: c13cdaa0e43b1c6e25e190c198a81082b6f53fff (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
47
48
[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]
[ext_resource path="res://components/CameraTrackFollower.gd" type="Script" id=7]

[node name="BaseLevel" type="Node2D"]
script = ExtResource( 6 )

[node name="PathRenderer" type="Node2D" parent="."]
script = ExtResource( 2 )
path_color = Color( 0, 0.741176, 1, 1 )

[node name="LevelHolder" type="Control" parent="."]
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 153.457, 427.259 )
current = true
script = ExtResource( 7 )
speedup_time = 10

[node name="healthbar" parent="Camera2D" instance=ExtResource( 3 )]
position = Vector2( -595.377, -321.363 )
maxhealth = 10
offset = 60

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

[node name="MenuButton" parent="Camera2D" instance=ExtResource( 4 )]
position = Vector2( 571.642, -311.599 )
text = "Menu"

[node name="PauseMenu" parent="Camera2D" instance=ExtResource( 5 )]

[connection signal="done" from="Camera2D" to="." method="_on_Camera2D_done"]
[connection signal="on_click" from="Camera2D/MenuButton" to="." method="_on_MenuButton_on_click"]
[connection signal="unpause" from="Camera2D/PauseMenu" to="." method="_on_PauseMenu_unpause"]