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 / Armies of enemies. (2D DBP)

Author
Message
Zyronagon
16
Years of Service
User Offline
Joined: 6th Mar 2008
Location: USA
Posted: 25th Nov 2009 19:03
How do I make tons of sprites of the same sprite without making each one a separate sprite? Like, say a zombie game. How can I put tons of zombies onscreen without assigning each one a separate sprite number?

I'm getting free Amazon.com gift cards just by searching the net. You can too, along with tons of other prizes. For details, go to: http://tinyurl.com/freestuff13
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 25th Nov 2009 19:18
Why don't you want to assign each of them a sprite number?

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 25th Nov 2009 21:11
You could always make 1 sprite, hide it and then use paste sprite to put as many copies of it as you need on screen.

Without Music or Love the world would be a very empty place... Thank god I still have music.. --'-<@
Gingerkid Jack
19
Years of Service
User Offline
Joined: 15th May 2005
Location: UK
Posted: 25th Nov 2009 21:33
Look at TDK's 2d shooting tutorial then transfer it to work with enemies. Thats what I did. I'll show you some code when im not so busy.

TheCleverGuyz

Login to post a reply

Server time is: 2024-11-23 22:44:55
Your offset time is: 2024-11-23 22:44:55