F
Freedom2Fight
Guest
...using draw_sprite_ext. When the player object gets hurt - that sort of shake.
I have a couple of ideas on how to do this but I need some help.
I'm thinking of assigning x and y with variable like shake or wooble. Then I'll write something in the step event that will change the values of shake. I'm thinking of using random functions but I'd prefer it not to be random.
Any help would be appreciated.
I have a couple of ideas on how to do this but I need some help.
Code:
draw_sprite_ext( sprite, subimg, x, y, xscale, yscale, rot, colour, alpha );
Any help would be appreciated.