-
Notifications
You must be signed in to change notification settings - Fork 0
/
LavaWall.tscn
33 lines (24 loc) · 1.08 KB
/
LavaWall.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://levels/Lava_game_over.gd" type="Script" id=1]
[ext_resource path="res://assets/obstacles/Platforms.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 566.419, 10 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 731.23, 3.69205 )
[node name="Lava" type="Area2D"]
collision_mask = 8
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 252.113, -180 )
scale = Vector2( 9.19233, 8.18992 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 1.08311, 17.6249, 65.1452, 49.871 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="LavaTrigger" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="LavaTrigger"]
position = Vector2( 0, 125 )
shape = SubResource( 2 )
[connection signal="body_entered" from="." to="." method="_on_Lava_body_entered"]
[connection signal="body_entered" from="LavaTrigger" to="." method="_on_LavaTrigger_body_entered"]