CraterHater
Member
Hey,
I have got a problem. I am trying to draw part of a sprite using the draw_sprite_general function. However, I also want to use rotational values to be able to rotate my sprite. Here is the code:
This code works just fine if the rotation_value == 0 but if it is anything else (and therefor has been rotated) the effect does not hold up. Any ideas how I can incorporate rotation into drawing a partial sprite?
Thanks!
I have got a problem. I am trying to draw part of a sprite using the draw_sprite_general function. However, I also want to use rotational values to be able to rotate my sprite. Here is the code:
GML:
draw_sprite_general(sprite_index, image_index, 0, sprite_height-cycle_up_y, sprite_width, cycle_up_y, x, y+sprite_height-cycle_up_y, image_xscale, image_yscale, rotation_value, c_white, c_white, c_white, c_white, 0.95);
Thanks!