activation regions and actors

Talk about making games.

activation regions and actors

Postby sonicfire » Fri May 07, 2010 1:27 pm

Hi there!

i have a question about actor creation on startup, destroy actors when out of vision and activation regions!
so i have my view on "level 1" with an activation region defined. when i want to restart this "level" i thought it would be
enough to move the view outside the activation region, and then move it back - and everything should restart.

BUT: this isnt the case! can anybody help me here? i have some elements removed (destroy actor) when leaving the "level" because
when i am in level2 - theres no need to draw level1 stuff.

or is it not required to destroy actors out of vision when leaving an activation region? because then it seems to work, im only worried about CPU usage :)

any help really appreciated - thanks!!
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: activation regions and actors

Postby makslane » Fri May 07, 2010 2:58 pm

If you actor don't need to be destroyed (like a bullet, for example), you don´t need to destroy it to save memory.
The Activation Regions will do that for you.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: activation regions and actors

Postby sonicfire » Fri May 07, 2010 5:45 pm

Ok, thanks for info! :D
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest