[FEATURE REQUEST] getTileVisibility or getTileInViewport()
Posted: 03 Oct 2010, 00:47
hey guys -- another request.
Unless I'm not seeing it, there doesn't seem to be any easy way to determine whether an inventory item or avatar is currently within the viewport.
Suggested methods:
or:
To give you a use-case for something like this, perhaps I'd like to have a particular avatar (NPC) walk on-screen to "say" something.
Perhaps a:
would be nice too 
Unless I'm not seeing it, there doesn't seem to be any easy way to determine whether an inventory item or avatar is currently within the viewport.
Suggested methods:
Code: Select all
OpenSpace.getTileVisibility(tile:Tile):Boolean;Code: Select all
OpenSpace.getTileIsInViewport(tile:Tile):Boolean;Perhaps a:
Code: Select all
OpenSpace.getAllTilesInViewport():Array