Added win condition for level 1 and added boss fight for level 5
This commit is contained in:
34
Levels/Interactables/Teleporter.tscn
Normal file
34
Levels/Interactables/Teleporter.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Sprites/Levels/Interactables/Teleport_Pad.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Levels/Interactables/Teleporter.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 8.0
|
||||
|
||||
[node name="Teleporter" type="Area2D"]
|
||||
light_mask = 0
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
input_pickable = false
|
||||
monitorable = false
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
self_modulate = Color( 0.564706, 1, 0.560784, 1 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
light_mask = 0
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Light" type="Light2D" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
texture_scale = 0.4
|
||||
color = Color( 0.341176, 1, 0.321569, 1 )
|
||||
energy = 1.2
|
||||
shadow_item_cull_mask = 0
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_teleporter_body_entered"]
|
Reference in New Issue
Block a user