roland p, on Wed Oct 15, 2008 6:06 AM, said:
Nice checkerboard-generator

It looks random enough for me.
It seems that some dots are always on and some dots are always off. Could it be modified so that dots are generated too?
There are some places where you can't have a wall. You end up with a dead end or a tiny loop with only one way in or out.
jrok, on Wed Oct 15, 2008 9:27 AM, said:
This is cool! It seems just random enough, with each maze being unique but navigatable. One thing that might be cool to add would be to use pfpixel to make an exit appear in a random postipn somewhere along one of the four external walls. Maybe when you pass though it, it could connect you to a new maze... just a thought.
I thought about opening a door similar to Lock 'N' Chase when you meet a certain goal, except the placement of the door would be semi-random.
jrok, on Wed Oct 15, 2008 1:12 PM, said:
You know, this demo brings to mind a question about scanline that's been haunting me lately. When I ran this demo in emulators while tracing scanlines, I noticed that whatever routine draws the random map causing the scanlines to leap suddenly, then return to 262 after the map has been drawn. I'm experiencing the same thing in my own project, when moving between screens. A couple of questions for anyone who can answer them:
1) Is this a problem - That is to say, if nothing in particular is going on your screen when the scanlines fluctuate, would it still cause problems on cartridge? For instance, I have a playfield drawing routine that operates when the player exits the left or right side of the screen. The frame that he exits on runs a DrawRoom subroutine that generates 340 scanlines, and the frame directly before the new pf appears generates only 16 scanlines. Then everything goes back to the constant 262.
2) If it IS a huge problem on cartridge, is there a way to minimize it (short of abandoning the subroutine, of course)?
Glad you mentioned that. I forgot to check. The maze is created in 4 steps, so I just put a drawscreen after each step for the following test demo that just keeps making nonstop mazes and that seems to return a constant 262:
demo_maze_constant_2008y_10m_15d_1324t.bin 8K
78 downloads