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!
4 replies to this topic
Ad:
#4 Members - Reputation: 517
Posted 22 July 2012 - 08:06 AM
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
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, 22 July 2012 - 08:09 AM.






