123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|398|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Rebuilding the Browsercade

Mon, 16 Jun 2025, 08:45
Jayenkai

Rebuilding the Browsercade


Today, I took a great big sledgehammer and walloped the Browsercade firmly and with intent.
*SMASH*

It's been AGES since I made a Browsercade game. Rollin' Rubber was back in May 2023, and in the world of AGameAWeek, that's a whole lifetime ago.
At some point, JSE got fast enough that I started building my arcadey style games in there, instead of bothering with Browsercade at all, and it all got left behind as a result.

So, today, I opened up the code and did the first thing that anyone else would do.
I replaced 90% of Browsercade's Engine.js code with JSE's Engine.js code.

Keep in mind that JSE is originally built from Browsercade, and that the JSE Engine.js code is originally a copy and paste from there, but everything from that point went in one direction, and one direction alone.
Everything, all the past few years of optimising and tweaking and fixing up..
It all went into JSE, and not back into Browsercade.

So, when I copied it back..
Well.. Here's a quick alignment test with a circle and some text centred on the screen.



Oh no.

... I have a lot to rebuild.
And, this is just a quick test. This isn't even "All the games".. Each of which is bound to have a myriad of stupid little alignment quirks and breaks, and all sorts.
This might take some time.

-=-=-
''Load, Next List!''
Mon, 16 Jun 2025, 09:19
Pixel_Outlaw
I would think you'd want functions though to help keep things modular with JSE.
Mon, 16 Jun 2025, 09:29
Jayenkai


Yeah, a whole big lump of drawing functions have now been copy+pasted (with SO many fixes!) back into Browsercade from JSE.
It's much more aligned now.
...
But that's just the alignment test.

I know in my heart that every single game in the Browsercade was coded with these old alignment quirks in mind, so I'm pretty much going to have to backtrack and fix every single one of them.
.. 60+ games.
Should be simple!

(And why is the background now flat black instead of the colour it was, earlier.. Uhoh!!)

-=-=-
''Load, Next List!''