mejoras en jugabilidad
This commit is contained in:
1 parent
d983bc2e69
commit
ec7e35ddf6
40 files changed
+856
-538
No files matched your search
@@ -0,0 +1,46 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/triggers/kill_gate.gd" id="gate"]
|
||||
[ext_resource type="Script" path="res://world/triggers/ossuary_gate_visual.gd" id="visual"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="gate_collision"]
|
||||
size = Vector2(44, 220)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="gate_sensor"]
|
||||
size = Vector2(320, 260)
|
||||
|
||||
[node name="KillGate" type="StaticBody2D"]
|
||||
collision_layer = 1
|
||||
collision_mask = 0
|
||||
script = ExtResource("gate")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("gate_collision")
|
||||
|
||||
[node name="Visual" type="Node2D" parent="."]
|
||||
script = ExtResource("visual")
|
||||
|
||||
[node name="Sensor" type="Area2D" parent="."]
|
||||
position = Vector2(-40, 0)
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
monitorable = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sensor"]
|
||||
shape = SubResource("gate_sensor")
|
||||
|
||||
[node name="Message" type="CanvasLayer" parent="."]
|
||||
visible = false
|
||||
layer = 4
|
||||
|
||||
[node name="Text" type="Label" parent="Message"]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_top = 110.0
|
||||
offset_bottom = 170.0
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
theme_override_font_sizes/font_size = 18
|
||||
theme_override_colors/font_color = Color(1, 0.83, 0.62, 1)
|
||||
autowrap_mode = 3
|
||||
text = "has de derrotar a todos los mal nacidos para poder atravesar esta puerta!"
|
||||
Reference in new issue
Block a user