mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-05 21:34:49 -04:00
Couldn't think of a better title. Anyway, the current system is repeitive and redundent. While it works, it's not by means ideal. Because you have to manually write in a new condiation for every new clothing added. What makes it redundant is the fact that every clothing functions exactly the same. The only difference is in the layers it uses.
11 lines
286 B
Text
11 lines
286 B
Text
[gd_resource type="StyleBoxTexture" load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://sprites/ui/grey_panel.png" type="Texture" id=1]
|
|
|
|
[resource]
|
|
texture = ExtResource( 1 )
|
|
region_rect = Rect2( 0, 0, 100, 100 )
|
|
margin_left = 5.0
|
|
margin_right = 5.0
|
|
margin_top = 5.0
|
|
margin_bottom = 10.0
|