Sign in to follow this  

Pole Position like in C

This topic is 1975 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?

http://www.youtube.com/watch?v=3jQ-ckU8ohk&feature=related

Thank you!

Share this post


Link to post
Share on other sites
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
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:
[url="http://aaroncox.net/tutorials/2dtutorials/sdlshapes.html"]http://aaroncox.net/.../sdlshapes.html[/url]

Documentation:
[url="http://www.ferzkopp.net/Software/SDL_gfx-2.0/Docs/html/files.html"]http://www.ferzkopp....html/files.html[/url]

I think you will need "rotozoom" in the gfx library for the scaling so:
Rotozoom documentation:
[url="http://www.ferzkopp.net/Software/SDL_gfx-2.0/Docs/html/_s_d_l__rotozoom_8h.html"]http://www.ferzkopp....otozoom_8h.html[/url] Edited by riverreal

Share this post


Link to post
Share on other sites

This topic is 1975 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this