change the sprite, but not the event coordinates mid-game

● ARCHIVED · READ-ONLY
Started by Monkey BizNiz 2 posts View original ↗
  1. Hey guys,

    Im currently working on a system where, if an event walks over another event, the events move slightly to the side.

    Ive currently tried this by changing the x or y coordinates by 0.3, but i believe it would be more efficient if i could actually just move the sprite slightly instead of the actual event.

    Ive looked into rpg_sprites and found: this.anchor.x, and this.anchor.y. But now i got to find a way to actually adjust this value mid-game for the specific events to which i wish to adjust this, and i've no idea how as i cant find a event sprite array.

    Anyone know how i can change the sprite coordinates mid game, or any other alternatives?
    Thanks in advance!
  2. [move]Learning Javascript[/move]

    EDIT
    [mod]This is a duplicate thread, I am, therefore, closing it.[/mod]