News for hackers. Stuff that matters.
Re:Pixel Art: Common Mistakes (2020) by Paul_S on Saturday June 04, 2022 @05:06AM (#31618377)
Bad pixel art is a pet peeve of mine. This is really advanced advice compared the problem most games have:

- pixels of different sizes

- rotating (!) pixels

- scaling pixels

- smooth gradients with millions of colours

- dynamic lighting overlayed on top

... I could go on :(

Re:Pixel Art: Common Mistakes (2020) by MattRix on Saturday June 04, 2022 @08:58AM (#31619771)
There are two main categories of pixel art in games.

In one category it’s about retro authenticity and these games are defined by the fact that their final buffer is the same low resolution as their art. They also often feature limited palettes, especially ones that were actually used on retro consoles.

There’s also a second category of pixel art, where the style is more modern. The art is still low res, but the final screen buffer is high res. This is where you’re more likely to see stuff like smooth rotating sprites and lighting effects.

You may have a preference for one style or the other, but neither style is bad or “wrong”. Most people who use the modern style are doing it on purpose. There are fantastic looking games in both categories.

Re:Pixel Art: Common Mistakes (2020) by moth-fuzz on Saturday June 04, 2022 @11:33AM (#31621530)
Having pixel art and then each “pixel” being 4 or 16 pixels, obvious when scaled or rotated, I think is bad artistic form regardless of whether it’s a vintage styled or modern styled game. It breaks the flow and suspension of disbelief that comes with pixel art. The brain can’t interpolate anymore. Besides, it’s not hard to render to a buffer and scale it up nearest-neighbor, and it always looks better IMO
Re:Pixel Art: Common Mistakes (2020) by derefr on Saturday June 04, 2022 @01:43PM (#31623157)
When I picture good uses of pixel art in modern (not retro-aesthetic) games, I picture it not as a pixel “camera” — a low-res CCD capturing a grid of samples of an originally-high-fidelity world; but rather as the world itself being made up of a bunch of vector squares — like the 2D equivalent of a Minecraft voxel world. The camera is a regular high-resolution camera, looking at a weird blocky world.

In such a world, rotating a pixel sprite by 45 degrees should just look like there being multiple invisible “grids” to the world, each rendered at infinite resolution and downsampled to your display, where the sprite isn’t rotating per se, but rather the pixel grid “layer” the sprite is on (i.e. the hi-res texture the sprite layer is being rendered onto for compositing) is itself rotating.

Of course, if you’re going to use things like rotation/scaling, sub-pixel particle effects, 3D, etc. then you then either have to embrace it in your game setting’s art design everywhere so particular uses of it don’t stick out; or you have to acknowledge that any uses of it are basically “non-Euclidean geometry” from the viewpoint of in-setting observers, and thus slide your game’s mood toward something approaching either science-fantasy (e.g. Fez) or horror (has anyone done a Flatland Cthulhu game yet?)

Also note that “multiple distinct pixel grids” isn’t even unprecedented in retro games, either; there were plenty of consoles where you got one resolution for your tile map and a different (usually higher) resolution for your sprites; where sprites could sit on top of tiles in non-aligned positions. A few consoles and arcade cabinets even combined pixels with vectors!

Re:Pixel Art: Common Mistakes (2020) by versteegen on Saturday June 04, 2022 @09:38AM (#31620184)
"Modern style" pixel art doesn't always mean higher resolution. You could use low resolutions but high bitdepth or lighting or transforms or shaders or ...

(Although I would consider a low-res limited-palette game which uses transparency, lighting, rotation, scaling and other transforms as retro since that was already possible decades ago.)

I (and many others) think mismatched pixel sizes look bad, but that there's nothing inherently wrong with those other things.

Re:Pixel Art: Common Mistakes (2020) by fleabitdev on Saturday June 04, 2022 @09:23AM (#31620033)
Can you recommend any games in the first category?

I surveyed the indie-game landscape a couple of years back, specifically looking for games in your first category, but struggled to find any recent examples. 2D transforms, alpha-blending and lighting effects seem to be the standard now.

Re:Pixel Art: Common Mistakes (2020) by derjames on Saturday June 04, 2022 @09:51AM (#31620312)
Empire Strikes Back remake for c64 https://megastyle.itch.io/esb-by-megastyle
Re:Pixel Art: Common Mistakes (2020) by erik on Saturday June 04, 2022 @05:22PM (#31625222)
Celeste uses high resolution dialogue text, but its gameplay is strict about the pixel grid.

Loop Hero is strict about its pixel art and uses a fixed 16-colour palette that is reminiscent of the Commodore 64.

Baba Is You has visuals that you could basically render on a ZX Spectrum.

And in addition to doing pixel art well, these are all pretty great games.

Re:Pixel Art: Common Mistakes (2020) by MattRix on Saturday June 04, 2022 @05:14PM (#31625145)
There are a bunch of retro inspired games (ex Shovel Knight) that do the retro inspired thing. More interesting is a game like Celeste, where it has a 3D level select but during the actual gameplay, the characters move in integers and the screen buffer is still fixed at a low resolution.
Re:Pixel Art: Common Mistakes (2020) by Jasper_ on Saturday June 04, 2022 @05:51PM (#31625452)
Shovel Knight actually has a high-resolution render buffer and "subpixel" movement, but nobody seems to notice because the rules are mostly held in-place.
Re:Pixel Art: Common Mistakes (2020) by lozenge on Saturday June 04, 2022 @10:05AM (#31620450)
Cave Story, Shovel Knight?
Re:Pixel Art: Common Mistakes (2020) by billfruit on Saturday June 04, 2022 @03:53PM (#31624409)
Can you suggest some games of the second category? Enter the Gungeon?
Re:Pixel Art: Common Mistakes (2020) by Beltalowda on Saturday June 04, 2022 @06:20AM (#31618745)
Why are any of these things "bad"? Back in the day pixel art was constrained by technical limitations, but now you can use the same style but with less technical constraints, and include these sort of things. It's not "true" pixel art from 1990, but that doesn't make it "bad".
Re:Pixel Art: Common Mistakes (2020) by ceph_ on Saturday June 04, 2022 @07:37AM (#31619177)
For the same reason people like the hiss and pops of a record, film grain, or even VHS tracking artifacts. Yesterday's technical limitations become today's aesthetic.

But the real answer is they aren't inherently bad. People don't actually need it to conform to the past limitations. More that they want it to feel authentic to the nostalgic memory they have in their head.

For example, games like Shovel Knight go for an 8bit style, but they're not limited to an 8 bit color space, NES sprite limitations, etc.

Re:Pixel Art: Common Mistakes (2020) by a_e_k on Saturday June 04, 2022 @02:01PM (#31623354)
Shovel Knight used the 54-color NES palette, with 4 additional "cheater" colors:

https://www.gamedeveloper.com/design/breaking-the-nes-for-sh...

Re:Pixel Art: Common Mistakes (2020) by Beltalowda on Saturday June 04, 2022 @08:16AM (#31619461)
I get all that; I really enjoy the sound of some "imperfections" of old blues and jazz records, but I also don't consider any modern records which doesn't replicate those "imperfections" to be bad.
Re:Pixel Art: Common Mistakes (2020) by frosted-flakes on Saturday June 04, 2022 @10:20AM (#31620622)
I'm not sure about Shovel Knight because I've never played it, but Mina the Hollower (also by Yacht Club) actually does conform to the those limitations. It's based on the art style of Zelda: Link's Awakening, and does so quite accurately.

https://www.yachtclubgames.com/games/mina-the-hollower

Re:Pixel Art: Common Mistakes (2020) by monkpit on Saturday June 04, 2022 @02:05PM (#31623394)
Check out La Mulana.. the original version of the game conforms to the limitations of the MSX, but remakes do not. There’s plenty of room to do things either way!

A post from the author about the remade art: https://la-mulana.com/en/blog/graphic_full_remake.html

Compared to the art from the screenshots on Wikipedia: https://en.m.wikipedia.org/wiki/La-Mulana

Re:Pixel Art: Common Mistakes (2020) by Narishma on Saturday June 04, 2022 @09:51AM (#31620315)
It's been a while since I played Shovel Knight, but I don't remember it having any of the issues OP talks about.
Re:Pixel Art: Common Mistakes (2020) by ceph_ on Sunday June 05, 2022 @11:22AM (#31631784)
It doesn't. I was using it as an example of it being done right, without actually following the limitations of the NES. But you can see from the article linked by one of the other replies the dev team put in a lot of effort to make it as close to authentic as possible.
Re:Pixel Art: Common Mistakes (2020) by stelonix on Saturday June 04, 2022 @11:42AM (#31621675)
Some people on twitter take offense when opinions such as parent's are said, but I believe he has a point. I'm talking specifically about the amount of colors and also the use of tiles instead of a discrete art.

There's something to limited color space that those people do not seem to understand, be it the ones saying such critique, or the ones getting mad at it. We see color quantization in any realistic painting after the renaissance. Limiting the color space actually makes the pixel art look more realistic, because then every shade or shadow fits the overall drawings. Once you go Stardew Valley, sure it's pixel art, but just like a Picasso is great, it's not a Caravaggio, it's not "realistic" when it comes to how lighting reflects off surfaces.

Then there's the use of tiles/repeating background parts or having a full canvas where every pixel is unique. Although it's nice to look at, there's just too much information for the brain to process. That kind of art is nice, but in a game it's distracting. I personally call that kind of art pixel paintings and separate it from classic pixel art with tiles and limited colors.

It might be all just rose tinted glasses of nostalgia, but I firmly believe there's some science to what I just described. Look at any Caravaggio painting but especially portraits to see how limited the color space really is, how sometimes he uses shades of a color to give the impression of a very distant (color-space-wise) second color. It's really about that.

Re:Pixel Art: Common Mistakes (2020) by barrysteve on Saturday June 04, 2022 @08:09AM (#31619408)
The techniques he mentioned don't serve the higher principle.

Adding lights from a lighting engine over the top of sprites with baked shading, might make a pretty image but it is not pushing pixel art forwards. Scaling and rotating can produce poor quality sprites.

P.s. Ashford is the best.

Re:Pixel Art: Common Mistakes (2020) by greymalik on Saturday June 04, 2022 @08:24AM (#31619505)
Who’s Ashford?
Re:Pixel Art: Common Mistakes (2020) by brazzy on Saturday June 04, 2022 @08:49AM (#31619709)
Reference to the username "Beltalowda", a character in "The Expanse" book and TV series.
Re:Pixel Art: Common Mistakes (2020) by skybrian on Saturday June 04, 2022 @12:11PM (#31622071)
The article explicitly says it’s okay to disagree. Agreement or disagreement on art style isn’t really the point. If you see pixel art differently and can decide for yourself which effects you want to use then you’ve learned something.
Re:Pixel Art: Common Mistakes (2020) by bluescrn on Saturday June 04, 2022 @08:43AM (#31619656)
I'd agree with most of those, but I'll disagree on dynamic lighting. It's quite possible to do that tastefully without sacrificing the integrity of the underlying pixels.

'Enter the Gungeon' is one example of that. The lighting adds atmosphere, doesn't harm the pixel art, and it's not distractingly over-the-top.

Re:Pixel Art: Common Mistakes (2020) by fleabitdev on Saturday June 04, 2022 @08:20AM (#31619481)
I share your preferences, but it's a rock and a hard place. Performing any of the tasks you listed by hand is extremely labour-intensive. Doing without those features is a harsh creative limitation - in my experience, the result isn't "this game feels retro", but instead "this game feels oddly flat, repetitive and static", which is much less forgivable.

I've worked on a game which aimed for authentically retro pixel art, but in hindsight I think it was a silly misallocation of resources. There's a reason it's so uncommon nowadays. If I were to try again, I'd at least include high-resolution 2D transforms in the engine, and possibly dynamic lighting too.

I briefly explored the possibility of developing a style-preserving realtime rotation algorithm for sprites, but it's a hard problem.

Re:Pixel Art: Common Mistakes (2020) by moth-fuzz on Saturday June 04, 2022 @11:39AM (#31621618)
how exactly is it a hard problem? You don’t have to rotate the sprite by sining and cosining pixels by hand, you can just render to the same resolution as your sprites and it’ll look fine.

The problem is that most indie games render at 2x or 3x or more natively.

Re:Pixel Art: Common Mistakes (2020) by fleabitdev on Saturday June 04, 2022 @12:18PM (#31622166)
Nearest-neighbour, low-resolution rotation produces unpleasant results when the sprite contains fine details with a thickness of one or two pixels, e.g. outlines: https://imgur.com/a/UiAZ49z

Artistic preferences are subjective, but I expect most players would find that rotated sprite unappealing. This is especially true when the rotation is animated - the aliasing causes a distracting, staticky, random-noise effect which gives the impression that the sprite's fine details are chaotically changing. It's almost the aesthetic opposite of what most pixel artists are aiming for.

Re:Pixel Art: Common Mistakes (2020) by flobosg on Saturday June 04, 2022 @05:17PM (#31625169)
> Nearest-neighbour, low-resolution rotation produces unpleasant results…

That’s the reason why some games use versions of the rotated sprites that have been tweaked by hand. See also tools like RotSprite (http://info.sonicretro.org/RotSprite).

Re:Pixel Art: Common Mistakes (2020) by paulryanrogers on Sunday June 05, 2022 @08:59AM (#31630585)
Back in the day I found Privateer's in-game rotations jarring and hideous. Modern games and remasters should at least use higher resolution frame buffers, even if they downscale back to OG--ideally using high color and alpha channels. And I think higher resolution rendering is fine too.
Re:Pixel Art: Common Mistakes (2020) by codeflo on Saturday June 04, 2022 @07:20AM (#31619077)
I think the points you mention are easily noticed by people who lived in that era as anachronisms. At least that's true for me. And yet, Minecraft does all of those things and more, and I liked its style. I think it really depends on how well it's done.
Re:Pixel Art: Common Mistakes (2020) by ido on Saturday June 04, 2022 @05:39AM (#31618548)
A lot of these are stylistic choices (or could be at least) rather than mistakes.
Re:Pixel Art: Common Mistakes (2020) by d_tr on Saturday June 04, 2022 @05:45AM (#31618589)
And / or saving time and money because the artists need to draw less pixels by hand.
Re:Pixel Art: Common Mistakes (2020) by HellDunkel on Saturday June 04, 2022 @12:52PM (#31622593)
These are artistic choices, not proof of bad art. Take a look at „Hell is other Demons“ eg - it breaks a few of those rules and does a phenomenal job at pixel art.
Re:Pixel Art: Common Mistakes (2020) by TeaDude on Saturday June 04, 2022 @10:39AM (#31620852)
Scaling and rotating sprites definitely used to be overused but I don't think they're that bad considering they were featured in many classic consoles (GBA, DS, Sega Saturn, PS1 etc.) and too many arcade boards to count

I dislike lighting though (unless it's implemented tastefully) and I think normal maps look absolutely disgusting in any situation.

E: Also, overuse of shaders is discouraged. Especially non-pixel effects like blurring.

Re:Pixel Art: Common Mistakes (2020) by mathstuf on Monday June 13, 2022 @01:10PM (#31728402)
Where do you rate the latest Square Enix art style as shown in Octopath Traveler? I think ut uses quite a few of these and it looks great to me at least.