Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Xeda112358 on March 09, 2012, 09:53:10 am

Title: Maze Chase
Post by: Xeda112358 on March 09, 2012, 09:53:10 am
Update 9 March 2012: http://ourl.ca/15476/290273

This game is a classic maze game with a twist-- an enemy seeking you out through the maze. Currently, there is no code to handle being caught, but it still is a bit freaky when all of a sudden you see the enemy pop out of nowhere, easily navigating the maze to find you.

You can make a maze by drawing on Pic1 or using the built in editor. Step mode means you take one step at a time and so does the enemy. Personally, I find this excruciating. Action mode is much more fun :D Even if you aren't moving, the enemy still seeks you out. Mazes are 64x96, but only a portion is shown on the screen. If you are daring enough, you can open up the program and resize the tiles accordingly :D (smallest should be 3x3 and largest is 15x15). Anywho, feel free to ask questions and stuff! I still need to add more to it, but you can see how this could easily turn into an Advanced Wars level editor >.>

EDIT: Also, the enemy starts in the lower right corner, so if you have no path linking to that, you won't be chased. Also, press Clear to exit.
EDIT2: Er, I forgot to mention the editor controls:
[Enter] will draw a tile
[Del] will remove the tile
[2nd] will toggle the tile
Title: Re: Maze Chase
Post by: aeTIos on March 09, 2012, 10:10:51 am
It looks nice :D
Title: Re: Maze Chase
Post by: Xeda112358 on March 09, 2012, 10:12:14 am
Thanks :D I edited my first post just now with the editor controls. I think the idea is neat because it uses the pixels in Pic1 and each tile changes depending on the pixels around it :D
Title: Re: Maze Chase
Post by: Stefan Bauwens on March 09, 2012, 10:12:47 am
Wow this looks interesting.
Good luck with it.
Title: Re: Maze Chase
Post by: Xeda112358 on March 09, 2012, 10:20:16 am
Thanks :D For the curious, I want to make the AI for the enemy smarter by doing this:
When it has not changed position, I will use another buffer and it will plot a pixel where it got stuck so it will say "don't go here!" Once it has back tracked enough to find another path, those pixels will be cleared so that it can go back if it needs to. That way, you cannot just stay in a spot and hide out >:D
Title: Re: Maze Chase
Post by: Stefan Bauwens on March 09, 2012, 10:21:23 am
That sounds very cool. :D

EDIT:This is Grammer, right?
Title: Re: Maze Chase
Post by: Xeda112358 on March 09, 2012, 01:43:03 pm
Yes, it is indeed Grammer :) Also, I have now updated it to include:

Detection when you are caught
Display text when you win, lose, or exit
Returns back to the main menu
Resizing option for the tiles at the main menu

To resize, 8 makes the tile taller, 2 makes it shorter, 6 makes it wider, 4 makes it thinner.

Included here are the documentation and whatnot as well as the updated file.