mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 20:53:48 +00:00
Colored boxes
This commit is contained in:
parent
62b0f88295
commit
877973d54d
25 changed files with 522 additions and 18 deletions
|
|
@ -1,11 +1,26 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dpaobtgb3l4ft"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dpaobtgb3l4ft"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_bmfxn"]
|
||||
[ext_resource type="Texture2D" uid="uid://cs07w6ekvoyog" path="res://Sprites/Box_Red_Broken.png" id="2_j8sot"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1djpk8lbgjfe" path="res://Sprites/Box_Red.png" id="2_1sh2o"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_na3j0"]
|
||||
atlas = ExtResource("2_1sh2o")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_xd17l"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_na3j0")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
|
|
@ -23,8 +38,8 @@ visible = false
|
|||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_j8sot")
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_xd17l")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue