C Board  

Go Back   C Board > General Programming Boards > Game Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-26-2004, 11:38 PM   #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
born_a_trumpet is offline   Reply With Quote
Old 06-27-2004, 12:58 AM   #2
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,698
> 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.

Salem is offline   Reply With Quote
Old 06-27-2004, 07:59 AM   #3
Registered User
 
Join Date: Aug 2001
Posts: 411
How about a short general description of what you want your finished game to be?
__________________
www.EberKain.com
Eber Kain is offline   Reply With Quote
Old 06-27-2004, 05:01 PM   #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.
bludstayne is offline   Reply With Quote
Old 06-27-2004, 07:39 PM   #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.
skorman00 is offline   Reply With Quote
Old 06-27-2004, 11:10 PM   #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.
Frobozz is offline   Reply With Quote
Old 06-28-2004, 10:34 AM   #7
Banned
 
Join Date: Dec 2003
Posts: 367
Isn't there a sticky thread or something that has a list of game dev libraries?
bludstayne is offline   Reply With Quote
Old 07-01-2004, 11:26 PM   #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....
Vicious is offline   Reply With Quote
Old 07-04-2004, 01:33 AM   #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. . .
born_a_trumpet is offline   Reply With Quote
Old 07-04-2004, 01:37 AM   #10
Registered User
 
Join Date: Aug 2003
Posts: 782
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.
Shakti is offline   Reply With Quote
Old 07-04-2004, 01:39 AM   #11
vae victus!
 
skorman00's Avatar
 
Join Date: Nov 2003
Posts: 594
Quote:
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.
skorman00 is offline   Reply With Quote
Old 07-04-2004, 02:08 AM   #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?
born_a_trumpet is offline   Reply With Quote
Old 07-04-2004, 02:44 AM   #13
Sweet
 
Join Date: Aug 2002
Location: Tucson, Arizona
Posts: 1,698
i would personally go for allegro its very easy to get up and running check this linky for a good allegro beginner
Tutorial
__________________
Woop?
prog-bman is offline   Reply With Quote
Old 07-04-2004, 03:29 AM   #14
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanx! That (and the games sticky) gives me enough to start on
born_a_trumpet is offline   Reply With Quote
Old 07-04-2004, 01:09 PM   #15
Registered User
 
Join Date: Nov 2003
Posts: 168
Thanks from me too, encouraged me to start C++ again
__________________
-Felix
Rots Soft
Quote:
If the facts don't fit the theory, change the facts.
Albert Einstein (1879 - 1955)
Felix is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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