mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 22:53:47 +00:00
Mainframe
This commit is contained in:
parent
fc833ae300
commit
a13355be42
16 changed files with 369 additions and 13 deletions
59
Scenes/Props/MainFrame2.tscn
Normal file
59
Scenes/Props/MainFrame2.tscn
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://cke02i4e3bxld"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_ob786"]
|
||||
[ext_resource type="PackedScene" uid="uid://baye68t8ikn01" path="res://Scenes/Props/MainFrame2_Broken.tscn" id="2_o2ikx"]
|
||||
[ext_resource type="Texture2D" uid="uid://brpfyvd44r0ha" path="res://Sprites/Props/MainFrame2.png" id="2_y51ds"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ida3m"]
|
||||
atlas = ExtResource("2_y51ds")
|
||||
region = Rect2(0, 0, 8, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_iqtwx"]
|
||||
atlas = ExtResource("2_y51ds")
|
||||
region = Rect2(8, 0, 8, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_8ejte"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ida3m")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_iqtwx")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(6, 24)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vguns"]
|
||||
size = Vector2(6, 20)
|
||||
|
||||
[node name="Mainframe2" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_ob786")
|
||||
Health = 8.0
|
||||
ExplosionRadius = 0.0
|
||||
ExplosionDamage = 0.0
|
||||
DebrisScene = ExtResource("2_o2ikx")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_8ejte")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_0nhpj")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, -3)
|
||||
shape = SubResource("RectangleShape2D_vguns")
|
||||
Loading…
Add table
Add a link
Reference in a new issue