mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 04:53:48 +00:00
Mainframe
This commit is contained in:
parent
fc833ae300
commit
a13355be42
16 changed files with 369 additions and 13 deletions
60
Scenes/Props/MainFrame1.tscn
Normal file
60
Scenes/Props/MainFrame1.tscn
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://cqrkisw6jg24w"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_503tw"]
|
||||
[ext_resource type="Texture2D" uid="uid://dq8wg0n5q7b6b" path="res://Sprites/Props/MainFrame1.png" id="2_4mou8"]
|
||||
[ext_resource type="PackedScene" uid="uid://bxvsefskms5kj" path="res://Scenes/Props/MainFrame1_Broken.tscn" id="2_pr6n8"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5da8j"]
|
||||
atlas = ExtResource("2_4mou8")
|
||||
region = Rect2(0, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mli0e"]
|
||||
atlas = ExtResource("2_4mou8")
|
||||
region = Rect2(16, 0, 16, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_kpm16"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5da8j")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mli0e")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(14, 24)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vguns"]
|
||||
size = Vector2(13, 20)
|
||||
|
||||
[node name="Mainframe" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_503tw")
|
||||
Health = 8.0
|
||||
ExplosionRadius = 0.0
|
||||
ExplosionDamage = 0.0
|
||||
DebrisScene = ExtResource("2_pr6n8")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_kpm16")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.193815
|
||||
|
||||
[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.5, -3)
|
||||
shape = SubResource("RectangleShape2D_vguns")
|
||||
Loading…
Add table
Add a link
Reference in a new issue