New games every week!
25-01-Adventure:11: Slow Builder Blog
11th January 2025
The generator for the JSE Dungeon game is a bit slow.

-=-=-



I mean, it's not "that" slow.
It takes 8 seconds to build a level of about 10x10 screens, but .. come on, though! I can do better than that, right?
That's currently the task that needs to be worked on, otherwise you'll be seeing an awful lot of the screen above.

Ingame, movement seems to be running smoothly enough, and though things can get a little teeny bit sluggish at times, I've already got ideas in mind to optimise those elements.

It's the level generator, though. That's where the biggest slowdown occurs.
The largest bottleneck is working out which rooms are interconnected, which requires tile-by-tile testing, and there's a lot of tiles in a 10x10 screen level.

I need to decide, then, do I reduce the complexity of the tile-scan, and deal with potential issues involving mis-scanned tiles.
.. or do I reduce the size of the dungeon, which would indeed help speed up the generator, but .. Is that worth doing?

I'm thinking a play through might actually help in that decision, so that means..
.. um, ADDING to the complexity of the level generator, to ensure it's a fun game, then playing through a few levels and deciding on the possibility of reducing the size.
Gosh, this isn't easy.

.. And most of the slowdown is JSE doing loops within loops, which it's still not 100% fast at doing.
Grrr..

That'll be today's continued work, then. Optimising can be fun, sometimes!
.. Sometimes.

A.I. Corner


Lyrics : By me
Sound Imported : Mathematical Board
Bonus Video : How I created Mathematical Board (5 years ago!!)

> Reveal 🔎

: Download | Suno Link

Alternative version
: Download | Suno Link
Sung by Suno


"Cartoon Derek seated at a large table, scribbling a layout for a board game's dungeon. (Dungeon Master)" by Replicate/Flux

> Reveal 🔎
Views 97, Upvotes 2  
Daily Blog , Jse
New games every week!
Site credits : Jayenkai put all his heart and soul into everything you can see on this site.
(c) Jayenkai 2023 and onwards, RSS feed 85

Blog - 25-01-Adventure:11: Slow Builder - AGameAWeek