Anything above 1 will run faster than normal and may end up skipping frames entirely. Anything between 0 and 1 will play at a slower speed than normal. 1 is the "normal" speed which is 1 frame for every step. Image_speed - This is how quickly the animation of an objects sprite will play. You can use it to do things like reseting an animation to the start or checking it to time things occuring like having a footstep sound play at exactly the frame when the foot contacts the ground or so. Image_index - This lets you get or set the current frame of animation for the sprite the object is using. For example, with your insect game you could have an animation for flying and one for walking and switch between them. Animation 9.99 USD 4.99 USD BeTween Animation 1.99 USD Realistic Ex. It can be handy for things like if you wanted to switch from one animation to another. Latest Studio 2 Studio 2.3 Animation AESnips - A. Sprite_index - This lets you get or set the sprite an object is using. If the sprite is animated, then you can get the current frame of the animation by checking the image. Some functions that would be relevant to sprites and animations that you may want to look into. A sprite is made up of one or more sub-images which can make the sprite appear animated as they switch from one to the other, or can they can be switched between in code to give different 'states', much like a button has in windows. ![]() Especially when working with any functions you aren't familiar with. Whenever you have an issue be sure to check out that manual (F1) first. ![]() ![]() The Gamemaker documention is very handy and makes a great reference. Just some further info that may help you along since you're just starting out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |