Art Asset Size Preference?

Discussion and feedback on Construct 2

Post » Wed Oct 14, 2015 4:23 pm

actually work on 2^n -2 images.

example - n = 8 = 1024-2 = 1022 x 1022 images and 62x62 and 14x14 and 254x254, 126x126 and so on... because that way they are best spritesheeted. but even if you go 2^n it won't matter cuz a few frames will slip
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
43
S
14
G
12
Posts: 626
Reputation: 9,450

Post » Wed Oct 14, 2015 5:24 pm

But then you can only divide it once, you have to define the size before substracting which becomes a problem when you want to scale images 1:1. For example, I can't take 1022/2 = 511 and then take that and divide it again, you get 255.5. In fact, if you subtract any even number from a number of base 2, you can divide the result.

With a base of 2 you can continuily divide or double a number without running into any half-numbers, it's more error-proof. I do understand what you're getting at though since the way the C2 spritepacking works.
B
20
S
8
G
4
Posts: 195
Reputation: 3,555

Post » Wed Oct 14, 2015 7:02 pm

it doesn't matter, if you have 1024 - resize to 510x510, or resize to 254x254. aspect ratio is still 1:1
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
43
S
14
G
12
Posts: 626
Reputation: 9,450

Post » Wed Oct 14, 2015 7:36 pm

I mean scaling in-engine, not resizing in the image editor.
B
20
S
8
G
4
Posts: 195
Reputation: 3,555

Post » Thu Oct 15, 2015 1:44 am

Ashley says that the most efficient is 2 pixels less than power of 2.
Image
B
12
S
2
Posts: 91
Reputation: 862

Post » Thu Oct 15, 2015 11:07 am

600x600 is a poor size because it is just over a power-of-two size (512x512) so will be awkward to assemble on to a power-of-two size spritesheet.

As the export-time optimisations tutorial says, the ideal size is two less than a power of two, because C2 adds a 1px border around images when spritesheeting. So on a 1024 wide sheet, 512x512 is padded to 514x514 and it can only fit one image on with nearly half the width wasted (unless something else smaller fits in there). However 510x510 pads to 512x512 and fits two across exactly with zero wasted space.

However those are some slightly weird numbers - it might be best to just aim for 2000, 1000, 500, 250, 100, 50.
Scirra Founder
B
400
S
237
G
89
Posts: 24,550
Reputation: 195,537

Post » Thu Oct 15, 2015 2:42 pm

@Ashley is there any reason the pixel border is applied to pixel art games? It seems like this should be turned off if a project is set to point sampling. For pixel games, this seems like a big waste of texture space.
B
81
S
52
G
42
Posts: 370
Reputation: 26,355

Post » Thu Oct 15, 2015 3:11 pm

I don't think it's a big waste of space, it's only a small size increase. It guarantees that no colors bleed through from adjacent images. For example if you had a red square and a green square exactly side-by-side on a sprite sheet with no padding, sometimes the red sprite could have a green tinge bleeding through down the side after scaling or rotating, and it's important to avoid such artefacts in all kinds of games.
Scirra Founder
B
400
S
237
G
89
Posts: 24,550
Reputation: 195,537

Post » Thu Oct 15, 2015 3:55 pm

@Ashley Yeah I get that. But I was under the impression that you would only get a tinge if sampling was set to linear. And I guess I shouldn't say a big waste of texture space, just inefficient. If i have a 16x16 sprite I can only use 14x14 which is relatively a big waste. 4 pixels is a lot of detail lost in a pixel art game.
B
81
S
52
G
42
Posts: 370
Reputation: 26,355

Post » Mon Oct 19, 2015 5:07 pm

Image

I might not have done a great job of explaining what I'm going to offer up on the store, so I'm going to outline it a little more specifically here. Please let me know if there are any flaws in my logic. I appreciate all of the responses I've gotten so far.

I am creating a zombie pack that will include somewhere between 12 and 20 different zombies with animations in it (final number undecided). All zombies will have the same animations (12 total plus a frame fore laying dead).

Because I don't know what sizes people need for their project, I am including the different "sets" shown above. The original resolution I work in is 600 x 600. I realize that is way too big and never intended for the developer to use that big an asset. I'm including it only because, if they can't use the 3 other provided sizes, they might want to shrink the art on their own before importing into Construct 2.

I have 2 versions of the full resolution art: 1 with Lines and 1 without. I've included both because omitting the lines helps once you hit a certain point in shrinking.

I am also providing all of the art in 2 different color schemes. The top one is a color scheme that all of the zombies will have a set in. This way, you can randomize pallets and have it set across all zombies when they spawn. The second set is just a color scheme that I came up with if you just want to import the art and not have finer control over the colors.

All of the art has a lot of transparency around it. I wasn't too worried about it because I figured people would just auto crop it out in Construct 2 after their origin points were set. If this is wrong and I should still be worried about power of 2 assets, please let me know.

And if you want a preview of the animations that will be in the pack, I have some previews up on my instagram: http://www.instragram.com/needyourdisease

Thanks again for your help.

-Ben
http://www.needyourdisease.com
http://www.twitter.com/needyourdisease
http://www.facebook.com/needyourdisease
B
44
S
11
G
8
Posts: 233
Reputation: 7,761

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests

cron