Results 1 to 9 of 9

Thread: Whats the best way to go about doing this in a Textbased Fighting Engine

  1. #1

    Thread Starter
    Registered User struntz's Avatar
    Join Date
    Aug 1999
    Location
    Brockway,Pa,USA
    Posts
    199

    Question

    Hello everyone!!


    My question is about how am i suppose to make this work, i just need simple things in my fighting engine, its all texted based....

    I need monsters, but where do i place them in memory? im using VB 6.0 by the way....

    and i need a place to show whats going on, like for instance, you have been hit by Lancer for 30 points(meaning u lost 30 health points)

    now where could i display this?

    and where do i place the monsters/weapons in memory?

    do i make a moduel?
    or what?

    IF u can post a small code to get me started i would be very thankfull!


    Thanks for yoru time


  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    I would always have it in the corner somewhere (Im guessing your whole screen isn't a textbox)...by the way, how do you make a text based fighting game?

    I would store it in a variable, and put that into a file if you ever close the game.

  3. #3
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Do you mean like in text-based MUDs? Where you just type 'kill chicken' or something and then you start getting beaten up by said chicken? (That's what always heppened to me anyway)

    Are there any graphics whatsoever, or just text, and once the fighting starts in there any user input about the fight, except for 'run away'?
    Harry.

    "From one thing, know ten thousand things."

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    sounds like you have to type fast...how does it understand every command? (imagining one loooooooong select case)

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    naah Steve, big select case would be plain stupid Maybe you use some kind of script engine

    I guess you can make ascii graphics with colors, that would rock for a text based game I don't like command lines too much, maybe you could have a list of commands instead to choose from..
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    So is it going to be like a mud?

    No offense but i don't really like MUDS, they take too long and are dumb

  7. #7
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    No offence but I think you smell and your taste in games sucks

    Sorry I just think it's funny when people say "no offense but..."

    I don't mean what I said btw, so no offense
    Harry.

    "From one thing, know ten thousand things."

  8. #8
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    no offence, hehe, usually you offend people, i've seen it many times and as soon as it starts with "no offence but.." then you probably get offended
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  9. #9
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Talking

    ok, well i think i better stop offending ppl then

    ok |>?

    goodbye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width