Is it possible to significantly increase this limit, like at least double or quadruple it? Or would it require additional work and recompilation?
I was thinking it would be cool to have huge mazes.
As I looked for info on this I found this post from August 2006:
viewtopic.php?f=6&t=1133
Level playfield size limit of 128x128 tiles
Moderators: Flumminator, Zomis
-
- Posts: 11
- Joined: Wed Nov 18, 2020 8:24 pm
Re: Level playfield size limit of 128x128 tiles
It's technically possible, and it is really very quick and easy to do it: Just increase the numbers in the following two lines of code ...Is it possible to significantly increase this limit, like at least double or quadruple it? Or would it require additional work and recompilation?
Code: Select all
src/libgame/system.h:#define MAX_PLAYFIELD_WIDTH 128
src/libgame/system.h:#define MAX_PLAYFIELD_HEIGHT 128
I'm not so sure about this.I was thinking it would be cool to have huge mazes.
![Wink ;-)](./images/smilies/icon_wink.gif)
Something I wrote back then in that post:As I looked for info on this I found this post from August 2006: viewtopic.php?f=6&t=1133
I think this is still true.Although one reason for the 128x128 limitation was computation speed of the playfield, the main reason is that IMHO there is no real need for a bigger playfield, as larger levels are not necessarily better levels. If somebody disagrees here or has good use for larger levels than currently possible, let me know!
![Smile :-)](./images/smilies/icon_smile.gif)
-
- Posts: 11
- Joined: Wed Nov 18, 2020 8:24 pm
Re: Level playfield size limit of 128x128 tiles
That should be easy, thanks! ![Very Happy :D](./images/smilies/icon_biggrin.gif)
Maybe you're right about the size limit.
Is there a way to have a small overview map of the entire level (or significant) in the corner of the screen to see where you are located?
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Maybe you're right about the size limit.
Is there a way to have a small overview map of the entire level (or significant) in the corner of the screen to see where you are located?