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 / DarkClouds question "How can we stop dc if we want to switch levels" ?

Author
Message
Towfieee
20
Years of Service
User Offline
Joined: 5th Jun 2006
Location:
Posted: 30th May 2010 11:58
I have noticed there is no command to clear up the memory from darkclouds.I think this is a very important thing if we want to use it in a game. We will always need to go back and forth to menus and having anything saved up in the memory will cause dark basic games to slow down. Is there a proper way of completely clearing the DC out ????
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 31st May 2010 22:44
I don't think so. I think all we can do is save on memory use for updating by selectively using/not using "DC Update"...

Towfieee
20
Years of Service
User Offline
Joined: 5th Jun 2006
Location:
Posted: 1st Jun 2010 04:00
I found a way of fixing the problem using your help "baxslash" by making a big sphere, color it black,hide it, and position it where the camera is at all times. And when I don't need to see the sky I don't update the sky and I show the black sphere. Little example code:

Login to post a reply

Server time is: 2026-07-25 16:18:09
Your offset time is: 2026-07-25 16:18:09