mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Graphics
This commit is contained in:
parent
92a82b05df
commit
37684c6f4f
26 changed files with 374 additions and 8 deletions
22
Scenes/Barrel.tscn
Normal file
22
Scenes/Barrel.tscn
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bj28qiai2x2ar"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d2f16ke8c7vwx" path="res://Sprites/Barrel.png" id="1_e66t6"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v7gy8"]
|
||||
atlas = ExtResource("1_e66t6")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Barrel" type="Area2D"]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_v7gy8")
|
||||
Loading…
Add table
Add a link
Reference in a new issue