Miscellaneous performance questions

Discussion and feedback on Construct 2

Post » Thu Sep 12, 2013 6:32 pm

I have seen it mentioned that any graphics we import, should already be the correct size before import. I had already decided to remake most of the graphics for my game so I made sure they were the correct size before importing. I also did not crop them within the C2 image editor.

I notice that even if I resize images within C2, the image files exported for my C2 project appear to be the size that I resized them in the image editor. Can anyone confirm whether resizing images in the C2 editor affects performance. I do not mean resizing during the game.



Another performance question I had. Does having collision enabled on objects that will never use collision, and are never checked for collisions affect performance? I am just wondering because I did not know if C2 did a behind the scenes check.
B
26
S
8
G
2
Posts: 33
Reputation: 3,645

Post » Fri Sep 13, 2013 8:36 am

If you make import an image with 50x50 and you resize it to 1920x1080 it will not only be ugly It will also need more performance. But thats just normal. If you want reduce the download size it is better to create smaller images and resize them over events but this would also loose quality.

With the performance of Collision Objects I cant help you, I think just ashley can it. Or you try it by your own with the new debugger
B
15
S
6
G
6
Posts: 512
Reputation: 5,555

Post » Fri Sep 13, 2013 9:19 am

Hi,

As far as I understand the system:
1) You can import graphics of any size, and resize it in image/sprite editor - the change is irreversible, and the resulting size will determine the memory requirements of the sprite, the performance and the quality.

2) You can import e.g. a larger graphics and resize the instance size in Construct window/main editor. This change is reversible - it is just scaled in viewport, and this change, as far as I understand, has much smaller influence on the performance. If you scale down the sprite this way, it still takes all the memory required by the real size of the image (=the size in the image/sprite editor), but as it is smaller on the screen, the processing of each frame is faster.

Cheers,
GregCJK2013-09-13 09:20:21
B
18
S
3
G
3
Posts: 83
Reputation: 3,736


Return to Construct 2 General

Who is online

Users browsing this forum: Brendan2007 and 10 guests