Jump to content

[ Question ] about dxDrawImage rotation


Blaawee

Recommended Posts

@Blaawee,

What do you mean rotate in Z?

Like this? coin.gif

You can simulate it by changing image's position and size. I'm not sure if drawing image with negative size values would flip the image horizontally/vertically. That's how you would animate sprites in Flash or gif (like the example here).

Or, you can create a sprite sheet of the rotation and use my SpriteAnim to play the animation

viewtopic.php?f=108&t=49179&p=560177

Link to comment
@Blaawee,

What do you mean rotate in Z?

Like this? coin.gif

You can simulate it by changing image's position and size. I'm not sure if drawing image with negative size values would flip the image horizontally/vertically. That's how you would animate sprites in Flash or gif (like the example here).

Or, you can create a sprite sheet of the rotation and use my SpriteAnim to play the animation

viewtopic.php?f=108&t=49179&p=560177

Yes like this coin.gif

But i don't want it with .gif format.

Maybe there's an other trick to do it.

Link to comment

.gif was his second opinion, read all his post :

You can simulate it by changing image's position and size. I'm not sure if drawing image with negative size values would flip the image horizontally/vertically. That's how you would animate sprites in Flash or gif (like the example here).
Link to comment
.gif was his second opinion, read all his post :
You can simulate it by changing image's position and size. I'm not sure if drawing image with negative size values would flip the image horizontally/vertically. That's how you would animate sprites in Flash or gif (like the example here).

Well, i'm not blind =)

You can simulate it by changing image's position and size. I'm not sure if drawing image with negative size values would flip the image horizontally/vertically. That's how you would animate sprites in Flash or gif (like the example here).

BTW, I tried that not working.

Edit : Nvm, Solved.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...