mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 23:43:47 +00:00
Colored boxes
This commit is contained in:
parent
62b0f88295
commit
877973d54d
25 changed files with 522 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://bgk7fgwiis425"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bgk7fgwiis425"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_flhlf"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpaobtgb3l4ft" path="res://Scenes/Props/Box_Red_Broken.tscn" id="2_baxfl"]
|
||||
|
|
@ -8,6 +8,21 @@
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qaqmh"]
|
||||
atlas = ExtResource("2_g1pum")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_mupuc"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qaqmh")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(12, 10)
|
||||
|
||||
|
|
@ -27,10 +42,11 @@ visible = false
|
|||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_g1pum")
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_mupuc")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
visible = false
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue