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.
8 lines
350 B
Text
8 lines
350 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://scenes/clothing/baseClothing.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://scripts/undiesBase.gd" type="Script" id=2]
|
|
|
|
[node name="baseClothing" instance=ExtResource( 1 )]
|
|
script = ExtResource( 2 )
|
|
[connection signal="pressed" from="clothing" to="." method="_on_undies_pressed"]
|