mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 05:15:55 +00:00
Destroyable movement sensors
This commit is contained in:
parent
80e0eda977
commit
ea7deaa774
8 changed files with 187 additions and 15 deletions
21
Scenes/Interactable/DestroyedMovementSensor.tscn
Normal file
21
Scenes/Interactable/DestroyedMovementSensor.tscn
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dbd7pmoevm787"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bs5fsrx07bolj" path="res://Sprites/Actors/MovementSensor.png" id="1_cegkl"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kaq0i"]
|
||||
atlas = ExtResource("1_cegkl")
|
||||
region = Rect2(16, 0, 8, 8)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_us36d"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kaq0i")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="DestroyedMovementSensor" type="AnimatedSprite2D"]
|
||||
sprite_frames = SubResource("SpriteFrames_us36d")
|
||||
Loading…
Add table
Add a link
Reference in a new issue