1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-05 21:34:49 -04:00
dressupzack/scenes/wardrobe.tscn
Tony Bark 2bc37e1100 Advanced drag and drop
More precise drag and drop. Still has a few bugs, but most of the base is there.

- Removed translations.
- Cleaned up README
2023-12-07 21:45:26 -05:00

62 lines
1.6 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://crwoe1shep3qn"]
[ext_resource type="Script" path="res://scripts/clothing.gd" id="2_1si7t"]
[ext_resource type="Texture2D" uid="uid://405burxtvied" path="res://sprites/clothes/sweat_pants.svg" id="3_h6yd3"]
[node name="Wordrobe" type="TabContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Pants" type="TabBar" parent="."]
layout_mode = 2
[node name="PantsScroll" type="ScrollContainer" parent="Pants"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
[node name="PantsGrid" type="GridContainer" parent="Pants/PantsScroll"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 4
[node name="SweatPants" type="TextureRect" parent="Pants/PantsScroll/PantsGrid"]
layout_mode = 2
texture = ExtResource("3_h6yd3")
script = ExtResource("2_1si7t")
[node name="Shirts" type="TabBar" parent="."]
visible = false
layout_mode = 2
[node name="ShirtsScroll" type="ScrollContainer" parent="Shirts"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_top = 10.0
[node name="ShirtsGrid" type="GridContainer" parent="Shirts/ShirtsScroll"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 4
[node name="Accessoires" type="TabBar" parent="."]
visible = false
layout_mode = 2
[node name="AccsScroll" type="ScrollContainer" parent="Accessoires"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
[node name="AccsGrid" type="GridContainer" parent="Accessoires/AccsScroll"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 3