New games every week!
JSE GameHandler Blog
17th May 2024
I spent the majority of yesterday working on GameHandler.

-=-=-



For those who don't know how JSE works, there's a fun little command.

GameHandler will create a frontend for anything you throw at it. If you've ever played my JSE based games, with the scoreboard on the right, the menu on the left, and an otherwise bland tiled background, you'll probably be surprised to know that all of that happens within a single command.

GameHandler "Title of Game","Menu|Options|Here"

From there, you create a .StartGame....Return procedure alongside a .InGame...Return procedure.
StartGame is where you initialise the game, InGame is a single frame of your game.
Then GameHandler .. Handles the Game!

But it is incredibly bland, and it'd be nice if it looked a bit more..
umm..
What's the word.


"Circular"

"Circular" is going to be a third parameter in the GameHandler command. Alongside "Flat" for the old one, and "Calendar" for the calendar-based level select thing.
I'm also going to default things to the new Calendar menu, so if you run an old game using JSE, it'll pop up with the new Circular menu rather than the bland old one.

You might also notice a new Options button there. This is where the Sound and Music volume sliders hide.
Hurray!!! I finally added them somewhere!

I'll likely also add a Quit button to the menu, once I start doing Transpiler stuff, but for now.. Browsers don't really need those, do they!

I've still got a few things to tweak before I upload it to the server, though.
I'm not sure why the scoreboard font has grown as big as it has, and the options menu doesn't quite function properly yet.
I also could really do with optimising the Scrolly message code a bit better than it currently is. (It's very very not good!!)
I'd also like to add a few GameHandlerSetting commands, so you can control the colour scheme, which symbols get drawn, things like that.

But it's looking a heck of a lot better, already, IMHO.

Let me know your thoughts in the comments.


"Cartoon @Derek handles the game" by #ArtFlow.ai
Views 60, Upvotes 11  
Daily Blog , Jse , Gamehandler
New games every week!
Site credits : If you can see it, Jayenkai did it.
(c) Jayenkai 2023 and onwards, RSS feed 5

Blog - JSE GameHandler - AGameAWeek