Okay I have some enemies in my level (surprise). They use ball movment, and basically they bounce up and down and back and forth.
When they are on the screen they work just like they're supposed to.
However, if I put an enemy further in the level where it starts offscreen, it simply ignores events that tell it to bounce off the backdrop and falls out of the level.
I've messed with Object Properties but nothing works. It seems like this SHOULD be really simple. Any advice?
Why's there a star next to the Sig? What if I don't want a sig? This sucks.
Only calculating collisions onscreen (in small resolutions like 320*240/640*480 etc) is WAY faster than calculating collisions offscreen (often large areas as 4000*5000 or something).
Thats why ... Most of the time you really only need to calculate things onscreen. What happens offscreen should not matter. When the player moves away from enemies (they go offscreen) simply deactivate them (stop them) and activate them again when they come onscreen.
That dosen't work if your using interia, The objects x/y position
is still altered even when the inactive if far from window is on.
(This has killed my plans many times.)
Also, If you have timed shooting, the objects shoot when inactive, leaving
20-30 shots waiting for you when you approach a baddy.