Instance vs Static Properties

Recently I’ve had the opportunity to work with others on a new game. In that period I noticed sometimes concepts can be lost over time such as Instance vs Static properties. Today, I wanted to provide a brief interpretation of the differences, starting with...
Struct Init

Struct Init

Recently, I learned of a new metadata tag in Haxe that allows you to get the flexibility of structs with the power of classes. That’s the power of Struct Init. Let’s talk about how to use it, starting now.   The Metadata Tag If you haven’t used...
Advanced Enums

Advanced Enums

Hey all, as promised we are continuing on our use of Enums in Haxe. To read the previous post, you can find it here. Now, let’s get into it. What Are Advanced Enums As mentioned before Enums can help you better represent important types in your code. For...
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...
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...