Thread: practice game

  1. #1
    lv.42 Berserker Drake's Avatar
    Join Date
    Jun 2005
    Posts
    67

    practice game

    Hey, right now I am making a text rpg using classes and pointers for hands on experience. I have got as far as making a tutorial on how to play the game and could not figure out how in the world I could use magic! This magic is going to act like the final fantasy magic system and i'm hoping I can do it with my current experience.

    Please give any helpful tips, tricks, or any helpful info

    pic of game(this is during tutorial and up to the do it yourself screen)

    http://cboard.cprogramming.com/attac...tid=6625&stc=1

    p.s. - Don't worry about the "Heal" off by itself, I just did that because I tried to make it easier for the player...and i'm kinda lazy right now

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    What do you mean? Maybe you could have a vector (C++) or array that holds the player's spells. Then you could call a specific function for each spell, and the function might prompt for a direction, or amount, or something.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    I think all you have to do is press m to use magic.


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    I vote Quzah to write the Prima Official Strategy Guide when this game is released.

    ...but to translate what he's saying to the OP, if you don't understand... what exactly don't you understand about using the magic?
    Sent from my iPadŽ

  5. #5
    lv.42 Berserker Drake's Avatar
    Join Date
    Jun 2005
    Posts
    67
    Quote Originally Posted by SlyMaelstrom
    I vote Quzah to write the Prima Official Strategy Guide when this game is released.
    That would be freakin sweet, but make sure you include the monster index in the very back and map in the front or else it wont sell...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 01:12 AM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM