Blaawee Posted June 22, 2013 Posted June 22, 2013 Hey guys, is there any way to rotate the dxImages in Z rotation? I tried the ' rotation ' argument but it's rotate in degrees.
bandi94 Posted June 22, 2013 Posted June 22, 2013 No it's not. You can olny rotate the image in 2D plane , not 3D.
50p Posted June 22, 2013 Posted June 22, 2013 @Blaawee, What do you mean rotate in Z? Like this? 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
Blaawee Posted June 22, 2013 Author Posted June 22, 2013 @Blaawee,What do you mean rotate in Z? Like this? 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 But i don't want it with .gif format. Maybe there's an other trick to do it.
PaiN^ Posted June 22, 2013 Posted June 22, 2013 .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).
Blaawee Posted June 22, 2013 Author Posted June 22, 2013 .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.
50p Posted June 22, 2013 Posted June 22, 2013 Share here how you solved it so others may find this in the future. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now