Advertisement

Programming

  • Pathfinding
    How to Adapt A* Pathfinding to a 2D Grid-Based Platformer: ImplementationAdapting a star pathfinding to platformers code
    45 shares
    Now that we have a good idea of how to modify an A* pathfinding algorithm to work for platformers, it's time to actually code it. Rather than build it from scratch, we'll adapt an existing A* pathfinding system to add the new platfomer compatibility. The result will be a path that the player can follow to get from A to B.Read More…
  • Pathfinding
    How to Adapt A* Pathfinding to a 2D Grid-Based Platformer: TheoryAdapting a star pathfinding to platformers
    52 shares
    In this tutorial, I'll explain a broad overview of how to modify a standard A* pathfinding algorithm to work for platformers by taking into account the way gravity restricts vertical movement. The new algorithm could be used to create an AI character that follows the player, or to show the player a route to their goal, for example.Read More…
  • Shaders
    A Beginner's Guide to Coding Graphics Shaders: Part 3Preview
    49 shares
    Having mastered the basics of shaders, we take a hands-on approach to harnessing the power of the GPU to create realistic, dynamic lighting.Read More…
  • Shaders
    A Beginner's Guide to Coding Graphics Shaders: Part 2 A beginners guide to graphics shaders part 2
    31 shares
    In Part 1, we looked at the basics of writing a graphics shader with ShaderToy. In this part, we look at how to set up our own graphics shader environment on any platform (using WebGL as a specific example), and how to create more complex effects by sending data to our shader.Read More…
  • Java
    Introduction to JavaFX for Game DevelopmentJavafx
    72 shares
    JavaFX is a cross platform GUI toolkit for Java, and is the successor to the Java Swing libraries. In this tutorial, we will explore the features of JavaFX that make it easy to use to get started programming games in Java.Read More…
  • artificial intelligence
    Create a Hockey Game AI Using Steering Behaviors: Game MechanicsHockey game mechanic preview
    72 shares
    In this part of the series, we'll add the missing pieces required to turn the hockey prototype into an actual, playable game. These include a score, power-ups, and a core mechanic that involves freezing and shattering opponents.Read More…
  • artificial intelligence
    Create a Hockey Game AI Using Steering Behaviors: DefenseHockey defense preview
    51 shares
    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
    107 shares
    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
    14 shares
    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
    167 shares
    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
    15 shares
    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
    52 shares
    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…
Advertisement
Advertisement