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 / Bullets - instance or clone?

Author
Message
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Sep 2003 02:01
Would you INSTANCE OBJECT or CLONE OBJECT to create an array of bullets?

They're not static, but then they have no differentiating features either.

And I'm sure I'll find out soon enough, but do clone / instances inherit the texture of the original object?

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 25th Sep 2003 02:27
Quote: "Would you INSTANCE OBJECT or CLONE OBJECT to create an array of bullets"

i ues INSTANCE OBJECT and CLONE OBJECT for bullets. bullets go so fast that if you ues nomel COLLISION the bullet can pass thre the object your trying to hit.

Quote: "but do clone / instances inherit the texture of the original object?"

yes if you have the texture in the x file then made the bullet.if you add the texture latter then no.
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Sep 2003 02:56
Which one...INSTANCE or CLONE! One must have an advantage over the other.

Quote: "bullets go so fast that if you ues nomel COLLISION the bullet can pass thre the object your trying to hit."


You can resolve this by using INTERSECT OBJECT.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 25th Sep 2003 18:37
Quote: "You can resolve this by using INTERSECT OBJECT"


yes that the hole point of uesing INTERSECT OBJECT.

Quote: "Which one...INSTANCE or CLONE! One must have an advantage over the other"
at a push INSTANCE do`s but if you wait to see the bullet youn have to ues clone as well.

--Dr 0--

Login to post a reply

Server time is: 2026-07-25 07:00:59
Your offset time is: 2026-07-25 07:00:59