mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-08 06:14:48 -04:00
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.
22 lines
528 B
GDScript
22 lines
528 B
GDScript
# Anthony Wilcox licenses this file to you under the GPL license.
|
|
# See the LICENSE file in the project root for more information.
|
|
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:
|
|
$Music.play()
|
|
else:
|
|
$Music.stop()
|