HaxeFlixel – Pathing In Your Game

Hey everyone, Kino here. Today we’re showing off how to do pathing in Flixel. Yes, Flixel does have pathing out of the box. But, what is pathing, and how do we do it? Pathing Pathing is self explanatory, it follows a set of points to the goal. This can be useful for...

How To Create Scenes In HaxeFlixel

Creating different scenes is fundamental to creating any large game. A scene allows you to logically separate the concerns of each of your different game mechanics that do not mix. For example, a menu doesn’t usually appear while you’re playing the game...

JavaScript Callback Functions

Introduction Callback functions are a concept that should be explained because you’ll see them constantly in JavaScript. Functions are objects so we can pass them as parameters; this important key makes callback functions viable. Today, we explain what are...

JavaScript Arrow Functions

Introduction Functions are a collection of instructions that are used to accomplish a task. In JavaScript, there are two types of functions you’ll see often; the standard function and the arrow function. Now, there are some key characteristics that separate...

JavaScript Variables

Every programming languages come with basic building blocks; variables are one of those blocks. Variables are the storage compartments that make dreams come true. In this chapter, we’ll be discussing a variable’s purpose and scope. Purpose Of...