Moving object off screen (solved)

Started by , Thu 08/06/2006 15:55:02

Previous topic - Next topic

enofr

Please forgive me, if this is a repost. I seem to remember it being explained before, but lost my bookmarks recently - and the search function isn't really giving me any luck.

I'm looking to achieve an effect of an object actually moving past the screen-edge (like a plane flying or a car driving), but having a hard time actually finding out how to do this. Anyone who can help?


strazer

Just specifiy coordinates outside the room edges and be sure to pass the eAnywhere parameter so the object disregards walkable areas (since outside the room there are none, obviously).
For example:
Code: ags

  oPlane.Move(-50, 100, 4, eBlock, eAnywhere); // move plane outside left room edge

enofr



SMF spam blocked by CleanTalk