Page 1 of 1
Appearance of the enemy

Posted:
Thu Apr 29, 2010 6:32 am
by Behdadsoft
I want to make a game with several different Levels. Of course, a Level it has ended. I want the rest of the Levels to make this case after the destruction of all enemies, different enemies appear again. But I do not know how to do that and do not know programming time. This is a picture of my project.
Thanks for your help Dear Friends
Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 12:12 pm
by Hblade
You could do this for the enemy, make him not recieve events when out of vision :3
Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 6:46 pm
by Behdadsoft
I do not understand, please speak more clearly. I have a space invaders game is a picture of it you've placed. If possible, please leave me a sample.
Thanks!
Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 6:49 pm
by Hblade
On the actor control panel, you'll see "Receive events even if out of view" or soemthing, say no :3
Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 7:33 pm
by Behdadsoft
I now understand you and I do it. When enemies are destroyed but nothing happens.
Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 7:42 pm
by Hblade
I dont know then, sorry

You could try (when a level is copmlete), Move the view to the next section :O For example have the leves beside eachother then move the view to the right when the level is completed

Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 7:55 pm
by Behdadsoft
How can I transfer View after complete a Level ?
Re: Appearance of the enemy

Posted:
Thu Apr 29, 2010 8:56 pm
by Hblade
On the level complete, simply make the view's x change :O
For example when level is completed:
- Code: Select all
temp = 1;
if (temp == 1)
{
view.x+=view.width;
temp = 0;
}
That would make the view only move once, but it'll go right so it can start the next level

Other then that Idk, I'd have to try and make something like that to find out :O
Re: Appearance of the enemy

Posted:
Sat May 01, 2010 6:23 pm
by Behdadsoft
OK , Thank you very Much

Re: Appearance of the enemy

Posted:
Sat May 01, 2010 6:28 pm
by Hblade
your welcome
