Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines


Is it possible to change x and y origin point of morph_draw_sprite()?

i tried morph_draw_sprite_ext(),morph_translation(),morph_create()

but nothing seems to work...

image_angle will rotate at top left.

rotation inside morph_draw_sprite_ext() will rotate from top left


Origin stays at top left.

even in the provided Demo MORPH.yyz.

the origin is done using the regular sprite editor's origin property (just like how you normally set up the origin of your sprites in GM) since my script creates the buffer using that sprites property at beginning. The morph_translation mostly works for calling right before the morph_create().