by Kino | Sep 10, 2021 | Programming, Tutorials
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...
by Kino | Sep 8, 2021 | Programming, Tutorials
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...
by Kino | Jul 9, 2021 | Programming, Tutorials
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...
by Kino | Jun 6, 2021 | Programming, Tutorials
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...
by Kino | May 14, 2021 | Game Dev, Tutorials
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...
by Kino | May 7, 2021 | Game Dev, Tutorials
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...