Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Maze Game
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
vahnx




PostPosted: Fri Jan 06, 2012 4:37 pm   Post subject: Maze Game

This is a maze game I am currently working on. Use WSAD or the arrow keys.

Known bugs:
-Minor clipping against the wall is possible.
-If you add a new map you must delete your settings.ini or bad things can happen Twisted Evil
(If you do add a new map, it's best to just name it MAZE8.TXT or MAZEABC.TXT and keep it alphabetical the more maps you add, then manually enter the maze name and =0 into settings.ini to avoid corruption)
-Toggling into debug mode can corrupt settings.ini, I think it appends a space into the file you can manually remove to fix
-Extracting to a folder with other .TXT files can cause problems

To Do:
-Save high scores for new maps automatically
-Have AI test your maze to make sure it's possible to beat
-Possibly race with AI
-Fix bugs
-Implement mouse for movement

If it crashes, removing extra spaces at the end of settings.ini or just deleting settings.ini should fix it.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Edit: updated code attached in a post below



Maze.zip
 Description:

Download
 Filename:  Maze.zip
 Filesize:  342.88 KB
 Downloaded:  679 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
chipanpriest




PostPosted: Sat Jan 07, 2012 12:10 am   Post subject: RE:Maze Game

thats pretty sicks tbh
vahnx




PostPosted: Tue Jan 10, 2012 2:41 pm   Post subject: Re: Maze Game

Could mods make it so I can update the attachment in the first post please? For now I'll attach the most recent version to this post.
There's a bug if you enable borders due to my wall detection, I need to replace whatdotcolor with the border boundaries surrounded by the player at any given time.

-Added a close button
-Added the ability to change the maze wall and floor color



Maze.zip
 Description:

Download
 Filename:  Maze.zip
 Filesize:  335.75 KB
 Downloaded:  274 Time(s)

Tony




PostPosted: Tue Jan 10, 2012 6:03 pm   Post subject: RE:Maze Game

I edited in a mention that you have updates in this thread.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Colin




PostPosted: Sun Mar 04, 2012 1:13 am   Post subject: RE:Maze Game

Cool Maze Program. I like how you made the levels as separate files to make it expandable.

Oh, for your to do list, a really easy way to check if the maze is beatable is to use the colordotwhat and Draw.Fill commands. First draw the maze out on screen. Then simply perform a Draw fill from the start location of the maze with a unique color like red for example. Then use colordot what to see if the outer edge of the maze image is red. If it is it means that there is an exit and your maze is beatable. The Draw fill will do all the work for you in scouting every crack and crevice of your maze. If there is a way out... it will find it. Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: