Menu

1 / 2

Building a route-chaining block puzzle in Unreal Engine 5.8 with C++

DEV Community: cpp·evangelos dimopoulos·2 days ago
#GpGNfa9V
#devtocpp#devto#dev#game#demo
Reading 0:00
15s threshold

We're a small team of gamers with mixed coding backgrounds, and we just released a free demo of our first game, Wyrd Hands: Block Puzzle (Windows, Linux, Android). This post is about how it's built, not about the game itself, so here is the short version first: every tile carries a skeleton hand pointing up, right, down or left, and you chain the hands from one edge of the board to the other to clear a route.

Demo and downloads on itch.io

The rule that makes it a puzzle

A tile on the edge of the board that points away from the side it touches is a route starter . One that points straight at a side it touches is a route ender . A chain of tiles that each point at the next, from a starter to an ender on the far side, clears and scores. Routes that share tiles score extra.

That's the whole mechanic. The board logic is a small amount of C++: find starters, follow the pointing direction tile by tile, and stop when the chain breaks or reaches an ender.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.