64x64 icon dark hosting
Choose a hosting plan here and get a free year's subscription to Tuts+ (worth $180).


  • artificial intelligence
    Create a Hockey Game AI Using Steering Behaviors: DefenseHockey defense preview
    In this tutorial, we finish coding our hockey game artificial intelligence using steering behaviors and finite state machines. This time, we implement the AI required by game entities to defend their team's goal from their opponents' attack.Read More…
  • JavaScript
    How to Minify Your HTML5 Game for the Js13kGames CompetitionJs13kgames banner 400x277
    As you may know, the third edition of the js13kGames competition is here: the official start is set for August 13th, 13:00 CEST. Js13kGames is a competition for HTML5 game developers where the fun and challenging part of the compo is keeping your entire game under 13KB. In this article, I'll share my tips to help you do that!Read More…
  • artificial intelligence
    Create a Hockey Game AI Using Steering Behaviors: AttackHockey attack preview
    In this tutorial, we continue coding artificial intelligence for a hockey game using steering behaviors and finite state machines. In this part of the series, you will learn about the AI required by game entities to coordinate an attack, which involves intercepting and carrying the puck to the opponent's goal.Read More…
  • Game Engine Development
    What is Data-Oriented Game Engine Design?Data oriented game engines
    You may have heard of data-oriented design, a relatively new concept that proposes a different mindset to the more traditional object-oriented design. In this article, I'll explain what DOD is all about, and why some game engine developers feel it could be the ticket for spectacular performance gains.Read More…
  • artificial intelligence
    Create a Hockey Game AI Using Steering Behaviors: FoundationHockey foundation preview
    If you're going to make an action, sports, or strategy game with many units controlled by the computer, you will need some serious artificial intelligence. In this tutorial, we begin coding AI for a hockey game using steering behaviors and finite state machines. You'll learn the advanced artificial intelligence required by game entities to avoid bumping into teammates and to chase after a target entity.Read More…
  • Game Mechanics
    How to Code HUD Cooldown BarsCdbars
    In many games, the player needs a visual display of the time remaining before being able to perform a certain action, such as casting a spell. Cooldown bars on the HUD or UI are a great way to present this information. In this article, complete with sample code and demos, you'll learn how to implement cooldown bars in your game—no matter what engine you use.Read More…
  • Game Engine Development
    How to Save and Load Your Players' Progress in UnityScreen%20shot%202014 05 10%20at%201.25.42%20pm
    Any game larger than a one level demo can benefit from the ability to restore the player's progress on subsequent play sessions. In this tutorial, you'll learn how to build a basic savegame system in Unity that implements a console-style "save slot" system.Read More…
  • Game Mechanics
    How to Code Monster Loot DropsHow to code monster loot drops
    In RPGs, platformers, and many other types of game, one common mechanic is for enemies to drop items the moment they are killed. In this tutorial, you'll learn a few ways to implement those drops, whatever your coding language or tool is.Read More…
  • Unity
    Creating Dynamic 2D Water Effects in UnityWater 400
    In this tutorial, we're going to simulate a dynamic 2D body of water using simple physics. We will use a mixture of a line renderer, mesh renderers, triggers and particles to create our effect.Read More…
  • Complete Games
    Make a Megaman-Inspired Game in Construct 2Megaman 400px
    I am going to walk you through the creation of a Megaman-inspired shooter/platformer game. We will be more focused on the shooting aspects of the gameplay rather than the platforming. In this tutorial I will be using Construct 2 as the tool to make the game, but I will explain the logic using pseudocode so that you can follow this tutorial in any language or engine of your choice.Read More…
  • Roguelike
    How to Make Your First Roguelike400px
    Roguelikes have been in the spotlight recently, with games like Dungeons of Dredmor, Spelunky, The Binding of Isaac, and FTL reaching wide audiences and receiving critical acclaim. Long enjoyed by hardcore players in a tiny niche, roguelike elements in various combinations now help bring more depth and replayability to many existing genres.Read More…
  • How to Learn
    How to Learn the Phaser HTML5 Game EngineHeader
    Phaser is an open source HTML5 game framework created by Photon Storm. It's designed to create games that will run on desktop and mobile web browsers. A lot of focus was given to performance inside of mobile web browsers, a growing and important area of web gaming.Read More…