RPG tutorial menu & blue box movement

This commit is contained in:
2021-01-02 20:22:59 -07:00
parent 332b38314e
commit b252ba12ee
6 changed files with 76 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
(defprop &mut :FlxButton playButton null)
(defmethod &override create []
(set playButton (new FlxButton 0 0 "Play" clickPlay))
(playButton.screenCenter)
(add playButton)
(return))
(defun clickPlay []
(FlxG.switchState (new PlayState)))