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 / What is the maximum object ID for Sparkys Collision?

Author
Message
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 11th Dec 2011 17:49
The object number parameter seems to be limited to Words (0-65535). Any object Id above that range is not setup with the setup object commands. I did not see this written in the documentation.

Why do I want so many? Well I will not be loading 65535 objects at once, but networked instances in my game need globally unique references.

It is not the end of the world; I'd just need to reserve this range for objects that need to collide.

Daniel wright 2311
User Banned
Posted: 11th Dec 2011 19:07
just re use objects and or object numbers,this is the only thing I can think of.

my signature keeps being erased by a mod So this is my new signature.
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 11th Dec 2011 21:13
Yeah, I will indeed. I will seperate each island to have their own object IDs.

Login to post a reply

Server time is: 2026-07-09 15:47:25
Your offset time is: 2026-07-09 15:47:25