My Maze Game
Hey everyone! I've just finished my first version of a maze game I created. It's fairly straight-forward; you try to get to the exit without being killed by the little monsters. I got the idea off Gametutorials.com and expanded upon it. It also comes with a Maze Creator to make things a little more fun. The editor uses the mouse, and the main game uses the keyboard.
The only thing is, it must be copied to the C drive. This is because the game searches for mazes under "C:\Maze2\Mazes\". I'm going to probably add something where you can put the path of the folder into a file so that it can be installed elsewhere, but for now, it's gonna have to go to C.
Any feedback, comments, suggestions, etc are welcome. I may also add a 2-player option, but I don't know yet. I hope you enjoy it!
 The game is down a few posts; I had to re-post it and I was going to do it here but I accidentally deleted it and yeah :) [/edit]
DUDE ITS LIKE DIABLO 3!!! KICK ASS RPG TOP-DOWN MAZE WITH 3D MONSTERS AND SPECIAL EFFECTS RIPPED FROM ENTER THE MATRIX!!! :):):):):):)
well, not exactly. but its the next best thing!
I liked the smoth game play but the monsters are too dumb. AI mabye? Open the mazes in notepad to edit them. :p I like the picture of the guy! please change the dir path though. :rolleyes:
Hehe yeah I'm thinking of AI. And I know you can edit the mazes in Notepad, but I found it easier with the editor because...well because you can use the mouse and all, you don't have to type it all in. I'll work on AI a bit though. Glad you liked it :)
Sorry to say.. but your thing doesn't load properly..
i selected random maze and nothing happend... yes.. nothing...
just blinking cursor
then i selected load... and then arena..... -1 didnt work..
1..2...3..4 didn't work... 0 gave a weird characters...
I am using Win 2000
Ok I'm working on my directory changing thing here...(the way I'm doing it is the path is in a .ini file and it reads it from there), and I've encountered a problem. How can I get my program to store the path in a string? Like I know it sounds kinda simple, andI've got it sort of working, but everytime I save a maze it puts these weird symbols in front of the name. I'm using ifstream to load the name. Any help?
MW, you need to extract it to your C:/C:/ directory. HP (not the one from hogwarts :p) is working on directory changing but untill then.... lol. :)
HP, I cant really help you. Im not the best at that. Cant you just save the directory to a txt file then read it and load with the
DIR_VAR + MAP_VAR + EXT_VAR? :confused:
Alright, you can now place it anywhere you'd like. Here's what you've got to do. In the folder where you find the game (and the same with the Maze Creator), there's a file called "directory.ini". At the moment, the path is set to "C:\\Maze2\\Mazes\\". You'll need to change this to where ever you put the folder. Like if you wanted it under Program Files, you'd change both ini files to say "C:(or D, if you want...or Q...)\\Program Files\\Maze2\\Mazes\\". Don't forget the double-backslashes and don't forget to add the last two backslashses. The path can be up to 80 characters. Hope that helps! Sorry it's kind of a pain to do, but at least it works.