Thread: ASCII dungeon template

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    196

    ASCII dungeon template

    im currently designing my rpg engine.. just to see what i can do. im currently at the point where i would like to implement a visual dungeon. im thinking of making a text file with the design

    text file::
    Code:
    |===============|
    |               |
    |               |
    |               |
    |               |
    |               |
    |===============|
    int the DrawMap function it looks for the folder where the text files are located and picks the most logical map ie map1a map2b

    everyline in the text file is converted to an array and represented on the screen. i have this much working. mostly. but movement is a problem. a serious problem. im having troubles figuring out how to make it so the user cannot move out of boundarys or an event occurs etc etc. can anyone help with this problem
    Last edited by Salem; 11-09-2007 at 07:22 AM. Reason: Code tags preserve the whitespace

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Specialising a member function with a template template parameter
    By the4thamigo_uk in forum C++ Programming
    Replies: 10
    Last Post: 10-12-2007, 04:37 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. error: template with C linkage
    By michaels-r in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2006, 08:11 AM
  4. Class Template Trouble
    By pliang in forum C++ Programming
    Replies: 4
    Last Post: 04-21-2005, 04:15 AM
  5. oh me oh my hash maps up the wazoo
    By DarkDays in forum C++ Programming
    Replies: 5
    Last Post: 11-30-2001, 12:54 PM