Haxe Build Macro Basics

Haxe Build Macro Basics

Hope you’re having a great day. Today, we’re getting into the nitty-gritty of Haxe black magic, aka Macros. But, let’s describe what macros allow you to do in Haxe. Power Of Macros Macros allow you to write code that generates code. That’s...
HaxeFlixel – Fix Overlap Not Registering

HaxeFlixel – Fix Overlap Not Registering

Hey all, here’s a quick tip on how to fix an issue with your hitboxes in Flixel. Let me know if you’ve heard this one before. The Problem Have you ever heard of an issue where you’re working on your game and after your character moves outside the...
HaxeFlixel – Screen vs World Position

HaxeFlixel – Screen vs World Position

Hey all, today we have a simpler post on the difference between world position and screen position in HaxeFlixel. Note, these can apply across game engines. Let’s get into it, as they both have theiru ses. Let’s start with World Position. World Position...
HaxeFlixel – Decoupling With Signals

HaxeFlixel – Decoupling With Signals

Hey all, today we’re getting into signals in HaxeFlixel and how they allow you to decouple your code, making your life several times easier. You may not know what signals are, but after this you should have a good understanding of how beneficial they can be....
Haxe Introduction To Enums

Haxe Introduction To Enums

Hey everyone, today we’re giving a short introduction to Enums in Haxe and how you can use them to improve your code readability, clarity, and safety. If you’ve come from languages like Java or the .NET family, they should not be a foreign concept to you,...
Haxe Finding Uses For Rest

Haxe Finding Uses For Rest

Hey everyone, recently in 4.2, they added an awesome new feature to the Haxe programming language. Rest has been added to Haxe. If you worked in JavaScript, Reason, or some other languages, you’ve seen the … operator before; that’s rest and Haxe now...