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 Discussion / Whats a really good way for multiple enemies?

Author
Message
MiRRoRMaN 64
21
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 12th Jan 2004 22:04
Hi everyone,

I got a nice idea for a funny arcade style game. I wanna do it so that there are multiple enemies who kinda follow you around and wanna nag you, you know, they touch you die. Kinda like a lethal michael jackson, but anyway, I'm breaking my head here about a good way to go around this without losing much fps.

I wanna do it so that there are more enemies per level, maximum of 8 to 10 enemies, and I'm thinking it should be something with an array.

Like I said, I don't want the FPS to suffer too much, it needs to be a speedy game. Is there any simple way to go around this?

Thanks in advance.


amigacam.commodore.at
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 12th Jan 2004 22:10
Basics...

Make your model and clone it for the enemies

Store the enemy details in a multi-dimensional array - number of enemies x number of parameters.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
MiRRoRMaN 64
21
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 12th Jan 2004 22:56
I kinda got that floating around in my head, but haven't done such a thing before. I'm really bad at arrays.

How does this work with the movement for example. Say if I got x#,y#,z# with 3 enemies for example, I can use the same checks with that and recycle this with the enemies right?

I'm getting old hehe, I used to get ideas like this way quicker when I was a kid hehe almost 30.


amigacam.commodore.at

Login to post a reply

Server time is: 2025-05-22 09:07:16
Your offset time is: 2025-05-22 09:07:16