mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 16:03:48 +00:00
Forcefield
This commit is contained in:
parent
7b2d32e727
commit
fe33f8d225
24 changed files with 398 additions and 8 deletions
50
3D/Scenes/Props/ForceField_3D.tscn
Normal file
50
3D/Scenes/Props/ForceField_3D.tscn
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dioiq4nb7kiet"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gc24sjyj47x6" path="res://Sprites/Actors/ForceFieldHorizontal.png" id="2_4cotp"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7axon"]
|
||||
size = Vector3(1.99927, 2.00482, 0.140869)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hfile"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2serc"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nl1bd"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_q44q4"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hfile")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2serc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nl1bd")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Door3d" type="AnimatableBody3D" groups=["Solid"]]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00500488, 0.00234985, -0.00524902)
|
||||
shape = SubResource("BoxShape3D_7axon")
|
||||
|
||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.596)
|
||||
pixel_size = 0.06
|
||||
texture_filter = 0
|
||||
sprite_frames = SubResource("SpriteFrames_q44q4")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.581369
|
||||
Loading…
Add table
Add a link
Reference in a new issue