About Sébastien Bernery (twitter: @SebBernery)

French developper from Caen.


Ludum Dare 37
Ludum Dare 36
Ludum Dare 35
Ludum Dare 33
Ludum Dare 32
Ludum Dare 30
Ludum Dare 29
Ludum Dare 23
Ludum Dare 17

Sébastien Bernery's Trophies

The Special Award in Collision Detection
Awarded by Doches
on December 13, 2008

Sébastien Bernery's Archive

Published Slavery Triangular Trade

Posted by (twitter: @SebBernery)
Saturday, December 31st, 2016 3:38 am

Hello everyone !

I just released a polished version of my LD33 compo. You can play to the new version here.

I corrected some bugs, redraw assets, made better UI, improved little aspects. It’s far easier to get into the game now (it’s a little complicated).

Here is a before / after screenshot :



Holà from France

Posted by (twitter: @SebBernery)
Friday, April 15th, 2016 12:23 pm

Hello everyone !

Going to participate to LD35, here are my weapons :

  • HaxeFlixel
  • Vim + Tmux
  • Staaxe for Stats ( https://github.com/sebbernery/staaxe )
  • Krita
  • Tiled ?


I will participate with some guys from Vikindie. Good week end is comming !

Hi there

Posted by (twitter: @SebBernery)
Friday, December 11th, 2015 3:36 pm

Hello everyone !

I’m in for the LudumDare Compo ! Here are my tools :

  • Haxe
  • HaxeFlixel
  • Krita
  • Vim / Tmux
  • Tiled?

All of that on Ubuntu.

Here is my personal library : http://code.vikindie.fr/Sebastien/GamesTools .

I will be mainly in my company (you can’t refuse desk, screens and fiber Internet !) with some collegues / friends (all part of the Vikindie association). We will stream on http://www.twitch.tv/Vikindie .


Oh, by the way, as a french, I have to say, don’t forget people having an azerty keyboard :).

Have fun everyone !

Postmortem: Slavery Simulator 2015

Posted by (twitter: @SebBernery)
Saturday, August 29th, 2015 10:34 am

Here is my postmortem for the 33th edition of LudumDare. Theme was “You are the monster”. You can read it on the vikindie blog.


My game is a basic tycoon game where you have to organize the “triangular trade” : get soldiers in Europe to capture slaves in Africa and produce new world’s goods to send them to Europe.

Slavery Simulator 2015

Final game

Idea finding

When doing LudumDare, I try to be original in the theme interpretation. I’m a little disappointed because my game doesn’t reflect what I planned initially to match the theme. I was thinking about moral choices for the player (“Pay 100 for a medic or 10 slaves died”, …) and I wanted to have an authority in the game trying to fight slavery, with some navy tracking your ships, and laws passing like Habeas Corpus. The goal was to create frustration for the player so he could say “Oh, fuck, humans right bill passed”. The idea was that “YOU are the monster” don’t designate the game character but the player himself.
I love tycoon games and was very happy to create one for LudumDare (I usually create character centered games).


I used HaxeFlixel. It’s my 4th ludum dare game using that fantastic game engine. For the first time, I used it fluently (I praticed a lot last months). That was awesome.

The HTML5 export had never worked for me, so I planned to create a flash game. I live in France, so the end of the jam is at 3AM. Midnight, I said to myself “Hey, it could be a good idea to test if the game works with flash !”. Spoil: it didn’t. It was VERY slow and buttons was all the same color (the button’s color is an important thing, I will speak about it later). I spend some minutes to optimize the game but it was still too slow and buggy. So I tried the HTML5 export. I didn’t belived. It worked. That was awesome (let’s be honest, I don’t like flash).

I still use a proven and reliable IDE : vim, tmux and my personnal configuration ;-). If you are interested, here is my vimrc.


I used Krita… and tried to do something. I spent one hour to draw the map (saturday night, 1AM, before bed). Probably something like one hour more to create all buildings and the boat. No animation, no different images when buildings upgrade, … That pretty sucks and lead to a static game. But I consider that graphics are not very important in a tycoon game, and I hate those business simulation games where graphics go AGAINST the game (think about Railroad Tycoon 3 where the 3D hype leads to unreadable informations).

Yes, this is a Mapmonde.

Yes, this is a Mapmonde. This was my game before assets creation.


It was the last thing I did. It was probably midnight past thirty, I plugged a MIDI keyboard, opened LMMS, then Pixitracker, tried to do something audible … Nothing came. So I used Abundant music, it generates music procedurally. In less than one hour I had one music that correctly fits my games. Really happy about it, the game without music would be boring. The main problem, there is only one music, no sound effects and the music don’t transparently loop (you can hear the transition).
Next step, learn how to tweak the generated midi to humanly customize it.


Honestly, I was very lucky, my game system pretty works. I created the concepts and tested them individually but I only tested to play a complete game once. I changed things after that and never tested again before submit.
After submit I saw some issues :
When harbour storage is full, it displays hundred same messages every seconds. Logger window become useless and it may hides informations (like events).
The soldier price is not updated when you upgrade barracks, so I suppose many persons didn’t understood why upgrade barracks. In fact, the soldier price raise each time you buy one. When you upgrade barracks, you divide by 4 the soldier price.
When a boat is in USA, it loads tobacco first, then sugar if space left. Unfortunately, you can have big reserve of sugar in America but you can’t sell it. As you don’t sell it, price raise. But you can’t sell it, so it’s very frustrating. (And the sugar price raise too fast).

My saturday afternoon fuel : carrots and sun.

My saturday afternoon fuel : carrots and sun.


LudumDare games are usually played in something like less than five minutes and you have one minute to convince the player to continue his game session.
The best I could do would be an interactive tutorial, or at least, a visual help. I absolutly did nothing like that. The only help was a special screen with boring text.
To let people understand the game, I made color changing button depending of actions availables. With that, even if you don’t understand anything to the game, you just have to click green buttons and something good will happens.
The only exception is the boat parts which is always green but is not always a good choice to make.
My theory is that if the player randomly play by clicking on available actions, he will progessively understand what happens and the meaning of the actions (and of the game). After some time of random play, he will be able to do more intelligent actions because he saw what happened with his choices.
At the begining of the game development, the buttons which can’t be used (not enough gold, …) was hidden. This solution seems bad for me because the player is not aware of all actions available in the game and what to do to unlock them.

Theorically, there is a loose condition : if you don’t amass 5000 Gold until Jan 1700. There is an ending with a fucking awesome sentence, but nobody will see it because you can’t really loose. During my tests developements, I was able to do bad investments which leads to a situation where you can’t do anything (not enough money).
I didn’t want to frustrate the player which don’t know the game by letting him loose in the ten first seconds without telling him before 20 minutes of play. So I changed some part : now, all essentials first investments are done automatically : there is a village, a plantation and a slave. The first soldier is free. Even by doing whatever stupid, you will be able to slowly earn money to make better investments.


I’m very happy with this game. I hope you will enjoy playing it as much as me developing it. I wan’t to participate to october challenge, maybe I will reuse Slavery Simulator and continue the development, it depends on the users feedback, ideas to enhance the concept (already got some) and my motivation. Follow me on Twitter if it may interest you.

Here is my compo page : Slave Simulator 2015 . To play the game, it’s here.
Ps: don’t forget to look at Am I the monster?, game made by a friend who invited me in his appartment to do LudumDare and prepared me good tasting coffee.

Starting day 2

Posted by (twitter: @SebBernery)
Sunday, April 19th, 2015 3:19 am

I’m happy with my first day. Here is a quick summary :



Unlike what photo says, the burger was no really good tasting ;'(.

Some issues with HaxeFlixel but all of them have been resolved. Here is my game-in-progress :


In this game, you play a revolutionary guy who want to fight the government by sticking posters warning people. Unfortunately, the guards in the city don’t like troublemakers. I call the game PaperBeatsTyranny.

As you can see, sunday is assets day :). Still many work to do.

Ps: I’m squatting in a friend apartment who also participate to LudumDare (with a team), watch their twitch stream : http://www.twitch.tv/blist_ (Nobody is working for the moment).

Thanks god, it’s Ludum !

Posted by (twitter: @SebBernery)
Friday, April 17th, 2015 2:50 pm

Hello everyone !

I can’t wait to start this crazy week end. I failed four month ago, I hope I will do better for this event. My tools are ready :

  •  HaxeFlixel
  • Krita
  • and depending the needs : Tiled? Lmms? PixiTracker?

Oh, I’m french, so nothing for me before tomorrow morning. Here is my template project, with some personal snippets : http://code.vikindie.fr/Sebastien/flixel-template .

Good luck.

Pfiou, night is comming

Posted by (twitter: @SebBernery)
Saturday, August 23rd, 2014 4:34 pm

Hey, here is the result of my first day. Tomorrow, I create the assets.

Capture d'écran de 2014-08-24 01:32:08

Good night for everyone (especially those living in Europa).

I’m in !

Posted by (twitter: @SebBernery)
Friday, August 22nd, 2014 1:50 pm

Hey !

Here are the tools I planned to use :

  •  Haxe / HaxeFlixel
  • Vim + tmux (with a wonderfull configuration you can found here)
  • Krita
  • MilkyTracer (if I have enough time)
  • Tiled (with my snippet loader here)

Good luck for everyone and have fun !

Preparation of LD30

Posted by (twitter: @SebBernery)
Friday, August 15th, 2014 2:13 pm

Hi everyone !

The 30th edition of LudumDare will start soon, it’s a good moment to think about what happend in the previous edition. Here is the link of my compo : http://www.ludumdare.com/compo/ludum-dare-29/?action=preview&uid=484




I consider that it was a success. My goal was to create a game with a start and an end and Unminor meets the exigence. For my previous participations, I used to program in Python with Pygame. It was painfull to develop with it, I really love Python and use it almost everyday at work but there is so many missing common features you have to code yourself with Pygame … I think it’s too low level for Ludums. Oh, and the deployment part is horrible. I still don’t know how to generate a windows executable that just work.

For LD29, I tried Haxe with HaxeFlixel framework. It was a pure pleasure to use. There is all builtin functions needed to quickly develop a game (loading a map, handle velocity for objects, …). My favorite part was the sunday night : in five minutes I had working builds for windows, linux and flash. I will definitively use it again for LD30.

The main issue I remember was to load a map from tiled. I misused the functions to load a map so it took me a too long time to have a functionnal stuff.My map class is more than 100 lines long, and the biggest majority of those will probably be the same in every projects.

So this week end I will write a Map class to speed up the development time for handeling a map from Tiled. It was very helpful to have a powerful external map editor.

In the feedbacks, there was multiple complains about the lack of wasd controls. In fact, me neither, I don’t like directional keys. But I’m french and here, we use zqsd. Usually, games allow users to remap their keys, but who want to map their keys for a 5 minutes flash game ? Some games ask the user if they use zqsd or wasd controls but I did’nt had time for that. After thinking about it, there is no conflict having wasd and zqsd working in the same time (and directional keys for people who wants). Also, the support of a gamepad like a 360 controller could be a cool feature. So for the LD30, I will map wasd, zqsd and directional keys. This week end, I will develop an input handler to speed up that part of the development. It will be great if I can support console controllers and virtual gamepad (for mobile) with that.

By looking in my source code, I see that I should create a generic Menu class to spend less time on it for LD30. I remember I spend maybe one hour on it, and it’s just a waste of time to display a title, create an animation and 3 buttons. So, one thing more to do this week end.

There is two sounds in the game : beep and bip. I used bfrx. This is an amazing tool, but I don’t know how to use it except by randomly change all parameters until I hear something correct. I should practice … For LD30 I don’t know if I will use Bfxr or Jfxr, those tools seems similar, I don’t know if there are big differences.

My game don’t have any music. It’s a bad thing. I tested many games of ludumdare and … A game without any sound is just awfull. Any game that plays 3 notes in a loop enhance greatly the game experience. So if I can I will use Lmms for composing a little music. Unfortunately, I have no music knowledge. I think that one day, I will buy Rocksmith to learn to play guitar so I will be able to learn music composition. Until that moment, I will try to do a partition with good looking patterns and pray that it generate a good melody.

For graphics, I used Gimp. I was happy with what I’ve done even if it was ugly. I will use Krita for LD30 and I should customize the work panel to fits my needs.

In term of organization, first I managed to find a project I was sure I was able to achieve in a week end. It’s what was wrong for me during the last editions. Secondly, before the tasks I started, I choose how much time I will spend. If this time is over, I stop working on it and try to do something functional with what have been done even if I didn’t finish. This is because during the LD28, I spent one complete afternoon trying to do with rotations of the canons on my boats (yes, I sucks in trigonometry). This was a big waste of time, I should have found a workaround even if it lower the quality of the game (a bad game is better than no game for a compo, no ?). The big problem in this situation is that you think something like “oh, no, I spend two hours on it, it would be stupid to abandon after so many time, maybe I will found the solution quickly now !”. So now, I try to avoid that with my timeout for every task I do. Oh, and another good thing about this method : when you work on polishing, it’s hard to know if you have to stop or continue and work on another thing. With the timeout method, no need to ask, you try to be better until the clock says to stop (except of course if you are proud of what you did and don’t see how to do better).

During LD29, I was working at school with some friends, maybe we spent too many times for our meals, but if it can maintain the moral up, it’s a good thing.

Maybe my postmortem was too late, but as we say here, it’s better later than never.

Oh, and as I said before, I’m french so excuse my language ( http://danstonchat.com/1337.html ).

So happy !

Posted by (twitter: @SebBernery)
Sunday, April 27th, 2014 1:25 pm

I’m so happy, I finished Unminor, the game has a start and an end, I really enjoyed to develop it and I had time to do other things than coding (graphism and map creation, unfortunately I had no time to create a music).

Haxe and HaxeFlixel are really good tools to quickly develop a video game. But they still lacks a big community.

Capture d'écran de 2014-04-27 21:57:47

You can play here : http://docs.bernery.eu/gamejam/Unminor/ .

Have a good evening and good luck to everyone that are still working.

Tonight is the night

Posted by (twitter: @SebBernery)
Saturday, April 26th, 2014 1:37 pm

Hey !


I just eat a big pizza drunk some RedBull, put my best ninja cloths and plugged in my speakers. The night can begin !

Oh, and the game is fine, I almost finished the core of coding. Now I have to enhance the user experience and draw some sprites.

The idea is to do a minesweeper. You control a man that want to defuse all mines presents on the map. You have to search them with your metal detector and defuse them but be carefull, you have a limited number of defuse kit.

Capture d'écran de 2014-04-26 22:36:17

Have a good night or whatever you want depending on your timezone.


Lunch !

Posted by (twitter: @SebBernery)
Saturday, April 26th, 2014 5:47 am

Hey !

Things are going slowly, but fine. Now, it’s time to eat.

It must be the burgers

Yeah, Ludum !

Posted by (twitter: @SebBernery)
Friday, April 25th, 2014 11:26 am

Hello everyone !

I participated to 5 LudumDare and finished 3 of them. I’m pretty fluent in Python so I used it with Pygame at every single edition. Now, I want to discover something else, and what is better than LudumDare to do that ?

I’d many hesitations, I tried to setup a working Monogame development environment under Linux, but it never worked. But after one previous humble bundle weekly sale on which Haxe was the honor guest, I wanted to learn more about it.

So, I’m in :

Language : Haxe

Framework : HaxeFlixel (big hesitation with HaxePunk)

Graphics : Usually I use KolourPaint, but now I’ll try Gimp.

Music : I hope I’ll have some time to try to do something with LMMS

My IDE will be Vim + Tmux. I created the most awesome .vimrc in the hole world which interact perfectly with Tmux : http://docs.bernery.eu/ide.tar (you just have to untar it in your home)

Oh, and you already notice it but, I’m french. My plan ? Wake up at 3AM to see the subject, go back to sleep, wake up at 9AM with great ideas, and going to school to develop a game !

Good luck for everyone !

Preparation …

Posted by (twitter: @SebBernery)
Tuesday, April 22nd, 2014 12:37 pm

Oh, everyone seems to be perfectly ready, but, I’m not.

I should continue to learn to use Haxe and HaxeFlixel, I’m so tired to use Python for every single LudumDare … So I’m currently doing my playlist on grooveshark for the event. I will create a broadcast saturday, with only awesome for-programming music (I mean, awesome for me, and maybe for you if you think that you need https://www.youtube.com/watch?v=csO5xeM20F4 with always more Pokémon songs to program at an efficient level).

Oh, and I’m polishing my more-than-perfect .vimrc. I’ll post it here tomorrow, I still have  to add few more features…

Present \o

Posted by (twitter: @SebBernery)
Friday, December 13th, 2013 1:22 pm

Hi everyone !

I will participate to the LD28 ! I’ll use Python and Pygame.

For this event I will mainly work at school. The big issue is that there will be no Internet this Week End so I have this evening to get the most offline documentation I can, but the experience can be really interesting. The bad side is that I created a music for programming grooveshark playlist and I was planning to broadcast it, but unfortunately it will not be possible.

I started to install a windows virtual machine to create an executable at the end of the event, but, … Oh I’m too lazy to continue, I will see that later.

I’m french (it can explain my three year old child english’ skills), so the event will start tomorrow morning for me (My brain said to me that 3AM does not exists), so good luck for everyone and see you tomorrow.


It’s the end !

Posted by (twitter: @SebBernery)
Sunday, April 22nd, 2012 8:07 am


Hi everyone !
This is not a game. There is no goal, no fun, nothing, but I’ve finish with.

It’s Python with Pygame.

Sources are here : http://bernery.eu/Ptimonde.zip
The only thing you can do is :

Build walls
Build a roof (to make a room)
Place a TV

(you can access to this by the buttons on the top right)

and … move the guy in house (pink square) with right click, but some bugs exists in the pathfinding.

arrow keys to move the view

I had not enough time and motivation to make what I wanted to do :

The goal was to make a “the sims” like where you can’t control the personage and with a side-view 2D.
What you would must to do is to build a beautiful house for the men who live in. This men is the owner of his small planet where is his house.
To give you the rent for the house you build, he has to mine in his planet. But it’s so small (sorry, I mean tiny :) that the planet shrink progressively,
so the house start to be destroy and you can’t continue to build horizontally. The end of game happen when the planet is completely destroy.
At this time, your score is the rent that you earn during the game. More your house is comfortable, more the rent will be high.

So it’s not finish at all, but it was really fun to participate, I really enjoy to work on this game and I hope doing better the next time.

In France, when someone want to find a good name, he takes an english name. So, I will do the opposite : I called my game “Ptimonde” (which can be translate by ~”SmallWorld”)

Bye and good luck for the end to all participants !

edit : Oh, I forgot to say that it’s under GPLv3 license.

[cache: storing page]