HaxeFlixel: Adding Invincibility To Your Game

HaxeFlixel: Adding Invincibility To Your Game

Hey all, in this post we’re going over how to add invincibility to your player character in HaxeFlixel. This one is pretty straight-forward. Let’s get into it. Why Invincibility Invincibility frames are an old-school staple. When Marios gets hit in Super...
How To Create Scenes In HaxeFlixel

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 Event Listeners

JavaScript Event Listeners

Event Listeners are a core part of using JavaScript in the browser and in some cases the server. So, what is an Event Listener? What Is An Event Listener? An event listener is a JavaScript function that listens to when a specified event is emitted/occurs on a webpage;...
HaxeFlixel: Simple Text Cutscene

HaxeFlixel: Simple Text Cutscene

As part of my current game project, we wanted to capture that retro aesthetic when setting up the game world. To do that, we created a simple text-based cutscene system with a skip function. Here’s an example of it working in-game. Soul Taker Example Of Cutscene...
HaxeFlixel: How To Lock Your UI

HaxeFlixel: How To Lock Your UI

HaxeFlixel is a great engine used for making 2D cross-platform games. Each engine has its own way of doing things. So, how is the UI position handled in Flixel? Have you ever run into an issue where your game UI moves out of place in Flixel? There is a simple fix for...
How To Change Output Names In Haxe

How To Change Output Names In Haxe

Have you ever had an issue where the name of your class doesn’t match up with the output in Haxe? I know I have, and there is a simple fix for this issue, which will help you when creating libraries, APIs, and bindings to other libraries in separate languages....