Power of 2

Discussion and feedback on Construct 2

Post » Tue Oct 23, 2012 11:25 am

If i import a sprite which is power of 2 am I then free to re-size the sprite in the editor?

So I import a sprite 64x64 - then I use the transform tools to stretch it to 200 x 31 - will this impact performance.


If it does impact performance how about a power of 2 resize function, hold a button and drag the transform and then the sprite resizes to nearest power of 2.
B
40
S
12
G
8
Posts: 590
Reputation: 7,153

Post » Tue Oct 23, 2012 3:30 pm

Power of 2 sizes can almost be forgotten... they are only relevant with tiled images (so not Sprite images), and in the near future mobile devices will also support non-power-of-two textures, meaning power-of-two is finally irrelevant and makes no difference at all.

In the mean time, there's not really any performance difference, it just affects whether tiled images can tile with best quality, which currently can only be done with power-of-two images.
Scirra Founder
B
373
S
218
G
83
Posts: 23,434
Reputation: 185,808

Post » Tue Oct 23, 2012 4:01 pm

[QUOTE=Ashley] Power of 2 sizes can almost be forgotten... they are only relevant with tiled images (so not Sprite images), and in the near future mobile devices will also support non-power-of-two textures, meaning power-of-two is finally irrelevant and makes no difference at all.

In the mean time, there's not really any performance difference, it just affects whether tiled images can tile with best quality, which currently can only be done with power-of-two images.[/QUOTE]

Awesome that's good to know :)
B
40
S
12
G
8
Posts: 590
Reputation: 7,153


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests