New games every week!
JSE Tweaks Done Blog
7th January 2022
Fixed the #Const bug!

-=-=-

Now when you create a Const, the parser scans for Whole Word matches, which makes it infinitely less rubbish!

That was a short and swift tweak.
The much longer and more complicated task was a complete redesign of the Debug system.
Now, instead of outputting everything to the browser's Console Log, I'm instead sending all debug messages to a brand new window, which appears at the bottom of the screen.
Toggle the FPS mode to bring up the window, and it'll stay there, debugging everything in a happy debuggingly way.

There's a couple of minor issues with this new method, most notably the fact that it's a pain in the arse to copy+paste from.
It also overlaps the very bottom of the editor, so I'll need to resize that a bit when the window's there.
It also manages to mess up the ScreenEffect function, because I forgot to add the screen resize maths onto that bit.

.. Really, there's a whole boatload of issues with the new method, if I'm honest. But it's certainly a lot cleaner, and you can also now see the debug output on mobile devices without access to the browser's Developer Tools, which is great.
.. I think..
Maybe!

You can see the new addition at GotoJSE.com. Simply click the FPS button and it'll pop up at the bottom of the screen.

Let me know what you think of the new Debug Window, and whether you have any suggestions for additional tweaks.
Views 84, Upvotes 14  
Daily Blog , Jse
New games every week!
Site credits : If you can see it, Jayenkai did it.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - JSE Tweaks Done - AGameAWeek