New games every week!
JSE Tweaks Done
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..

You can see the new addition at 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 61, Upvotes 4  
Daily Blog , Jse
New games every week!
Site credits : If you can see it, Jayenkai did it.
(c) Jayenkai 2017 and onwards, site design Rychan. RSS feed
Blog - JSE Tweaks Done - AGameAWeek