Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

How to make 2048 with Felgo

\contentspageHow to make 2048 with Felgo

Tutorial Chapters

  1. Project Setup, Background and Controls
  2. Tiles and Game Logic
  3. Colors and Animations

Introduction

Are you looking for a 2048 tutorial? Great news! You found it!

2048 is a popular puzzle game made by 19-year-old Italian developer Gabriele Cirulli. The user has to slide numbered tiles on a 4x4 grid in order to merge them into a tile of a higher value. Merge tiles up to 2048 to win. The simple swiping control of the game makes it truly addictive. You can also try the game or one of its clones in the Apple Store (2048 by Gabriele Cirulli, 2048) or the Google Play Store (2048 Number Puzzle Game).

This tutorial will guide you through the entire game development process. In addition, it will help you to comprehend the trickiest aspects of 2048 mechanics. Although it looks so simple, it consists of a decent number of components. Good news is, the same principles and components are widely used in many puzzle games, so going through them is definitely worth it.

In case you prefer to directly look at the source code of the 2048 demo game - you can find it along with the other demos in the Felgo SDK. See here where to find the demo in your SDK directory.

For an overview of the game features, see 2048 - Puzzle Game.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded