So far, we have setup the Haxe/HaxeFlixel environment and installed Sublime Text for our code. Let’s begin with the most basic, a “Hello World” HaxeFlixel project.
To create a project, you will need to use Command Prompt (or Terminal in OSX). To edit your project’s source code files, you will be using Sublime Text.
All the instructions you need are included in this page alone:
http://haxeflixel.com/documentation/hello-world-command-line/
Note: your sample game project size may not be exact, but as long as the result is similar, then you’re fine.
At the end of the page, you would have accomplished the following:
- Create a template HaxeFlixel project
- Added a “Hello World” text on the top-left of the game screen
- Build and test the game
And that’s really all you need to know as a basis to begin building your game, really. In our next post, we shall begin a series of tutorials for making our first game.