Hi guys, i'm trying to develop my first and simple videogame. I'm using SDL.NET (wrapper .NET of famous SDL) and c#.
I'm trying to rotate my sprite (my "car") when user press down array, up array .. I'm using something like
this.Surface = this.Surface.CreateRotatedSurface(90);
But it not work ! I've error on screen... :(
I know i can use something like
this.Surface = new Surface("my-sprite-right.png") // for right
or this.surface = new Surface("my-sprite-left.png") // for left
but i don't like that solution...
Does anyone know how to manage "rotation" of sprite ?
Thank you !