mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-25 16:14:43 -04:00
TextureButton is now the root scene
- Due to resize issues with the grid container, TextureButton is now the root for all wardrobe items - Brought back underwear, with the exception of the owo censor (for now) - Remove clothing buttons are tied to wardrobe - Game scene now properly references the wardrobe again
This commit is contained in:
parent
c7cf3c7986
commit
d3b5f1fc1c
14 changed files with 74 additions and 34 deletions
|
@ -5,4 +5,4 @@
|
|||
|
||||
[node name="accessoryBase" instance=ExtResource( 1 )]
|
||||
script = ExtResource( 2 )
|
||||
[connection signal="pressed" from="clothing" to="." method="_on_accessory_pressed"]
|
||||
[connection signal="pressed" from="." to="." method="_on_accessory_pressed"]
|
||||
|
|
|
@ -2,14 +2,13 @@
|
|||
|
||||
[ext_resource path="res://scripts/clothing/baseClothing.gd" type="Script" id=1]
|
||||
|
||||
[node name="baseClothing" type="Control"]
|
||||
[node name="baseClothing" type="TextureButton"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_right = -694.0
|
||||
margin_bottom = -488.0
|
||||
rect_min_size = Vector2( 106, 112 )
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="clothing" type="TextureButton" parent="."]
|
||||
rect_min_size = Vector2( 106, 112 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
|
7
scenes/clothing/briefs.tscn
Normal file
7
scenes/clothing/briefs.tscn
Normal file
|
@ -0,0 +1,7 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/clothes/briefs.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://scenes/clothing/undiesBase.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="briefs" instance=ExtResource( 2 )]
|
||||
texture_normal = ExtResource( 1 )
|
|
@ -4,6 +4,9 @@
|
|||
[ext_resource path="res://sprites/clothes/camera.png" type="Texture" id=2]
|
||||
|
||||
[node name="camera" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="clothing" parent="." index="0"]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
rect_min_size = Vector2( 0, 0 )
|
||||
texture_normal = ExtResource( 2 )
|
||||
|
|
12
scenes/clothing/fundosi.tscn
Normal file
12
scenes/clothing/fundosi.tscn
Normal file
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/clothes/fundosi.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://scenes/clothing/undiesBase.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="fundosi" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
rect_min_size = Vector2( 0, 0 )
|
||||
texture_normal = ExtResource( 1 )
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
[node name="baseClothing" instance=ExtResource( 1 )]
|
||||
script = ExtResource( 2 )
|
||||
[connection signal="pressed" from="clothing" to="." method="_on_undies_pressed"]
|
||||
[connection signal="pressed" from="." to="." method="_on_undies_pressed"]
|
||||
|
|
7
scenes/clothing/zBriefs.tscn
Normal file
7
scenes/clothing/zBriefs.tscn
Normal file
|
@ -0,0 +1,7 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/clothes/z_briefs.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://scenes/clothing/undiesBase.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="zBriefs" instance=ExtResource( 2 )]
|
||||
texture_normal = ExtResource( 1 )
|
Loading…
Add table
Add a link
Reference in a new issue