hi again, guys
Do you know how to determine if a block moving around the screen is out of the current view - let say the block move from the screen centre to 9 o'clock (left hand side) then disappear out of view. Is there any shortest way to determine if the block is out of view ?? with the use of lisp or setvar or limits ??
I am trying to add a boss level to the game. The boss will shoot out balls at pacman. But how to determine if the balls are out of the current view ? if the balls are out of view then I will discard those balls to speed up the game.
I could write to check if balls is within screen view by using -
if balls insertion pt x is > bottom most left corner x AND insertion pt x is < top most right corner x ... and do the same for y axis
but it is too messy and long and it will very likely slow down the game since about 10 -15 small balls flying around the screen.
Thanks