1

Topic: [QUESTION] Sprite rotation/screen scaling?

I understand that SDL was used, seeing as the dll file is included with the program...

But how do you rotate sprites and have sprites scale with the screen? SDL has nothing like this alone, and the one sprite rotation library I did find only offers the (extremely slow) method of surface-copying. But the weapons and grappling hook seem to work at any angle feasible!

So I'm curious. Is this actually 3D rendered flat, or some rather nice game engine I don't know about? How did you get this to work?

2 (edited by void 2010-03-04 09:52:16)

Re: [QUESTION] Sprite rotation/screen scaling?

Yes it is 3D rendered "flat". We use SDL to create an OpenGL window, and then uses OpenGL far drawing (actually, a 3D API is quite suitable for 2D stuff, you just skip some depth information and draw stuff with a orthographic projection).

Languages shapes the way we think, or don't.