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.

Newcomers DBPro Corner / Taking my project further

Author
Message
HartGames
19
Years of Service
User Offline
Joined: 17th Nov 2005
Location: UK
Posted: 30th Apr 2007 22:08
Hi! I've just started my first project, a 2d sprite based game. I've set up the player and set some borders.

What I want to try and do next is to spawn "enemy" sprites along the top of the screen and make them move down. Gradually increasing the spawn rate. But I have no idea how to do this . If any of you could point me to a Tutorial or have any general tips it would be greatly appreciated.

So far:
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 30th Apr 2007 23:39 Edited at: 30th Apr 2007 23:42
Use the timer to get a spawn rate:


Possibly something like that,

Also you should get rid of the cls in your loop.

HartGames
19
Years of Service
User Offline
Joined: 17th Nov 2005
Location: UK
Posted: 30th Apr 2007 23:50
Thx, I'll have a go

I'm using the CLS to create a black background, is there anyother way to make the background black?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st May 2007 06:16
In Pro, add this prior to the main loop



It activates the 3d backdrop that sprites turn on in pro and paints it black from now on

Login to post a reply

Server time is: 2024-11-25 19:29:37
Your offset time is: 2024-11-25 19:29:37