Latest Version
Here's the .bin file to use with an emulator or Harmony cart:
ex_maze_32x12_2011y_08m_02d_1337t.bin 16K
49 downloadsHere's the bB code:
ex_maze_32x12_2011y_08m_02d_1337t.bas 43.06K
36 downloads----------------------------------------------
Original Post
Below is the first draft of a maze example program that I'm working on for the bB page. You can move the Pac-Man style sprite around and you'll also see an enemy sprite that randomly moves around the maze. I didn't give the enemy any brains in this example program. It's stupid and can't hurt you at this time.
This started out as a 32 x 24 maze, but the scanline count kept going over 262 since there was a lot more pfread use. I had to drop back down to ugly town (32 x 12) for this example.
If anyone who is great at math wants to look at my code and make it better, please do so. There are probably a lot of ways to improve the code, so feel free to fix it up and post it here.
Here's the .bin file to use with an emulator or Harmony cart:
ex_maze_2011y_07m_31d_2108t.bin 16K
56 downloadsHere's the bB code:
ex_maze_2011y_07m_31d_2108t.bas 42.76K
55 downloads
Edited by Random Terrain, Sat Aug 6, 2011 9:15 PM.














