Dimensions for constructibles
This commit is contained in:
parent
d37c4ec858
commit
6f56fffb59
18 changed files with 135 additions and 25 deletions
16
scenes/debug_assembler.tscn
Normal file
16
scenes/debug_assembler.tscn
Normal file
|
@ -0,0 +1,16 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dfatkxv6n55dw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bbd7o2st8kmgl" path="res://scripts/construction.gd" id="1_k5y3y"]
|
||||
[ext_resource type="Texture2D" uid="uid://dinyjq8853usn" path="res://sprites/atlasses/Popekko.png" id="2_4befw"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xh4eg"]
|
||||
atlas = ExtResource("2_4befw")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[node name="DebugAssembler" type="Node2D"]
|
||||
script = ExtResource("1_k5y3y")
|
||||
dimensions = Rect2i(0, 0, 2, 2)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_xh4eg")
|
||||
offset = Vector2(8, 8)
|
Loading…
Add table
Add a link
Reference in a new issue