Game maker studio 2 sprite wont animate7/27/2023 ![]() ![]() That's exactly what the situation demands.įrom hereon, the trick is to calculate coordinates of each point correctly.įortunately, this is no complicated matter, and I already wrote a tutorial about this before. ![]() The built-in function isn't made for that, but, with a little bit of math and draw_sprite_pos, you can have a script for this.ĭraw_sprite_pos allows you to draw sprites with arbitrary affine transformations by providing coordinates of each corner of the sprite. This post is about a slightly fancier version of draw_sprite_ext - maybe you want to apply skewing/shearing to the sprite, or scale it after rotating it, or use a 2d matrix transformation. (click to interact) (mouseover/click to play GIF) Drag sliders and click things (if JS is enabled)
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |