Jump to content
  • Advertisement
Sign in to follow this  
Misa

C++ and OpenGL

This topic is 2240 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

I would like to start programming games,
I've been reading gamedev forums for a few days now and I have a few questions.

Is starting right from the beginning with an engine is the proper way ?
Do you have some books (or sites) to recommend about C++ and/or OpenGL for game programming ?
(any other book that might be useful to beginners are welcome too)

I'm looking to create something with C++ and OpenGL (due to it's portability).
I already have some programming skills with C/C++ and Java, I did desktop application programming and a bit of Minecraft modding but i don't have any game-specific programming skills.

I am looking to do some basic 2D RTS game (loading a map, handling units, moving, attack), I know that for the moment i don't have enough skills to start such a project and i'm aware of the amount of work it requires so I hope you'll enlighten me to get starting smile.png

thank you.
[size=1](I hope my english was understandable) Edited by Misa

Share this post


Link to post
Share on other sites
Advertisement
If you want to really make a game, start with an existing engine. If your goal is to play with OpenGL and C++ and probably never ship a real game (unless it's a really simple one), then go that way. That's my advice.

Share this post


Link to post
Share on other sites
Not even just a commercial game... but finishing any type of game at all. I strongly recommend using an existing engine to people when they are more interested in the game design and focusing on the gameplay, because the majority of people that decide to start from scratch never even come close to having something that resembles a working game.

Share this post


Link to post
Share on other sites
If you want to make games, starting with C++ and OpenGL is possibly the worst combination. It's akin to wanting to learn to fly starting out with a bunch of scrap metal and a four stroke engine. I'm not familiar with RTS engines so cannot recommend any (although a google search yields results) but regardless, if you want to go down the programming route you can sack off any ideas of starting with an RTS and and instead start off with something very simple like tic-tac-toe or a text-based hangman game. Keep it simple, keep it realistic. Even using an engine would be jumping the gun at this stage. Edited by GeneralQuery

Share this post


Link to post
Share on other sites
Even using an engine would be jumping the gun at this stage.


I don't agree with this. Using an engine, you can concentrate yourself on the actual gameplay instead of boilerplate code, low level APIs and stuff like that.

Share this post


Link to post
Share on other sites

[quote name='GeneralQuery' timestamp='1348690961' post='4984095']Even using an engine would be jumping the gun at this stage.


I don't agree with this. Using an engine, you can concentrate yourself on the actual gameplay instead of boilerplate code, low level APIs and stuff like that.
[/quote]
My point is that starting with no programming experience, an engine is certainly not a good place to start. Learn to program first, it's not like there's any Unity-style WYSIWYG engines for RTSs that I'm aware of.

Share this post


Link to post
Share on other sites
Well, I don't know what you've read, but if your concern is portability, you're making the wrong choice ;) But, OpenGL is still good, so -- The project you're trying to accomplish, Hard - Coded, Is not really feasible for someone who doesn't even know the whole language! You should do these things in this order (Or don't do them in this order, you can experiment ;)
1. Solidify your knowledge of C++ -- Learn the language First! If you don't know the actual language well, coding a game is almost impossible!
2. Try to make some games like tic tac toe, checkers, etc. in the console and try coding some object oriented simulations.
3. Learn a 2d library like SFML or SDL (I recommend and constantly use SFML, but it's your choice).
4. Make some 2d games. Start with pong or breakout, and move on to things like Tetris with advanced collision detection and physics.
5. Try OpenGl (But I warn you, it'll take a month to make a box, and you should probably go with some prebuilt engines at first.)
6. Continue on the path of game development! Edited by superman3275

Share this post


Link to post
Share on other sites
Just use Unity3D. You can achieve quite alot with it by just knowing some basic programming, it's really quick results and highly portable (android, iOs, windows, mac, etc)

Of course you can make any kind of game, such as an RTS, with it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!