mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-25 16:14:43 -04:00
Basic saving and loading
- You can finally save and load your different styles! - Brand new icons from Font Awesome! - The clear button was refreshed and replaced with the trash can. While I've never gotten complaints about the interface, this should prove to be less confusing. - Clear button moved next to save/load. - Introduced a basic indicator when loading and saving - Bumped version to 1.10
This commit is contained in:
parent
c846932fc8
commit
739692d970
44 changed files with 1093 additions and 313 deletions
22
scripts/autoload/character_base.gd
Normal file
22
scripts/autoload/character_base.gd
Normal file
|
@ -0,0 +1,22 @@
|
|||
# This project is licensed under the MPL license.
|
||||
# See the LICENSE file in the project root for more information.
|
||||
extends Node2D
|
||||
|
||||
onready var character = preload("res://resources/character.tres")
|
||||
onready var accessory = $Accessory
|
||||
onready var underwear = $Undies
|
||||
onready var bottom = $Bottom
|
||||
onready var top = $Top
|
||||
|
||||
func _process(delta):
|
||||
if character.accessory != null:
|
||||
accessory.texture = character.accessory
|
||||
|
||||
if character.underwear != null:
|
||||
underwear.texture = character.underwear
|
||||
|
||||
if character.bottom != null:
|
||||
bottom.texture = character.bottom
|
||||
|
||||
if character.top != null:
|
||||
top.texture = character.top
|
3
scripts/autoload/game_data.gd
Normal file
3
scripts/autoload/game_data.gd
Normal file
|
@ -0,0 +1,3 @@
|
|||
extends Node
|
||||
|
||||
var version = "0.0.0"
|
3
scripts/autoload/game_events.gd
Normal file
3
scripts/autoload/game_events.gd
Normal file
|
@ -0,0 +1,3 @@
|
|||
extends Node
|
||||
|
||||
signal indicate
|
Loading…
Add table
Add a link
Reference in a new issue