Dimensions for constructibles

This commit is contained in:
Rendo 2025-10-11 12:58:36 +05:00
commit 6f56fffb59
18 changed files with 135 additions and 25 deletions

View file

@ -1,10 +1,11 @@
[gd_scene load_steps=9 format=3 uid="uid://u7thalwj5742"]
[gd_scene load_steps=10 format=3 uid="uid://u7thalwj5742"]
[ext_resource type="PackedScene" uid="uid://b7du4vul4bmpq" path="res://scenes/player_platform.tscn" id="1_4ia00"]
[ext_resource type="Script" uid="uid://db37xmo8ygwhg" path="res://scripts/gui/construction_button.gd" id="2_27lod"]
[ext_resource type="Resource" uid="uid://dj524jjal1f0n" path="res://generic/constructibles/conveyor.tres" id="3_2crwe"]
[ext_resource type="Script" uid="uid://b4nkk0ndqcto" path="res://scripts/construction_placer.gd" id="4_i7yte"]
[ext_resource type="PackedScene" uid="uid://bac552xgua68e" path="res://scenes/other_platform.tscn" id="5_mnxrb"]
[ext_resource type="Resource" uid="uid://yn1iesx30nfu" path="res://generic/constructibles/dbg_assembler.tres" id="5_ymyc2"]
[sub_resource type="Animation" id="Animation_bq5r8"]
length = 0.001
@ -81,6 +82,24 @@ expand_icon = true
script = ExtResource("2_27lod")
constructible = ExtResource("3_2crwe")
[node name="AssemblerButton" type="Button" parent="GUI/Panel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.008
anchor_top = 0.086
anchor_right = 0.1
anchor_bottom = 0.88600004
offset_left = 50.904
offset_top = -0.01999998
offset_right = 50.8
offset_bottom = -0.020004272
size_flags_horizontal = 3
theme_type_variation = &"CRT"
icon_alignment = 1
expand_icon = true
script = ExtResource("2_27lod")
constructible = ExtResource("5_ymyc2")
[node name="Placer" type="Node2D" parent="."]
script = ExtResource("4_i7yte")