Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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