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.

Author
Message
code master
21
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 8th May 2004 21:42
well say i had 20 objects then i wantend to make a new object for all of my bullets but if i did that it would eventluly crash cause of to many objects how fix

dbc 1.13 non enhanced oh and im 11 didnt know that did ya?
Jobyman
21
Years of Service
User Offline
Joined: 17th Mar 2004
Location:
Posted: 9th May 2004 02:43
well. First i think maybe rephrasing your question because im not sure i even know what you mean. Second of all DB can handle a lot of objects so i doubt that having 20 objects and a few bullets will crash it.....well depends on how many bullets .

What do you mean by one object for all my bullets? you gonna model a bullet and load it into DB lots of times?

But no. It wont crash if you do that.

Everyone is a comedian...
code master
21
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 9th May 2004 05:29
what i meant is a object for every differnt bullet(lick a db sphere)
but it gonna be for a muiltiplayer game so when it gets to 1600 bullets it will crash

dbc 1.13 non enhanced oh and im 11 didnt know that did ya?
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 9th May 2004 09:11
What's worked for me with bullets is making about 6 spheres and cycling through them. For example, my bullets will be object numbers 10 to 15. When the key or mouse is pressed to fire bullets, I do something like this:



I hope you understand what my code is doing. I don't have time to go into detail about how it works.

Jobyman
21
Years of Service
User Offline
Joined: 17th Mar 2004
Location:
Posted: 10th May 2004 01:03
oh riiiiiiight. Yea in that case listen to hyri.

Everyone is a comedian...
code master
21
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 13th May 2004 19:23
thanks a lot mans 1&2

dbc 1.13 non enhanced oh and im 11 didnt know that did ya?
Game Freak10K
21
Years of Service
User Offline
Joined: 29th Apr 2004
Location:
Posted: 14th May 2004 08:34
What about calling the bullet object (at the position of the gun tip) every time you click the mouse and the obj_bullet code doing the rest (movement in a straight line, speed. Collision with matrix/objects)--I do art better than code so im curious if thatll work, Im working on bullets for my gun(in DBC/gun made with Deled)

Comics and Games-Bread and Butter.

Login to post a reply

Server time is: 2025-05-24 00:05:08
Your offset time is: 2025-05-24 00:05:08