hello lol cud sum1 pls help with this problem i hav
Okay, I'm not that stupid, but I'm feeling pretty simple at the moment thanks to this problem I'm having, and I suspect it's got a simple answer that's just not coming to me. Normally I'd be willing to wrestle with it for days until it's solved, but the game's a christmas present for someone and I'm well behind!
My problem is this:
What I have
A main active object that when value a =1 an event creates 6 active objects in positions relative to that object. When val a =0, it destroys these objects (by detecting that they overlap the main active. There are many of these main active objects hence the use of alterable values.
What I want to do
For various reasons I want these 6 objects to exist when they're onscreen, visible to the player (it's a scrolling game) and destroyed when they're not (offscreen), and then created if and when the player gets close enough to the main active object again.
How do you suggest I do this?