-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLevel.tscn
52 lines (40 loc) · 1.83 KB
/
Level.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[gd_scene load_steps=12 format=2]
[ext_resource path="res://Platforms.tscn" type="PackedScene" id=1]
[ext_resource path="res://player1.tscn" type="PackedScene" id=2]
[ext_resource path="res://Level.gd" type="Script" id=3]
[ext_resource path="res://ui/score_ui.tscn" type="PackedScene" id=4]
[ext_resource path="res://Consumables.tscn" type="PackedScene" id=5]
[ext_resource path="res://assets/music/music.wav" type="AudioStream" id=6]
[ext_resource path="res://assets/background/bg_frame_3.png" type="Texture" id=7]
[ext_resource path="res://assets/background/bg_frame_2.png" type="Texture" id=8]
[ext_resource path="res://assets/background/bg_frame_1.png" type="Texture" id=9]
[ext_resource path="res://WaterDeath.tscn" type="PackedScene" id=10]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 9 ), ExtResource( 8 ), ExtResource( 7 ), ExtResource( 8 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Level" type="Node2D"]
script = ExtResource( 3 )
[node name="player1" parent="." instance=ExtResource( 2 )]
position = Vector2( 300, 0 )
[node name="Platforms" parent="." instance=ExtResource( 1 )]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Score UI" parent="CanvasLayer" instance=ExtResource( 4 )]
[node name="Consumables" parent="." instance=ExtResource( 5 )]
[node name="music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
[node name="CanvasLayer2" type="CanvasLayer" parent="."]
layer = -2
[node name="background" type="AnimatedSprite" parent="CanvasLayer2"]
position = Vector2( 1, 0 )
z_index = 5
frames = SubResource( 1 )
frame = 2
playing = true
offset = Vector2( 300, 400 )
[node name="Water" parent="." instance=ExtResource( 10 )]
position = Vector2( 301.061, 1170.51 )
[connection signal="riseWater" from="player1" to="Water" method="_on_player1_riseWater"]