Description

Allows you to create animations by joining different sprites, or re-order the animated sequence of that sprite, and instead of using the same speed for each frame as does "image_speed", allows to assign to each frame how long will be shown on screen, That way you can delete some images that are repeated in different sprites (or in any case in the same) and consequently you make more space in the "Texture Page" slightly reducing the amount of memory to use.

features

  • Create animations combining different sprites, taking each image individually
  • Assign different times to each frame
  • Stop the animation in a specific frame
  • Assign a loop in a given frame
  • etc...

Example:

create event

anim_init();

my_anim = anim_create();
anim_add_frame(my_anim, spr_my_sprite_0, 6, 1);
anim_add_frame(my_anim, spr_my_sprite_0, 3, 1);
anim_add_frame(my_anim, spr_my_sprite_3, 0, 4);
anim_add_frame(my_anim, spr_my_sprite_3, 1, 1);
anim_add_frame(my_anim, spr_my_sprite_0, 2, 2);
anim_add_frame(my_anim, spr_my_sprite_1, 3, 3);

step event

anim_play(my_anim,0);

game end event

anim_destroy(my_anim);

Check out my other assets: ABitten assets

End User Licence Agreement (EULA).

Changes in 1.0.1

  • Fixed "anim_play(anim, frame_index)" when given an invalid frame index.
  • Added "anim_frame_time()", gets the elapsed time of the current frame.

Version 1.0.1. Published April 27, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 21 September 2017

you saved me a lot of time thanks

i can do everything with this
stop velocities, frames, anims turn...etc...
It works perfectly on player states.
thank you


Gravatar

Anonymous 27 March 2017

Great asset

Been looking for a GM asset like this one to fine tune animations. Thanks ABitten

This review was left for a previous version of this asset.


Gravatar

Robert R 26 March 2017

Great solver!

Many times I have had to use my own state machines that clamp and find animations, this looks pretty neat as something to use instead of my usual method! :) Nice!

This review was left for a previous version of this asset.

Package contents

Total size 78.9 KB

What is the issue?

Back to Top