Question about Est, image memory

Just started using Construct 2? Post your questions here

Post » Fri Aug 05, 2016 8:23 pm

I have a very large pixel sky and pixel cloud strip which moves across the sky.
When I delete them both my Est, Image memory goes from 116.3 mb to 71.3 mb, is that really bad?
B
9
S
1
Posts: 51
Reputation: 602

Post » Fri Aug 05, 2016 9:09 pm

You should be aiming to use smaller images and keep the memory usage below 100mb. At that usage your game is probably going to be a bit laggy soon on some platforms.
B
47
S
17
G
82
Posts: 2,232
Reputation: 48,611

Post » Sat Aug 06, 2016 6:52 am

The basic formula is widthxheightx4, because regardless of the type of image (jpg,png,etc) they are converted to a bitmap in RAM. Depending on how old the GPU is, a power of 2 calculation could also be be needed before calculating RAM usage.

Example:

Image is 2000x900 PNG

RAM use would be approx. 2000x900x4 = 7.2MB

If power of 2 applies then it would be: 2048x1024x4 = 8.4MB
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,498
Reputation: 60,282


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests