How to make 2048 with V-Play

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 V-Play SDK. See here where to find the demo in your SDK directory.

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

Videos

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support