SDL and best way of using rotating sprites

V

Vampyyrivaari

Hi,

I need to rotate sprite according movement so i have .bmp that has
images of sprite in different angles. What is the best and fastest way
to use it? Should i use it like animated sprite and choose right frame
for specific angle ? There are different methods to do this, but i
would like to know what is fastest :)


Thanks a lot.
 
J

Jim Langston

Hi,

I need to rotate sprite according movement so i have .bmp that has
images of sprite in different angles. What is the best and fastest way
to use it? Should i use it like animated sprite and choose right frame
for specific angle ? There are different methods to do this, but i
would like to know what is fastest :)

This question is better asked in an algorithm newsgroup since it really
doesn't relate to C++. You might want to try comp.games.development.design,
comp.games.development.programming.algorithms or
compo.games.development.programming.misc
 
V

Victor Bazarov

I need to rotate sprite according movement so i have .bmp that has
images of sprite in different angles. What is the best and fastest way
to use it? Should i use it like animated sprite and choose right frame
for specific angle ? There are different methods to do this, but i
would like to know what is fastest :)

Wrong newsgroup. Try comp.graphics.* hierarchy.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top