Simple, non 3d games - what to use??

This is a discussion on Simple, non 3d games - what to use?? within the Game Programming forums, part of the General Programming Boards category; Hullo all! Before deciding to learn c++ I used a simple but limited program called game maker. With this I ...

  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    6

    Smile Simple, non 3d games - what to use??

    Hullo all!
    Before deciding to learn c++ I used a simple but limited program called game maker. With this I got pretty far through making an RPG, and i would like to do the same in c++.
    I'm positive it's possible, but correct me if there's some anti-RPG aspect to c++
    The question is, how? Would i have to learn Open GL or Direct X? If so, which one should it be??
    Is it possible to write a game using only the windows API?? Would it be that much slower??
    Remember I only want to do 2D stuff, no 3d. . . 3d is evil. . .
    Thanx

    P.S these forums rule!! Proud to be a member

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,498
    > I'm positive it's possible, but correct me if there's some anti-RPG aspect to c++
    The curse is that you have to think about a lot more things for yourself.
    The blessing is that you CAN think about a lot more things for yourself.
    You're programming at a lower level, so if you don't like the way something is done, you have a lot more freedom to do something about it. With say gamemaker, you're stuck with it's way of doing things.

    > Is it possible to write a game using only the windows API?? Would it be that much slower??
    I've seen plenty of games with perfectly adequate performance using just windows API
    You might have to consider something else if you're continuously animating the whole display, but for static scenes/simple animation with say some text, I don't see a problem.

    > P.S these forums rule!! Proud to be a member
    Thanks - and welcome
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    How about a short general description of what you want your finished game to be?

  4. #4
    Banned
    Join Date
    Dec 2003
    Posts
    367
    Quote Originally Posted by born_a_trumpet
    P.S these forums rule!! Proud to be a member
    If internet hugs were possible, I'd give you one right now .

    RPG's? In C++? Yes, yes, yes! You can make RPG's very very nicely in C++. I've made a few demos myself.

    What kind of RPG are you wishing to make? Tile-based? Pseudo-3D? 3D Isometric? First person? The possiblilities are only limited to your creativity. A buddy of mine and I are making a 3D Isometric RPG with a RTS battle system. I've made a few tile engines, I've made a simplistic 3D engine that I was going to make a first person RPG with. If these terms are greek to you, look them up. Especially tile engines. Tile engines are fun and easy to make.

  5. #5
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    If you've already made one with the tool you mentioned, the number crunching and content is already done I'm sure. All you need to do is get it all to draw to screen really. If you can get away with windows GDI, go for it. I wouldn't recommend it, but it's up to you.

    This is all assuming you have programming experience and have used C++ before. If not, you've got a bit of work ahead of you.

  6. #6
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by born_a_trumpet
    Remember I only want to do 2D stuff, no 3d. . . 3d is evil. . .
    Since you only want to do 2D you might want to check out SDL. It is great if you want to focus more on learning C++ and less on having to handle graphics.

    Not to mention you'd have less trouble porting if you used it since it already exists for multiple platforms.

  7. #7
    Banned
    Join Date
    Dec 2003
    Posts
    367
    Isn't there a sticky thread or something that has a list of game dev libraries?

  8. #8
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I would strongly suggest you go to

    www.allegro.cc

    Allegro is an extremely simple to use "gaming" library. Perfect for RPG's in my opinion....

  9. #9
    Registered User
    Join Date
    Jun 2004
    Posts
    6
    Gamemaker was a great tool, but just like you said (Salem) it is very limited and also very, very slow.
    So Windows GDI (Which I just happened to read about) would be too slow for a full game??
    I would be redrawing every step, with prolly a lot of animation, depending on the map (and my level of experience )

    The finished game will (one day, hopefully) be just a modest, old school RPG, resembling the old snes days. I think it'd be great if these games could be revived on PC . If an open source engine was released there'd be hundreds of these games created!!

    Bludstayne!! I would love to see these demo's of yours! I'm planning just on a simple tile based engine - not isometric, that's too 3d I know the terms and would love to learn how to make a tile engine

    I'll check out those libraries. . . though I would rather write my own routines and stuff. . .
    Or am I getting it wrong?? Trying not to sound too inexperienced, what exactly do these libraries do?? Are they dll's, or headers?
    I really need to learn C++ specific aspect to programming. I can manage the maths and the RPG routines ok, but APIs and windows programming is hell!! :/

    Thanx for all the replys , soz for a slow reply on my behalf. . .

  10. #10
    Registered User
    Join Date
    Aug 2003
    Posts
    1,203
    both SDL and Allegro are graphic libraries. What they do is they let you do graphic (more or less advanced graphic) quite simply. You will still have to write the algos for damage and everything.

  11. #11
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    So Windows GDI (Which I just happened to read about) would be too slow for a full game??
    Windows GDI is horrendous for games, unless you're making tic tac toe, or scrabble, or something like that.

  12. #12
    Registered User
    Join Date
    Jun 2004
    Posts
    6
    Yes!! It all makes slightly more sense now!!
    I've checked both the websites. . . And have one last question which do you think would be the best and simplest lilbrary to use for 2d games??
    Or is that an over-asked question?

  13. #13
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    i would personally go for allegro its very easy to get up and running check this linky for a good allegro beginner
    Tutorial
    Woop?

  14. #14
    Registered User
    Join Date
    Jun 2004
    Posts
    6
    Thanx! That (and the games sticky) gives me enough to start on

  15. #15
    Registered User
    Join Date
    Nov 2003
    Posts
    168
    Thanks from me too, encouraged me to start C++ again
    -Felix
    Rots Soft
    If the facts don't fit the theory, change the facts.
    Albert Einstein (1879 - 1955)

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. When to start 3D Game Programming?
    By m3rk in forum Game Programming
    Replies: 42
    Last Post: 04-23-2009, 07:37 AM
  2. 3d graphics without API
    By h3ro in forum Game Programming
    Replies: 6
    Last Post: 05-31-2008, 11:51 AM
  3. A 3D Program for my 3D models...?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 08-19-2004, 10:04 AM
  4. 3D Engines
    By Peter_D3T in forum C++ Programming
    Replies: 5
    Last Post: 06-22-2002, 03:59 PM
  5. Please point to some really simple 3D tutorials
    By Tazar in forum Game Programming
    Replies: 6
    Last Post: 02-07-2002, 11:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21