Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Wow! This is one of the most creative puzzle games I’ve seen for the theme. I completed it from start to finish. The coding for the camera and cube rotation must’ve been hell to deal with. 

I’m curious, how did you blend the 2D platformer movement with the rotating 3D cubes? My guess is that the player and platform sprites have invisible 3D colliders, while the character movement is locked to two axes so it still plays like a 2D platformer. Is that how it works? 

Anyway, it's a really cool game. Nice job!

(+1)

Hi, thanks for playing! 

You were right about the 2D object (the octopus and the floor) having hidden 3D colliders. A trick I found while doing this is to make the colliders relatively thick. If these colliders are too thin, there are chances that small movements will cause the player to fall through the floor. 

I didn't lock the axes, though, since the axes would rotate when the player rotates with the cube (or in other words, I'm using the player's local axes instead of the world axes; I don't think I locked any of the axes). 

I've one script that helps lock the distance between the player and the surface of the cube, and the player also has a custom gravity script that applies gravity to the player's local downward direction (this script is disabled during rotation to prevent the player from falling). When standing on a cube, the player will temporarily become a child of that cube so it can rotate along.

Ah, I see. That's interesting to know. Thanks for sharing!