Hi guys!
so I noticed Mirror don't exist anymore in MV it's got fused with the zoom option...so it's now call
.scaleI do this thread for help the poor zale who are to much busy so I indicate the ways how it's work's
SO how it's work?
it's simple this option serve of stretch the sprite AND permit to flip but the way to flip a picture it's work more weirdly you have to do this:
sprite.scale.x = -1 // flip's horizontallysprite.scale.y = -1 // flip's verticallyso it's will flip the picture!
the problem is!
when you do this :
sprite.x = method_width() - 640;it's will do a weird glitch and put this in a big compact number who will make the sprite out of screen
I don't know why it's do that but for coping with that just do this instead :
sprite.x = value;so that's all!
PS : setting the anchor can help on positioning your sprite!
I hope people will find this useful c:
so I noticed Mirror don't exist anymore in MV it's got fused with the zoom option...so it's now call
.scaleI do this thread for help the poor zale who are to much busy so I indicate the ways how it's work's
SO how it's work?
it's simple this option serve of stretch the sprite AND permit to flip but the way to flip a picture it's work more weirdly you have to do this:
sprite.scale.x = -1 // flip's horizontallysprite.scale.y = -1 // flip's verticallyso it's will flip the picture!
the problem is!
when you do this :
sprite.x = method_width() - 640;it's will do a weird glitch and put this in a big compact number who will make the sprite out of screen
I don't know why it's do that but for coping with that just do this instead :
sprite.x = value;so that's all!
PS : setting the anchor can help on positioning your sprite!
I hope people will find this useful c: