I’ve finally participated in Ludum Dare 27, a 48 hour game-development competition.
My game is 10corp, a reflex-based, frustrating, puzzle platformer.

The game is written in C++11, using only SFML2.1 and JsonCpp as external dependencies. It is written using my personal “SSV framework”, written from scratch, which is free, open-source and available on GitHub.
I couldn’t manage to polish the game as much as I wanted to. There only are 7 playable levels, no gfx options, no key rebinding, et cetera.
Still, being my first Ludum Dare, it was a very interesting and learning experience and I’m glad (and surprised) I managed to create something (in my opinion) worth playing that could become a fun little game with additional polish.
Hope you enjoy my entry!
Also, Open Hexagon news:
2.0 is still under development, don’t worry! It will take some time, though.
Here’s a cool video of Open Hexagon running on OS X, with Wine!
After adding discount to my static website generator, I was unsatisfied with the C code introduced in my project:
extern "C"
{
#include <mkdio.h>
}
// ...
FILE* f1 = fopen(mdPath.c_str(), "r");
FILE* f2 = fopen(mdResPath.c_str(), "w");
MMIOT* in = mkd_in(f1, 0);
markdown(in, f2, 0);
fclose(f1);
fclose(f2);
I looked for alternatives, but I couldn’t find any native C++ Markdown library or any C++ wrapper for C Markdown libaries. So I decided to create a C++11 wrapper for discount, called DiscountCpp. It currently implements very few functions from Discount, but offers a very easy-to-use interface to quickly convert Markdown to HTML.
The updated code looks like this:
#include <DiscountCpp/DiscountCpp.h>
// ...
discountcpp::getHTMLFromMarkdownFile(mdPath);
Now I can sleep in peace.
P.S.: I also implemented syntax highlighting on the site thanks to highlight.js.
I added discount to my static website generator.
Writing blog posts is now much easier!
###ffmpeg, twitch.tv
I’ve also started occasionally streaming myself code on twitch.tv. It was painful to set up, but these are the commands I use:
Setting up loopbacks to record both microphone and pc audio
#!/bin/bash pactl load-module module-null-sink pactl load-module module-loopback pactl load-module module-loopback
Launching the stream itself
#!/bin/bash KEY="<your twitch.tv key here>" ffmpeg -f x11grab -s 1920x1080 -r 20 -i :0.0+1680,0 \ -f alsa -ac 2 -i pulse -c:v libx264 -preset ultrafast \ -pix_fmt yuv420p -s 1920x1080 -threads 4 -acodec libmp3lame \ -ar 22050 -qscale 3 -b 712000 -bufsize 512k \ -af aresample=44100 \ -f flv "rtmp://live-ams.twitch.tv/app/$KEY"
After launching the stream
pavucontrol # to set up loopbacks redirection
###school finals results
After the last blog post my exam score was announced: I graduated with 100/100 cum laude!
This is a great achievement for me. I am already looking forward to start computer science in university in a few months.
Today was the last day of school finals. I'm very happy about how my exams went and even happier that I finally have a lot more free time!
I 've also been working on Open Hexagon 2.0, which will be a big gameplay update with new levels and mechanics. Check the beta out on the official Facebook page.
Finally, a multi-architecture (both 32 and 64 bit) .tar.xz archive is available!
Download on the projects page, as usual.: )
Friend list and key customization added. (minor update) If you 're using the auto updater to update, delete ' config.json ' from your folder first!
Rewritten from scratch... opening the way for cross-platform updating.
I've created two tutorial videos where I explain how to speed up collision broad-phase detection using a 2D grid spatial partitioning algorithm. Check them out in the tutorials section!