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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top