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

290,791 views • 2 months ago •via X (Twitter)

41 Comments

zbigniewcebula's profile picture
zbigniewcebula2 months ago

>Tutorial >Look inside >No instructions

BartekDev's profile picture
BartekDev2 months ago

Tak wyszło

zbigniewcebula's profile picture
zbigniewcebula2 months 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 |2 months 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 Kerensky2 months 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
BartekDev2 months 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 🔄🔼◀️🔽▶️2 months 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
BartekDev2 months 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
Peter2 months ago

did you just invent voxels?

BartekDev's profile picture
BartekDev2 months 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
Peter2 months ago

well it looks cool!

Rob Miles's profile picture
Rob Miles2 months 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 Wright2 months ago

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

Ryan Lenk's profile picture
Ryan Lenk2 months 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 Beers2 months 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 Autocrat2 months ago

this looks extremely overcomplicated.

BartekDev's profile picture
BartekDev2 months 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
MrAzza6962 months ago

Why not use 3D in the first place?

BartekDev's profile picture
BartekDev2 months ago

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

033.eth's profile picture
033.eth2 months ago

soo.. just voxels

ROOT's profile picture
ROOT2 months 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 Viking2 months ago

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

robert mine's profile picture
robert mine2 months ago

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

webXOS's profile picture
webXOS2 months ago

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

kohrabi's profile picture
kohrabi2 months ago

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

ilyas's profile picture
ilyas2 months 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*2 months ago

but why? why not just slap a shader onto it

Rysea's profile picture
Rysea2 months ago

Isn't this just voxel art with extra steps?

Qps's profile picture
Qps2 months ago

This is like black magic to me

Z's profile picture
Z2 months ago

this is like a cat scan sprite renderer 🤯

Adamweishaupt1305.XRP's profile picture
Adamweishaupt1305.XRP2 months ago

That's sick. Nice work

Stefan Eric's profile picture
Stefan Eric2 months 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 🔞2 months ago

So... voxels? Interesting

Lee Penkman's profile picture
Lee Penkman2 months ago

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

Sash the Soulsmith's profile picture
Sash the Soulsmith2 months ago

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

Somethingp1's profile picture
Somethingp12 months 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 ◻️2 months 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月連続リリース予定2 months ago

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

Lag's profile picture
Lag2 months ago

@3kliksphilip taught me this one

Alberto💫's profile picture
Alberto💫2 months ago

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

crumbraven's profile picture
crumbraven2 months ago

@Latiencur this is awesome, really cool stuff man!

Related Videos