Flip/Mirror events on Map?

● ARCHIVED · READ-ONLY
Started by Isabella Ava 10 posts View original ↗
  1. Hi guys, i wonder is there any way (except of editing with image editor)
    to flip (or mirror) an event's sprite on Map (RPGMV) ? (・□・;)
    Thanks guys
  2. It's simple. You need to find the event's sprite and then turn its scale.x to -1. You can find the sprites saved somewhere in $gameMap._spriteset. Not sure about the exact code, but will look it up once I get home in the worst case.
  3. Oh that's brilliant @Poryg ! I will check it = ) (but i don't remember if there is a scale property...)
  4. Actually i tried to change the scale property of events but somehow they didn't change at all? @Poryg
    It was SceneManager._scene._spriteset._characterSprites[3].scale.x = 2;
    However after run the script, the scalex property of that event haven't changed at all. = | Pls help
  5. SceneManager._scene._scene._spriteset._characterSprites[3].scale.set(-1,1)
  6. Thanks @Poryg but it just doens't work : | have you tested in your game?
  7. I accidentally put two ._scene in the code. Remove one and it will work.
  8. @Isabella Ava, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

  9. hi @Poryg i tested it in a new project and it worked : O something in my current project prevent it from working. Thank you very much = )
  10. Could be a plugin or something I guess :D