Advertisement Jump to content
  • Advertisement

ARC inc

Member
  • Content Count

    249
  • Joined

  • Last visited

Community Reputation

100 Neutral

About ARC inc

  • Rank
    Member
  1. You could probably find all this stuff online for free. An all this information should be on the site, ordering form, etc. Look for FAQ on the website it should give this information.
  2. ARC inc

    [Updated][RPG Text Game]

    [updated]
  3. ARC inc

    RPG Battle System

    That worked thanks fellas, now on to the next step lol
  4. ARC inc

    RPG Battle System

    that worked thanks is this something to worry about 1>c:\documents and settings\computer\desktop\game\untitled_text_game\untitled_text_game\attack.h(38) : warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data It's just a warning but is there a way to get it to go away? Besides using time_t? That's the reason I had the srand as time_t
  5. ARC inc

    RPG Battle System

    It keeps on landing on rand 2 and no it does not change when I restart it.
  6. ARC inc

    RPG Battle System

    for some reason my rand keeps on landing on the same rand, and never changes any ideas? srand(time_t(NULL)); int hit_miss; hit_miss = rand() %4; if(hit_miss == 0) { c.dmg = c.str+1; m.health -=c.str; cout << "(rand 0) You do\n" << c.dmg << "Damage Leaving\n" << m.monster_name << "With\n" << m.health << "Health points\n"; } else if(hit_miss == 1) { c.dmg = c.str+1; m.health -=c.str; cout << "(rand 1)You do\n" << c.dmg << "Damage Leaving\n" << m.monster_name << "With\n" << m.health << "Health points\n"; } else if(hit_miss == 2) { c.dmg = c.str*2; m.health -=c.str; cout << "(rand 2)You do\n" << c.dmg << "Damage Leaving\n" << m.monster_name << "With\n" << m.health << "Health points\n"; } else if(hit_miss == 3) { c.dmg = 0; cout << "(rand 3)You miss\n"; }
  7. if you've never made a game before I'd start off with just a non-networked game then move slowly into networking part of the game.
  8. ARC inc

    SDL Question

    Is it possible to get user input from SDL using the keyboard? Like a edit control box? I know we can use mouse input and write text to the screen but how can we get user input using SDL
  9. ARC inc

    RPG Battle System

    yeah i tried that still didn't get me what i needed
  10. ARC inc

    RPG Battle System

    Sorry fellas didn't work I did get the monster to do damage an it's giving me weird amount of damage an def not showing up so I am thinking I did something wrong with code somewhere along the line idk though
  11. ARC inc

    Do you guys use patterns?

    Every programmer uses some form of patterns whether or not they know it you can sometimes tell who has programed a line of code how it is set up most programmers have a signature pattern I think it's more along the lines of what they know an how well they know it.
  12. ARC inc

    Game Designer Scripting

    Are you interested in how to roll your own or how to use one that is already built around for games, software etc? I've heard Lua is the one to learn most of the major companies use it. I say learn that then also for the mere knowledge learn how to make your own so then you have more to offer these companies.
  13. ARC inc

    RPG Battle System

    here is my battle system but it always says that my player does 0 damage etc. int x; x = rand() %5; if(x == 0) { c.str = c.dmg + 1; m.health -= c.dmg; cout << "Your attack deals\n" << c.dmg << "Damage\n"; } if(x == 1) { c.str = c.dmg - 1; m.health -= c.dmg; cout << "Your attack deals\n" << c.dmg << "Damage\n"; } if(x == 2) { c.str = c.dmg / 2; m.health -= c.dmg; cout << "Your attack deals\n" << c.dmg << "Damage\n"; } if(x == 3) { c.str = c.dmg * 3; m.health -= c.dmg; cout << "Your attack deals\n" << c.dmg << "Damage\n"; } if(x == 4) { c.dmg = 0; cout << "Monster Blocked your attack!\n"; } if(m.health <=0) { cout << "You killed the monster!!\n"; } else { cout << "Leaving the monster with\n" << m.health << "Health Points\n" << m.monster_name << "Will now attack you!\n"; int y; y = rand() % 5; if (y == 0) { m.str = m.dmg; } else if (y == 1) { m.str = m.dmg - 1; } else if (y == 2) { m.str = m.dmg + 1; } else if (y == 3) { m.str = m.dmg*2; } else if (y == 4) { m.dmg = 0; cout << "Miss\n" << endl; } c.health = c.health - m.dmg; if(c.health <0) { cout << "Game Over\n"; } } monster_load.close(); load_account.close(); it also never lets the monster attack, it just skips over that part. Any ideas?
  14. ARC inc

    2D Level Loading and Storing

    I'd use a format like this Map_name size of map(x and y dimensions) Layer Position Image 001 0x0 "./gfx/tile.bmp" 001 0x1 "./gfx/tile.bmp" That is how I'd do it simple, and easy to understand
  15. Anyone know where I can find a decent RPG Battle system that I can take a look at to improve mine? Because mine doesn't work properly this should be in C++
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!