[Oops! I introduced a bug where the top section was sharing the memory of the middle section. That has been fixed.]
Latest Version
Here's the .bin file to use with an emulator or Harmony cart:
random_maze_test_16x16x16_with_scroll_32x23_2011y_08m_21d_2001t.bin 32K
48 downloads----------------------------------------------------
I forgot to do it before, but I just remembered and added a little bit of memory so no section can display a piece twice in a row. For example, if piece 6 was the last middle piece used, piece 6 can't be displayed this time.
Here's the .bin file to use with an emulator or Harmony cart:
random_maze_test_with_scroll_32x23_2011y_08m_21d_0321t.bin 32K
26 downloads----------------------------------------------------
Below is an updated version using the scrolling technique posted by theloon instead of reading data. You can see a slowed down working example in this post.
The random-ish mazes in my original post were in 3 section and each section had 7 pieces that the program could randomly choose from. This version is similar, but I adjusted the look of a couple of the pieces and added one more piece to each of the 3 parts, so now each section has 8 pieces that the program can choose from.
Here's the .bin file to use with an emulator or Harmony cart:
random_maze_test_with_scroll_32x23_2011y_08m_20d_0820t.bin 32K
41 downloadsPlease let me know if you like it or hate it or find a mistake in the mazes. Once this is working properly, I'll use the mazes for the new version of Bloober and the Gnarl.
----------------------------------------------------
Original Post
Below is a test program that creates random-ish mazes. Press the Reset switch or the fire button to make a new maze.
Here's the .bin file to use with an emulator or Harmony cart:
random_maze_test_32x23_2011y_08m_18d_0830t.bin 32K
54 downloadsI created the mazes using Visual batari Basic's playfield editor, then converted the playfields to data using jrok's idea. It seems to waste more space and is clearly slower than using pfhline and pfvline, but converting the playfields to data is faster and easier (and you can see the shape of the playfields in the data).
If you get a chance, try it out and let me know if you think the mazes are good enough the way they are or if you think I should work on them some more.
Thanks.
Edited by Random Terrain, Sun Aug 21, 2011 7:49 PM.














