Haxe React - tic tac toe example  

  Haxe   Feb 6, 2017  No Comments

I’ve ported the tic-tac-toe example from the react-js documentation to haxe. You can find it here.

What is different:

I’ve changed the event handling in order to use msignal instead of passing a function down to the right component.

I’ve created an History/HistoryItem component to get a cleaner code.

To test it, just checkout the repo, install the dependancies:

And build the app.

Pico8 tools for haxe  

  Haxe  Pico-8   Oct 23, 2016  No Comments

I’m prototyping a lot for the Pico-8 console with haxe (using the hxpico8 library), so in order to help my productivity, I’ve built some tools.

What for?

The first aim was to initialize a new project quickly so you don’t lose time and you can start coding right away.

Once the project is built, the tool will take care of the compilation/deployment. Because I’m using haxe, I can’t code directly into the pico8 console and test right away. So the tool will do it for you by:

  • compiling your code
  • backing up the pico8 file used by the console
  • copying the code (the one generated by the hxpico8 lib) into your p8 file and keeping all graphics/sounds…
  • copying the file to where the console can read it.

Once that’s done, you just have to reload your game in the Pico8 console, and test it.

For more information, please take a look at the github repository.

Pico-8 debut  

  Haxe  Pico-8   Apr 23, 2016  No Comments

Quick post to help you start with pico-8 and haxe.

What is Pico-8 ?

If you never heard of it:

PICO-8 is a fantasy console for making, sharing and playing tiny games and other computer programs. When you turn it on, the machine greets you with a shell for typing in Lua commands and provides simple built-in tools for creating your own cartridges.

For more info, please check the official website.

How to use haxe for pico-8 ?

The easiest way to use haxe, is to use YellowAfterlife’s library in order to build lua code. Here is the Github repository.

I’ve created an empty project (as a gist) which you can find below :

Coloring - post mortem  

  Haxe   Mar 29, 2015  No Comments

It took me a while but I finally did it.

I released a new version of my LD31 entry, coloring.

I had to rewrite it completely, because I used my HTML5 framework (AGE) and I wanted to deploy it on mobile. So thanks to haxe and OpenFl I did it without trashing all my old code.

So what’s new ?

  • Animations
  • Better score handling with combos
  • A preview of the colors order and which one can pop
  • A tutorial, to help the beginners understand the game mechanism
  • Google play integration for the Android version (leaderboard and trophies)
  • Lots of bug fixes :)

For the first time, I did integrate unit tests in order to test all (or at least the most) game possibilities. For that I used munit which is really great.

For the leaderboard integration, I’ve used linden-google-play library which is a native extension for OpenFl.

So here you can play the old version, and the new one on itch.io or directly on Google Play:

Get it on Google Play

Enjoy, and let me know what you think.

Coloring - tutorial preview  

  Haxe  Ludum Dare  wip   Feb 19, 2015  No Comments

I have integrated a tutorial which is playable as a little party of Coloring.

##How is it working?

Each turn you play, you have to complete a small challenge, receiving explanations on how to:

  • place a card on the board
  • merge cards
  • understand the UI
  • unblock a color
  • reach a score

What does it look like?

Now I’ve this system working, I’m thinking: why not add achievements or in game challenges ? Stay tuned :)

See older posts