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...

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....

ES6 Strings

Introduction Strings are a part of almost any object-oriented programming language. Today, we’re going to discuss some of the basics of strings, and what new features are available to us with strings when using ES6. Strings Strings are a sequence of characters...

Don’t Start With Your Story

When making a game a good rule to have is to not start with your story first. Now, you might be thinking I’m talking complete blasphemy, but hear me out, because I’ve made that mistake as well.   Tangled By The Story I first started making games with...

JavaScript Pitfalls

Today’s post isn’t about new techniques. Today we cover some things to be wary of in JavaScript. These include Function Hoisting, pass by value, scoping rules, and this. Function Hoisting Function hosting can be a problem. When you create a function...