mirror of
https://github.com/tonytins/dressupzack
synced 2025-07-03 03:24:44 -04:00
Change clothes with if statements
Migrating over changing clothes from bindings over to if statements using is_pressed(). This should make it a lot more easier to maintaing because the bindings started to feel like overkill and cluttered up the code when they were only tasked to do one thing. - DJ shorts has been redone - Camera was renamed to CanonCam - Renamed ModernScn to GameScn - Removed RefRect
This commit is contained in:
parent
2ac38db54d
commit
023f6ec90e
9 changed files with 269 additions and 90 deletions
|
@ -12,6 +12,6 @@ func switch_scenes(new_mode):
|
|||
if new_mode == "classic":
|
||||
get_tree().change_scene("res://scn/ClassicScn.tscn")
|
||||
elif new_mode == "modern":
|
||||
get_tree().change_scene("res://scn/ModernScn.tscn")
|
||||
get_tree().change_scene("res://scn/GameScn.tscn")
|
||||
elif new_mode == "title":
|
||||
get_tree().change_scene("res://scn/TitleScn.tscn")
|
Loading…
Add table
Add a link
Reference in a new issue