Help to optimize very graphics heavy game.

Get help using Construct 2

Post » Tue May 28, 2013 1:39 pm

A good rule of thumb is have double the minimum video ram,required for the application but obviously the speed of the memory and GPU speed will have a big role in performance, especially if shaders ect are used...

the system expression "ImageMemoryUsage" gives a figure of video ram usage, but does not include sound files, that your game has many of...

If all preloaded, they could take a sizable chunk,of system ram I guess...Pixel perfick2013-05-28 13:41:44
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Tue May 28, 2013 2:09 pm

Having said all that,I doubt memory is your problem, I just took another look at tutorial level 4 and you have massive sprites with collisions enabled 1888 x 2816!! I am surprised it runs as well as it does, just cropped the collision boxes and got a very noticible framerate increase...

also you have a lot of every ticks that could be reworked or removed completely...
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Tue May 28, 2013 2:46 pm

Yeah I am aware of the extreme unoptimization on this level. It's the ascending blocks you're referring to right?

Edit: Can you point out the sprites that was 1888 x 2816? Tinimations2013-05-28 14:56:36
B
22
S
7
Posts: 316
Reputation: 2,490

Post » Tue May 28, 2013 3:21 pm

"firstbackground" is 1888 x 2816, and its not the largest...
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Tue May 28, 2013 4:00 pm

hehehe. Oh lord. the biggest sprite on the map passes 20k in witdth. However, these sprites aren't present in the other maps, and it roughly runs the same. Can unoptimzations in one map somehow crunch performance in another? I know it sounds like a strech, but I if this was the only issue, every other level except tutorial level 4 should run smoothly?

I'll take your word for it though. Gonna rework that level asap.
B
22
S
7
Posts: 316
Reputation: 2,490

Post » Tue May 28, 2013 5:44 pm

Changing layout destroys any objects that are not global, so should have no effect on performance...
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Previous

Return to How do I....?

Who is online

Users browsing this forum: mercuryus and 16 guests