Page 1 of 1

Sprite Formations question

PostPosted: Tue Nov 09, 2004 9:59 am
by vsvb
Hi,

I'm new to game-editor so please forgive the stupid questions ;)

I have a formation of aliens and they move about ok in the game etc., I haven't tried yet but when I get to level complete and want to loop back and play game again, how will the aliens be set back to their original positions?

For info, the aliens don't move like the space invaders example, they are in a formation at beginning but move at their own random independent pace.

Thanks in advance!

Anthony.

PostPosted: Tue Nov 09, 2004 10:55 am
by jazz_e_bob
Not a stupid question at all.

This is one way ( there may be a better way) :

Don't have your formation of aliens created at startup. Have them created by a "make alien formation" actor.

When the alien formation actor is created it creates the aliens in their correct places and then destroys itself.

When all the aliens are dead and you want to start again simply create the "make alien formation" actor again.

PS

I want to play your game! :)

Image

Re: Sprite Formations question

PostPosted: Tue Nov 09, 2004 11:05 am
by vsvb
Thanks

Think I know what I'm doing now, yes I'll be supplying a copy of the game and ged file when I have it all working.

Its only a very simple remake so I can get to grips with GE first.

I have programmed in C++ before and started but never finished numerous games so I'm hoping the time saving with GE when I get into it will mean I actually finish things! ;)

Re: Sprite Formations question

PostPosted: Tue Nov 09, 2004 9:31 pm
by jazz_e_bob
vsvb wrote:...never finished numerous games so I'm hoping the time saving with GE when I get into it will mean I actually finish things! ;)



"Art is never finished, only abandoned."
:wink:

Image

Image