mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-26 08:34:43 -04:00
I christen this game a full fledged port
The static image of Zack in previous attempts at a standalone port served mostly as a placeholder because I haven't animanted a sprite with a general purpose game engine and it's designer since Game Maker 6. This was no different. But not anymore! The eyes are animanted now and soon the mouth will be too. I know that sounds small in the grand scheme of things but that pretty much means that the design of this is identical to the original Flash version. So I can say with confidence that this pretty much counts as a full fledged port of the original. I'm so glad I never gave up on figuring out how to bring this game to a wider audience in it's entirety. Think I'll be sticking with Godot for future games now.
This commit is contained in:
parent
f15145e5e5
commit
c91d91c14f
49 changed files with 737 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
extends Node2D
|
||||
extends Node
|
||||
|
||||
onready var shell = $Shell
|
||||
onready var cmdl = $Shell/RefRect/CmdLine
|
||||
|
@ -10,6 +10,8 @@ func _process(delta):
|
|||
cmd_interface()
|
||||
|
||||
func cmd_interface():
|
||||
var settingsBtn = $Interface/RefRect/VertContainer/SettingsBtn
|
||||
|
||||
if Input.is_action_pressed("ui_shell"):
|
||||
if cmdl.text == CLOSE_CMD:
|
||||
cmdl.text = ""
|
||||
|
@ -21,5 +23,9 @@ func cmd_interface():
|
|||
TranslationServer.set_locale("en")
|
||||
elif cmdl.text == "help"and Input.is_key_pressed(KEY_ENTER):
|
||||
cmdl_help.show()
|
||||
elif cmdl.text == "show settings" and Input.is_key_pressed(KEY_ENTER):
|
||||
settingsBtn.show()
|
||||
elif cmdl.text == "hide settings" and Input.is_key_pressed(KEY_ENTER):
|
||||
settingsBtn.hide()
|
||||
elif cmdl.text == CLOSE_CMD and Input.is_key_pressed(KEY_ENTER):
|
||||
shell.hide()
|
||||
|
|
|
@ -4,12 +4,16 @@ extends Control
|
|||
|
||||
onready var about_win = $AboutWin
|
||||
onready var credits_win = $CreditsWin
|
||||
onready var settings_win = $SettingsWin
|
||||
|
||||
func _on_AboutBtn_pressed():
|
||||
about_win.show()
|
||||
|
||||
func _on_CreditsBtn_pressed():
|
||||
credits_win.show()
|
||||
|
||||
func _on_SettingsBtn_pressed():
|
||||
settings_win.show()
|
||||
|
||||
func _on_MusicBtn_toggled(button_pressed):
|
||||
if button_pressed == true:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue