Blaawee Posted June 22, 2013 Share 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. Link to comment
bandi94 Posted June 22, 2013 Share Posted June 22, 2013 No it's not. You can olny rotate the image in 2D plane , not 3D. Link to comment
50p Posted June 22, 2013 Share 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 Link to comment
Blaawee Posted June 22, 2013 Author Share 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. Link to comment
PaiN^ Posted June 22, 2013 Share 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). Link to comment
Blaawee Posted June 22, 2013 Author Share 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. Link to comment
50p Posted June 22, 2013 Share Posted June 22, 2013 Share here how you solved it so others may find this in the future. Thanks. Link to comment
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