Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, Ayumi, AndrewAMD), 1,092 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Memory Consumption [Re: Dveyee] #414019
12/21/12 10:46
12/21/12 10:46
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
okay, you found the nexus laugh
the nexus does not work like normal memory
you can allocate memory, but you can never give it back to reallocate it

so the solution for you is the reusing of your segments
just store all entities an array and shift through them
if you "remove" an entity, just set it to invisible and passable
if you use it again set it to the wanted position and show it again


Visit my site: www.masterq32.de
Re: Memory Consumption [Re: MasterQ32] #414071
12/22/12 08:32
12/22/12 08:32
Joined: Nov 2006
Posts: 59
Alberta, Canada
Dveyee Offline OP
Junior Member
Dveyee  Offline OP
Junior Member

Joined: Nov 2006
Posts: 59
Alberta, Canada
Tricky indeed! Thanks for the tip! laugh Have a Merry Christmas!


Accelerated Game Creation Tutorial - Learn how to use 3D Gamestudio's WED with these exciting video tutorials!

Visit our website at http://www.accgames.com.
Re: Memory Consumption [Re: Dveyee] #414075
12/22/12 10:54
12/22/12 10:54
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
yeah, but the nexus is pretty fast compared against other memory allocation systems
so if you don't exceed the nexus you can get really fast results allocating memory
but only level_load will release it again


Visit my site: www.masterq32.de
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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