so I was making an Isometric RPG
my problem is how do I make my sprite to go to the next layout
img825.imageshack.us/img825/3916/87559516.jpg
Easiest solution, put a invisible or visible sprite to the location where the end of your level is, if your character is overlapping the sprite, run the event to go to the next layout.
I'm new here could you make a step-by-step procedures?
Develop games in your browser. Powerful, performant & highly capable.
but it will appear in vertical center even if you go right on top of previous layout.
the more complex solution is to store your hero's y position in a global value and make something like this:
player.x > LayoutWidth - 20 set global value lastPlayerY to player.y go to layout "lay2"
and in the lay2 layout you should have:
on start of layout set player.Y to global value lastPlayerY set player.X to 20
I don't get it where do I put those codes?
In the cheat code section