Loading video...

Video Failed to Load

Go Home

A quick breakdown/tutorial of how I do sprite stacking for my game. #gamedev #pixelart #indiedev #godotengine

288,366 views • 1 month ago •via X (Twitter)

41 Comments

zbigniewcebula's profile picture
zbigniewcebula1 month ago

>Tutorial >Look inside >No instructions

BartekDev's profile picture
BartekDev1 month ago

Tak wyszło

zbigniewcebula's profile picture
zbigniewcebula1 month ago

Yup, however still cool that you use sprite stacks. I think it has unexploited potential.

The Captain | 🐟 fish |'s profile picture
The Captain | 🐟 fish |1 month ago

How to make 2d look 3d Step 1: make a 3d model Step-- wait I already have a 3d model, why the fuck would I go back to 2d Step 3: make a 3d game

Aleksandr Kerensky's profile picture
Aleksandr Kerensky1 month ago

That looks really cool, but how much more different is the end result than just using an integer scaled pixel filter on a normal 3D image? Or voxels?

BartekDev's profile picture
BartekDev1 month ago

Tbh 3D with a filter would look similar, but I just wanted to experiment. It's fun to fake 3D the way old-school devs had to. The main difference is whole object sorting instead of a depth buffer, more control over the lighting, and just getting that authentic retro jank

Dr. Dad, PhD 🔄🔼◀️🔽▶️'s profile picture
Dr. Dad, PhD 🔄🔼◀️🔽▶️1 month ago

I am also making a game with pixel art ships rendered from 3D models. I simply baked 32 headings. Maintain a 45 degree camera angle always, so I can get by with just 32. I also pre-baked shadows and the height of each pixel (for sinking animations).

BartekDev's profile picture
BartekDev1 month ago

Woow! Nice work, great minds think alike! Your game seems almost ready and mine is just a little experiment for now, because I barely have any free time right now between work and prepping for my engineering degree exam. Wishing you huge success with the project!

Peter's profile picture
Peter1 month ago

did you just invent voxels?

BartekDev's profile picture
BartekDev1 month ago

Kinda, but it has that authentic retro vibe. For example, object sorting works on whole sprites at once instead of per-pixel depth, which gives it that classic 2.5D look and many more little quirks

Peter's profile picture
Peter1 month ago

well it looks cool!

Rob Miles's profile picture
Rob Miles1 month ago

This is how Command and Conquer Red Alert 2 and Tiberian Sun etc did their units I believe

Austin Wright's profile picture
Austin Wright1 month ago

There's a great amount of hand-waving going on in "4. A bit of perspective math"

Ryan Lenk's profile picture
Ryan Lenk1 month ago

I made a tool you might like let me know if you try it out! Scores bounded PNG sprites against explainable pixel-craft checks. Builds OKLCH hue-shifted material ramps. Quantizes PNGs against original built-ins or bounded user-owned palette JSON without overwriting existing files. Reports same-hue contrast and palette structure. Measures animation motion and visibility using rendered-pixel math. Exports and directly checks trusted local .ase/.aseprite documents through a separately installed Aseprite CLI. Exposes the same bounded operations to local MCP clients over stdio. Replays user-owned, SHA-256-pinned golden corpora without promoting results to approval.

Jacob Beers's profile picture
Jacob Beers1 month ago

That's fantastic! This kind of reminds me of the marching cubes algorithm. You are basically creating voxels by converting slices of the 3D model into pixel layers.

∇♢I3∇♢D ∆M∆L3K, Autistic Autocrat's profile picture
∇♢I3∇♢D ∆M∆L3K, Autistic Autocrat1 month ago

this looks extremely overcomplicated.

BartekDev's profile picture
BartekDev1 month ago

Maybee, spritestacking is well known retro technic and tbh i thought at the end outcome would look more unique and retro…

MrAzza696's profile picture
MrAzza6961 month ago

Why not use 3D in the first place?

BartekDev's profile picture
BartekDev1 month ago

Tbh i thought it would look at the end more retro than it looks right now…

033.eth's profile picture
033.eth1 month ago

soo.. just voxels

ROOT's profile picture
ROOT29 days ago

I've used sprite stacking before, but the issue with this is optimization. Maybe there's a way to do it correctly, but it takes way too much effort to do so. The effect is cool though.

Sven Viking's profile picture
Sven Viking29 days ago

Seems like there must be existing voxel editing tools that could make editing easier?

robert mine's profile picture
robert mine1 month ago

wouldnt it be easier to just use voxels to model and then collapse into pixel slices after

webXOS's profile picture
webXOS29 days ago

Nice I made this similar idea on a custom hybrid 1-bit ecs engine:

kohrabi's profile picture
kohrabi1 month ago

Quick question. Isn't sprite stacking just voxel? Why did you decided to use sprite stacking over voxel?

ilyas's profile picture
ilyas1 month ago

this is very sexy but i think it is a bit undistinguishable in the sea (the features are lost)

*daymare*'s profile picture
*daymare*1 month ago

but why? why not just slap a shader onto it

Rysea's profile picture
Rysea1 month ago

Isn't this just voxel art with extra steps?

Qps's profile picture
Qps1 month ago

This is like black magic to me

Z's profile picture
Z29 days ago

this is like a cat scan sprite renderer 🤯

Adamweishaupt1305.XRP's profile picture
Adamweishaupt1305.XRP1 month ago

That's sick. Nice work

Stefan Eric's profile picture
Stefan Eric1 month ago

This is beautiful, is there a resource you can point me to for more details?

lexobabble 1x10^6 🔞's profile picture
lexobabble 1x10^6 🔞29 days ago

So... voxels? Interesting

Lee Penkman's profile picture
Lee Penkman1 month ago

its like a volumetric image... 3d i guess :D

Sash the Soulsmith's profile picture
Sash the Soulsmith1 month ago

You don't use this for the rocks and stuff, do you?

Somethingp1's profile picture
Somethingp129 days ago

This is such a cool way of doing stuff! I’m exited to see where you go with this

◻️ Sixthorns ◻️'s profile picture
◻️ Sixthorns ◻️29 days ago

Oh, Command and Conquer had similar technology, but they were technically more like pixel voxels, which allowed for animated characters, i liked that.

JKMR♂ @Studio JKMR / ゲーム個人開発 / 10月&11月連続リリース予定's profile picture
JKMR♂ @Studio JKMR / ゲーム個人開発 / 10月&11月連続リリース予定1 month ago

とても興味深い 全ての船が積層で描画されているということ?

Lag's profile picture
Lag1 month ago

@3kliksphilip taught me this one

Alberto💫's profile picture
Alberto💫28 days ago

how are you “extruding thickness” on a stack of sprites?

crumbraven's profile picture
crumbraven29 days ago

@Latiencur this is awesome, really cool stuff man!

Related Videos