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
39
S
12
G
8
Posts: 580
Reputation: 7,108

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
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

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
39
S
12
G
8
Posts: 580
Reputation: 7,108


Return to Construct 2 General

Who is online

Users browsing this forum: tarek2, Yahoo [Bot] and 15 guests