mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 06:23:47 +00:00
Added shrouds to rooms
This commit is contained in:
parent
07d49a0b23
commit
f460103239
12 changed files with 104 additions and 32 deletions
|
|
@ -1,12 +1,21 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c21m7w5ahpsd0"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c21m7w5ahpsd0"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://m32iqs21np0v" path="res://Sprites/BlackPixel.png" id="1_oowkm"]
|
||||
[ext_resource type="Script" uid="uid://bs6st2q4i0gum" path="res://Scripts/Activables/BlackCover.cs" id="2_qxoar"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4wu5n"]
|
||||
size = Vector2(1, 1)
|
||||
|
||||
[node name="Shroud" type="Sprite2D"]
|
||||
visible = false
|
||||
z_index = 1
|
||||
position = Vector2(-920.5, 78.75)
|
||||
scale = Vector2(127, 126.5)
|
||||
texture = ExtResource("1_oowkm")
|
||||
script = ExtResource("2_qxoar")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource("RectangleShape2D_4wu5n")
|
||||
|
||||
[connection signal="area_entered" from="Area2D" to="." method="OnAreaEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue