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.

DarkBASIC Professional Discussion / Enemy's how many?

Author
Message
Salsa
22
Years of Service
User Offline
Joined: 21st Sep 2003
Location:
Posted: 23rd Sep 2003 23:33
How do i place more than 1 enemy in my game?
I dont know how to make like 12 of the same enemy
The admiral
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 24th Sep 2003 09:33
clone object or use a for next loop type thing other wise you could just use the make object command or load object command 12 times.

[href]www.vapournet.com/~flyer[/href]
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Sep 2003 15:15
...And create an array to store the health, position etc... details of each one.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Ravey
Retired TGC Developer
23
Years of Service
User Offline
Joined: 2nd Nov 2002
Location: Southern TGC Nerve Centre
Posted: 24th Sep 2003 16:17
Check out instance object too - fastest, but all models share the data

Regards,
Dave Milton
Check out my games: Diode, Root, Binman & Skateboard Crazy
Andrew
22
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: United Kindom (what makes it important?)
Posted: 24th Sep 2003 19:15
This does all sound right so iw really would say it's easy to load each enemy 12 times, position the object as well so you know where it will be on the matrix when you play it like: enemy 1 would be inside a building and enemy 1 again will be behind it see where I'm getting at

I know my codes - i am now more advanced with DBP-
Ask me any question (um not to do with online though :0)

Login to post a reply

Server time is: 2026-07-25 08:29:12
Your offset time is: 2026-07-25 08:29:12