Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Enemy Movement

Author
Message
DarkSith
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: United Kingdom
Posted: 8th May 2003 12:41
Anyone heard of a game called Project X? I'm trying to do something like it and am a bit stuck. How do I get the enemy ship sprites to move in patterns? You know like Wave 1 goes this way etc?

Also if the enemy is destroyed how do I get the explosion where the ship has been destroyed and the power-up sprite to appear? I also need help on how to make the sprite collision recognise the type it's hit.

:-s May thanks in advance from a VERY CONFUSED person!
Dark Basic: My Favourite!
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 8th May 2003 16:19
i did a game with the things you described for the retro competition.

No.85 (Nemesis). The source code is included in the download.
DarkSith
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: United Kingdom
Posted: 14th May 2003 17:14
Flashingblade could you send me the source via e-mail please?
Thanks in advance.

"He will join us, or die my Master..." - Darth Vader
Chessplayer
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location:
Posted: 15th May 2003 03:28 Edited at: 15th May 2003 03:29
You can make sprites do patterns in the following code. (The sprites will move to the right and then go in a circle)

I hope this code helps! Let me know if you need help understanding anything!

This is still Chessplaer! I just decided to spell my handle correctly!

Login to post a reply

Server time is: 2024-04-16 12:20:32
Your offset time is: 2024-04-16 12:20:32