Ways to free Memory

Discussion and feedback on Construct 2

Post » Mon May 19, 2014 5:50 pm

Hi guys...is there a way to free memory??

i want to give the player the option to turn off for example, water effects...so if they dont have a powerful Pc they can set water affect to low...

i tried to code, that when water effects varialbe is 0 destroy all the fancy affects...but when i destroy then they dont free space on the memory...

i have an option to not respawn particles if the players wants it or not...

can you think of any method to give me player the option to play the game using less memory??
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Mon May 19, 2014 6:06 pm

If webgl is on (or on ejecta), everythkng is loaded layout by layout, you could maybe if there is no better way have a layout that does nt at all use that.

Also each webgl effects can be deactivated, you should have a way to turn them down via a variable.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Mon May 19, 2014 10:49 pm

If you mean image memory, Destroying images will not help you, Because the images will upload if you are using it or not.
What i learned from my game is alot of animation frames will drop the fps and also the particles and webgl effects.

All the 2 games : angvik & Airscape
Used the quality low or high option, Try to ask the owners about their way to make this.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests