FBA The Creator
http://www.fbacreator.com/fbaforum/

Maze Maker - My first app with FBA Creator
http://www.fbacreator.com/fbaforum/viewtopic.php?f=10&t=123
Page 1 of 1

Author:  popsharma [ Mon Oct 20, 2008 12:54 pm ]
Post subject:  Maze Maker - My first app with FBA Creator

Hi,

this is the first time I have programmed with FBA creator, LUA and a PPC.
I'd like to thank you for the introduction to LUA and the brilliant FBA IDE. I had a lot of fun playing with it.
I'm really looking forward to writing something useful and seeing FBA improve further.

The 'game' I have written is just an experiment with tables, event handling and PPC screen handling.
It is a maze generator / solver for QVGA PPCs. I suspect it will make a mess of the screen on anything else.
I built the program using Normal screen orientation and determine the direction to draw after start, rather than building it for one way or the other. This added flexibility for me.

When you start it, it should draw the main play area in either portrait or landscape layout, depending on your handheld.
If you want to see the different behaviour on your PC, you switch from Normal to CW/CCW 90 in the FBA IDE build settings and run there or on an appropriate handheld (I have only one and it is landscape by default).

Tap New Maze to generate a new maze. Entrance at top-left. Exit at bottom-right.
Tap Solve Maze to watch the computer solve the maze.
Tap Play Maze and draw on the screen to trace a path through the maze, for fun.
Tap Bigger to make the maze area bigger. The default size is 9x9.
Tap Smaller to make the maze area smaller. The default size is 9x9.
Tap Finish to finish playing and exit.

The program is purposefully designed to generate and solve the maze slowly for visual effect.
I hope it useful to you.

Source code included. It was bigger than the 256K upload limit so I put it here:
http://cid-df91554428a1b01a.skydrive.li ... |_v1.0.zip

Have fun!

Author:  evilmaio [ Mon Oct 20, 2008 8:01 pm ]
Post subject:  Re: Maze Maker - My first app with FBA Creator

Thanks!
That's a very good tech demo, I hope to see it soon in a game or similar :)

Author:  Kitten [ Tue Oct 21, 2008 12:36 pm ]
Post subject:  Re: Maze Maker - My first app with FBA Creator

Nice and good program!

Author:  popsharma [ Fri Oct 24, 2008 12:03 am ]
Post subject:  Re: Maze Maker - My first app with FBA Creator

Thanks for the positive feedback guys.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/