Forums

Rotating


Subscribe to Rotating 3 posts, 3 voices

 

Jul 4, 2008 11:03pm

C Sarge C Sarge 11 posts

I AM TRYING TO MAKE A GAME FOR THE NEW CO-OPERATION CONTEST,
BUT FOR SOME REASON WHEN I TRY TO ROTATE A OBJECT THE SPRITE WONT ROTATE.
THE OBJECT IT SELF WILL ROTATE BUT NOT THE SPRITE.
PLEASE SOME TELL ME HOW TO ROTATE THE SPRITE!

 

Jul 5, 2008 2:43am

Slammin Sam Slammin Sam 69 posts

Do you have a draw event? If so you will need to draw the sprite with "rot" image_angle. draw_sprite_ext is what you will need. Set the colour to c_white which means no color blending is used. Hope I helped

PM me if you need help with any Gamemaker.

 

Jul 5, 2008 8:15am

miner1666 miner1666 107 posts

i think slammin sam is right, use the draw_sprite_ext code in the draw event.
image_angle doenst always do the right thing

><><><><><><><><><><><><><
------------------------------
><><><><><><><><><><><><><
-------------------------------
><><><><><><><><><><><><><