Computer Science Canada
Maze Generator 2004! Cool Stuff!
|Author:||the_short1 [ Wed Jul 07, 2004 10:37 pm ]|
|Post subject:||Maze Generator 2004! Cool Stuff!|
was thinking ... if my pacman game had more levels... would be MUCH better..
well... i started coding this for that reason..
and because im planing on making a Maze Game.... *try to excape without getting lost (u cant see the whole map)
and i needed some mazes.
anywas... THANKS TO DELTA! since he made Pic2Code the BEST paint program.... well i was using it.. and thinking ... MAN this sucks not having it SNAP to grid.... and that makes it look like shit when making a maze... and it takes to long to hardcode..
so .... VOILA!
simply click for first point... second click second point..
right click to fill..
srry no undo... if someone wants to... go ahead and add it..
but post it here afta..
very good clicking system! foolproof i belive!
-Can Pick Wall Colors
-Has Grid Dots (Wont Apear In Generated Code)
-Can Fill In Area
-Snap To Grid
-Can Pick Small or Big Wall Spacing
-Saves All Actions Automatically..
-Makes Dot At Starting Location
-Can Do Ortho Mode (Uncomment 2 lines of code near bottom) meaning.. it limits lines to straight up and down..and left and right..
-Good Clicking Sytem, not alowing u to click twice in wrong area.. or holding mouse button down..
-Output File Has Date And Time so u dont overwrite ur masterpeice by rerunning program * Delta... maybe u should add that... since i kidna rewrote over a previous work of art when i reran ur program...
yea.. i posted it here instead of .exe so ppl can do ortho.. and so ppl can mod as they need to suite their needs..
anyways... fell free to mod it to suite ur maze needs.. just repost so the rest can enjoy it!.. just make sure my name is in there for Original creator..
|Author:||the_short1 [ Wed Jul 07, 2004 10:41 pm ]|
also... almost forgot.
the output file is CLEANly made... meaning.. no doubling lines.. like... if u draw a line once.. it wont write to file ten times... this is due to good clicking system..
|Author:||Andy [ Wed Jul 07, 2004 11:21 pm ]|
you should make it so that u drag the mouse instead of click
|Author:||Delos [ Thu Jul 08, 2004 9:08 am ]|
Not bad...not bad...
Though the name is a bit misleading. This isn't really a 'generator' per se. One would expect such a programme to create a maze by itself...not allow you to draw lines on a snap to grid...
Hmm...I remember such a programme once circulating...can't remember who made it...azn I think?
Do look forward to this 'Maze Game' you speak of.
|Author:||Mazer [ Thu Jul 08, 2004 9:38 am ]|
I think it was bugzpodder and Darkness. Meaning, I think it was bugzpodder.
|Author:||the_short1 [ Thu Jul 08, 2004 11:39 am ]|
yea... the draging was on my mind... but then it would be buggy like a sonavabitch...
the click click method is maybe a little tiem consuming... but u wont click wrong.. since u dont have undo at ur disposal (yet)
should i add a ortho on off option?
yea... i saw an ISO maze generator.. but it was really confusing to use.. and wasn't quick and easy..
thx... will try to finish maze program soon...
|Author:||Andy [ Thu Jul 08, 2004 2:03 pm ]|
dont bother with undo.. just put on erase.. u noe make maze with left click, erase with right
|Author:||the_short1 [ Thu Jul 08, 2004 5:25 pm ]|
"right click to fill.. "
that and if u undo... u would have to redraw the yellow grid dots...
meh.... its easy enuf to just continue on afta u make a mistake... then simply edit the turing file later... *just do a pointless drawfill like 3 times in a row rite afta so u can find the messed up line easier..
The Maze Game soon to be done! its the first real GAME i made that is only 75 lines of code.. * i know its cool to have them under 50... but not that good yet... * not counting the seperate mazes.tu file ...
so should be done by tonite... just have to draw out 3 more mazes..