Unreal Engine is one of the most popular game development platforms, and it's completely free to use. When most people think of Unreal Engine, they think of 3D games. But you can also use it to build 2D games.

We just released a full 3-hour Unreal Engine course on the freeCodeCamp.org YouTube channel that will teach you how to create a 2D Snake game. The course was created by game developer extraordinaire Fahir from Awesome Tuts.

In this tutorial, you'll build the classic game snake. A player can control the snake, pick up food, grow the snake, score points, and eventually crash and trigger a game over. There are also some simple animations for different events in the game.

You will learn how to use Blueprints to create the game. Blueprints is the visual scripting system inside Unreal Engine. It makes it quicker to get a game up and running. You hardly have to write any actual code to create the game.

There are sprites, textures, and flipbooks assets needed for this game. And they are all included via a download link.

After you finish creating the game in the tutorial, you can use the same assets to improve the game on your own, or to create a brand new game.

You can watch the full course on the freeCodeCamp.org YouTube channel (3 hour watch).


And if you want to get into the snake mood first, you can play a snake game below using your arrow keys. The game you create will be even cooler than this. ? (Source)