Jump to content
  • Advertisement
Sign in to follow this  
taoufikallah

Pole Position like in C

This topic is 2218 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 need to know if I can do something like this with SDL or I need to use opengl.
My concern is the road, how do I make a road like this?



Thank you!

Share this post


Link to post
Share on other sites
Advertisement
The game was made with scaling sprites.
It is not 3d at all, but it seems to

SDL doesn't provide scaling functionality, but there is an aditional library like SDL_gfx for scaling sprites.

Share this post


Link to post
Share on other sites
I see, SDL_gfx, I already used some function of this library. can you point me where I can learn this scaling stuff, please?
Thank you :)

Share this post


Link to post
Share on other sites
Create you own examples and experiment with it.

For example, load an image, blit it, and scale it with gfx library using an user input.

Old tutorial:
http://aaroncox.net/.../sdlshapes.html

Documentation:
http://www.ferzkopp....html/files.html

I think you will need "rotozoom" in the gfx library for the scaling so:
Rotozoom documentation:
http://www.ferzkopp....otozoom_8h.html Edited by riverreal

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!