Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

It's fake 3D! It's based on a hand-drawn frame by frame sprite animation. Reaktori drew the art for it and programmed the initial implementation.

The die sprite looks like this:

But then it's also rotated so it'll look something like this (this gif here is a bit janky, sorry):

Then on top of that die sprite we draw the faces of the die. The faces are just static sprites and they're drawn on the die 1) positioned and scaled depending on which side of the die it's on and which frame of the die animation is currently being drawn, and 2) rotated to the same angle as the die.

¡Awesome answer! really clever, cause this was made on Game Maker and i was wondering how you guys fake the 3D.

One more question, when de die finally hits the ground, i can't not tell if the final result is random or if it actually following the the fake 3d rotation really interesting.

It's supposed to actually respect the face that's actually visible on the die! But I found that the die drawing is a bit buggy sometimes. So it's possible that it might be drawing the wrong face at times, making it look like the face doesn't determine which unit is spawned.