Thread: My Maze Game

  1. #1
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124

    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!

    [edit] 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]
    Last edited by harryP; 07-26-2003 at 05:39 PM.
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    27

    WOW!

    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. I like the picture of the guy! please change the dir path though.

  3. #3
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124
    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

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  4. #4
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282
    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

  5. #5
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124
    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?

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  6. #6
    Registered User
    Join Date
    Jul 2003
    Posts
    27

    Smile ok...

    MW, you need to extract it to your C:/C:/ directory. HP (not the one from hogwarts ) 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?

  7. #7
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124

    Fixed :)

    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 "Cor 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.

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  2. C# - Building a SCUMM-like game.. questions
    By Iyouboushi in forum Game Programming
    Replies: 0
    Last Post: 05-24-2008, 10:54 PM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM
  5. Maze game, complete with maze editor and an example maze!
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-20-2002, 03:27 AM