Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

r0bbb

2d game

This topic is 5272 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 id like to create a pretty simple 2d strategy game. I have good java knowledge and decent c++ knowledge. I started learning opengl a while ago but had to stop due to coursework/work. im now getting back in to game programming but have realised opengl is not ideal for 2d, and java is gonna be a bit slow and hard to deploy. i was hoping you could suggest a better answer based on my knowledge. i know directx is probably the answer but i cant find any good 2d tutorials that are up to date, and dont use directdraw. thanks for any advice r0bbb

Share this post


Link to post
Share on other sites
Advertisement
Using the ortho mode is definitely one way to go, but to be honest, it if it truly 100% 2D, then OpenGL may be overkill. I''d suggest sticking with SDL (www.LibSDL.org) which makes for rapid and easy game development.

Share this post


Link to post
Share on other sites
yer i definately though that it was a bit much, and funnily enough started looking into sdl, and so far im very impressed!

cheers for all your help guys

Share this post


Link to post
Share on other sites
Yes SDL is incredible I used to use DirectDraw before I began using SDL the problem with SDL is there are not enough resources on it.

Share this post


Link to post
Share on other sites
quote:
Original post by QzarBaron
Yes SDL is incredible I used to use DirectDraw before I began using SDL the problem with SDL is there are not enough resources on it.


There are tons of SDL resources. There is even a book on it by GameDevs own TANSTAAFL (Focus on SDL). The documentation that comes with SDL is very helpful by itself (although incomplete if I read correctly?) but if you need more, the official SDL site has links to loads of helper libraries and ongoing projects even though I have to admit that the most recent articles tend to lean more towards the use of SDL and OpenGL in ortho mode. But that being neither here nor there, I will end my rant just by saying:
google for "SDL tutorial" returned - "Results 1 - 100 of about 20,600 English pages for sdl tutorial." If even 1% of those are helpful, that should be plenty for anyone.


Evillive2
E-Mail

Share this post


Link to post
Share on other sites
Properly done, Java can be used to create an interface similar to the SDL graphics system. I did it, and its not THAT slow. (Fun too )

--------------------------------------------------------
Life would be so much easier if we could just get the source code.

Share this post


Link to post
Share on other sites

  • 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!