Jump to content
  • Advertisement
Sign in to follow this  
massive-war

Does SDL need OpenGL and/or DirectX to look good?

This topic is 4808 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

I've done some tiling stuff with SDL, and it doesn't really go that smooth. Will another API fix that, or accompany that? I'm working on 2d games (like zelda and stuff), and I want a scrolling background. Any ideas to get a smooth transaction? Thanks, Massive-war

Share this post


Link to post
Share on other sites
Advertisement
You can do scrolling without OpenGL, hell I made a tutorial on how to do it.
Lazy Foo's SDL tutorials

But it is pretty much known if you plan to anything really serious you use OpenGL for your rendering.

But I don't recommend jumping right into OpenGL. Learn the basics of making games using SDL's rendering. There is a lot done for you in SDL's rendering.

[Edited by - Lazy Foo on August 9, 2007 7:14:01 PM]

Share this post


Link to post
Share on other sites
SDL is great and you can get a lot of nice effects done with it. Take a look at this example of a scrolling background used in a game from Cone3D. It goes nice and smooth and looks great.

/shameless plug
Take a look at these screenshots from the GUI system I'm working on. Those are from using just SDL_FillRect and SDL_SetAlpha. They look pretty real though, right? It just goes to show, you can do a lot of great stuff in SDL, it's just a matter of time to get it how you want it to look.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
SDL is good for making a window and polling input but for graphics I'd reccomend OpenGL.

Share this post


Link to post
Share on other sites
Well here's a great example of an awesome game that uses SDL for graphics rendering:

Battle for Wesnoth Screenshots



My project initially used SDL for graphics, but we soon decided to switch to OpenGL because of all the additional functionality and performance it provides. [smile]

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!