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 / Object only updates when in screen!

Author
Message
Aramil
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Wherever my feet take me
Posted: 21st Mar 2005 00:27
In the game I'm writing, the object's don't update themselves when they are outside the screen. Commands like "Set object to object orientation" only work when the "parent" object is in the screen, otherwise the last viewed or recorded position when the object was in screen is used. Is there some way to override that? Thanks.
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 21st Mar 2005 05:33
Thats very strange, ive never heard of this before
Anyone else shed some light on it ?
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 21st Mar 2005 05:37
Could you show us some code to verify this?


"Lets migrate like bricks" - Me
Aramil
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Wherever my feet take me
Posted: 21st Mar 2005 08:32
Hmmmm...the code in the game is kinda too long(over 4000 lines, and the problem involves most of it) to put in here, but I've tried making an example program for the purpose of showing you...but the problem doesn't come up. That just doesn't make sense. I've still had that problem before, though. If the object was off-screen, it wouldn't update. Sorry if that doesn't help any.

Say you take a long pole-like object, and rotate a cube. Position and orientate the pole with the cube. When the cube goes offscreen, the pole should stop moving(according to my problem thing). Only that doesn't happen. Man, this is confusing.

Hmmm...I guess I can't verify it. Anyway, it's not happening anymore. I probably just screwed up my code...it happens a lot! Anyway, I AM the god of false alarms. Sorry to have wasted your time!

Login to post a reply

Server time is: 2025-05-31 05:34:51
Your offset time is: 2025-05-31 05:34:51