mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-06 05:44:48 -04:00
Minor renaming
This commit is contained in:
parent
f29257dcc2
commit
c7cf3c7986
2 changed files with 3 additions and 14 deletions
|
@ -3,7 +3,7 @@
|
|||
[ext_resource path="res://scenes/clothing/accessoryBase.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://sprites/clothes/camera.png" type="Texture" id=2]
|
||||
|
||||
[node name="accessoryBase" instance=ExtResource( 1 )]
|
||||
[node name="camera" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="clothing" parent="." index="0"]
|
||||
texture_normal = ExtResource( 2 )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=24 format=2]
|
||||
[gd_scene load_steps=23 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/clothing/camera.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://sprites/clothes/jeans.svg" type="Texture" id=3]
|
||||
|
@ -23,16 +23,6 @@
|
|||
[ext_resource path="res://sprites/clothes/z_briefs.svg" type="Texture" id=22]
|
||||
[ext_resource path="res://sprites/clothes/fundosi.svg" type="Texture" id=23]
|
||||
|
||||
[sub_resource type="GDScript" id=1]
|
||||
script/source = "extends \"res://scripts/clothing/baseClothing.gd\"
|
||||
|
||||
onready var character = preload(\"res://resources/character.tres\")
|
||||
onready var clothing = $clothing
|
||||
|
||||
func _on_accessory_pressed():
|
||||
character.accessory = clothing.texture_normal
|
||||
"
|
||||
|
||||
[node name="Wordrobe" type="TabContainer"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -268,5 +258,4 @@ margin_right = 350.0
|
|||
size_flags_horizontal = 3
|
||||
columns = 3
|
||||
|
||||
[node name="accessoryBase" parent="Accessoires/AccsScroll/AccsGrid" instance=ExtResource( 1 )]
|
||||
script = SubResource( 1 )
|
||||
[node name="camera" parent="Accessoires/AccsScroll/AccsGrid" instance=ExtResource( 1 )]
|
Loading…
Add table
Reference in a new issue