Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, Quad), 3,750 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Release world resources #366292
04/02/11 17:04
04/02/11 17:04
Joined: Mar 2011
Posts: 13
Yorkshire, England
monotonic Offline OP
Newbie
monotonic  Offline OP
Newbie

Joined: Mar 2011
Posts: 13
Yorkshire, England
Hi All,

I was wondering how you go about releasing all resources loaded into the world. Is there a command which I can call to release them ready for loading another world? Or do I have to manually dispose of them?

Thanks in advance.

Re: Release world resources [Re: monotonic] #366294
04/02/11 17:14
04/02/11 17:14
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
when you call level_load, all resources from previous level are purged


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Release world resources [Re: painkiller] #366300
04/02/11 17:51
04/02/11 17:51
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
true, and you can use level_load(NULL); to release them, like when you want to go back to a 2d menu.

Re: Release world resources [Re: SchokoKeks] #366303
04/02/11 18:06
04/02/11 18:06
Joined: Mar 2011
Posts: 13
Yorkshire, England
monotonic Offline OP
Newbie
monotonic  Offline OP
Newbie

Joined: Mar 2011
Posts: 13
Yorkshire, England
Excellent thank you guys.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1