About Lythom


Ludum Dare 35
Ludum Dare 34
Ludum Dare 33
Ludum Dare 31
Ludum Dare 30
Ludum Dare 29
Ludum Dare 28
Ludum Dare 26
Ludum Dare 25
Ludum Dare 23
Ludum Dare 22

Lythom's Trophies

Lythom's Archive

I’m in

Posted by
Friday, April 15th, 2016 7:25 am

Programming : Haxe + openfl + custom LD Starter (https://bitbucket.org/Lythom/ldtemplate) OR Javascript + ReactJS (depending on how heavy I rely on UI)

Graphics : Paint.NET + plugin “Alpha Mask” + plugin “Curves+” (and other plugins in pack)

Sounds : Anything I can find (still haven’t found a proper workflow for music and sounds) but mostly Audacity.

Have fun everyone =)

As a team !

Posted by
Wednesday, December 9th, 2015 10:54 am

In as a team this time, we got 3 devs and 1 illustrator (using traditionnal painting), and we’ll use as usual :

Programming : Haxe + openfl + custom LD Starter (https://bitbucket.org/Lythom/ldtemplate)

Graphics : Paint.NET + plugin “Alpha Mask” + plugin “Curves+” (and other plugins in pack)

Sounds : Anything I can find (still haven’t found a proper workflow for music and sounds) but mostly Audacity.

We plan a dungeon crawler and some procedural generation if the theme allow us to =)
Have fun everyone !


Posted by
Thursday, August 20th, 2015 7:53 am

Programming : Haxe + openfl + custom LD Starter (https://bitbucket.org/Lythom/ldtemplate) OR Javascript + ReactJS (depending on how heavy I rely on UI)

Graphics : Paint.NET + plugin “Alpha Mask” + plugin “Curves+” (and other plugins in pack)

Sounds : Anything I can find (still haven’t found a proper workflow for music and sounds) but mostly Audacity.

I plan to explore a progression gameplay using words semantic (in english). I wish the theme we’ll allow me to get there !
Have fun everyone =)


COSMMOS – Let’s play together is live NOW !

Posted by
Saturday, December 20th, 2014 8:57 am

As a multiplayer game, COSMMOS worth playing together more than alone. Come and play COSMMOS together NOW (I’ll be there for a full hour) !

Join the my twitch channel for a live commenting about the game. Feel free to ask any question and to use the tchat as a cooperation tool !

COSMMOS – Let’s play together !

Posted by
Thursday, December 18th, 2014 11:03 am

As a multiplayer game, COSMMOS worth playing together more than alone. That’s the reason why I announced in my post A 72H MMO game, from Theme to Reality I’d organize a let’s play together session, here it is !

All jammers and non jammers are invited with their friends to come and play COSMMOS together, on saturday 20th december at 17H00 (GMT+1). I’ll be streaming and tchating with whoever wants to on my twitch channel !

If you are a LD jammer and want to give a vote to the game, here is the ludum dare page of COSMMOS.

Please come and stress test the server with everyone !
Saturday, 17 o’clock (GMT+1).

A 72H MMO game, from Theme to Reality.

Posted by
Sunday, December 14th, 2014 2:07 pm

Hi there,

here is an in-depth feedback about how I implemented the MMO part of  C.O.S.M.M.O.S – Cool One Screen MMO Spacegame,  in 78H : what I faced, and how I managed to get it work anyway.

A “MMO” (Massively Multiplayer Online) ?

Let me detail. The game :

  •  is online,
  • accepts any number of players at the same time,
  • allows players to interact with each other,
  • has a shared and persistent universe.

Well it’s enough to cover most of the definitions of what a MMO game is. I only have a doubt about the “Massively” because I couldn’t test with a “massive” number of players, but I’m confident than at least 100 players could be connected at the same time.

Regarding the range of interactions between players, it is of course limited to a few key points.

The game

Let me sum you up what the game is about to then understand interactions.

The game is about travelling in space and collecting symbols (letters) to establish communication with alien populations :

  • Each population has a different sentence to decode, and the players can send letters one by one to the population.
  • If there is an undiscovered letter in the sentence matching the one sent, the player earns reputation and the letter is discovered to for all players.
  • If there is no more of this letter in the sentence, the player remaining attempts diminue by 1.
  • Players start with only one letter and get random new letters when travelling.

It’s like a hangman game but there is a full sentence to guess and the letters are revealed one by one, which make player have a “stop or keep going ?” tension every time.
The ultimate goals : for one player to have the most reputation, for the server players to have all planets completed !


Interactions consist in :

  • sharing travel cost between planets to allow for faster or further moves (some planets are so far that they can only be reached by 2/3 players together),
  • using letters from other players on the same planet to communicate with the alien population.

Not much, but already a lot to implement ! Let’s see what it is about.

How big do you think the technical stuff is for the MMO part ?

Here is the list of all I faced and had to solved for the realization :

  • Communication between client of server (of course).
  • Cheat prevention.
  • Databse data model for long time storage.
  • Clients update logic for every state change on the planet they are at.
  • Setting up a production server available full time.

On top of that, what you could face for any game :

  • Graphics.
  • Client development.
  • Procedural World Generation : planets (name, visual, sentences, coordinates), alien (visual), and players (ship visual).
  • [Musics and sounds] (didn’t have time for that :()

You love technical stuff and want details ? Here you go !

Game architecture overview

The game architecture itself is pretty simple : One database, One server, Several clients :

Lythom - COSMMOS - diagramm

Here’s how it works :

Communication between client of server

The client is a flash client compiled for version 12 using haXe and openfl.
The server is a nekoVM server compiled using haXe and openfl as well.
The machine is a dedicated windows server at online.net. (This kind of machine, it’s really affordable.)

Flash Policy File

Why am I insisting on the LOCAL part ? Well because you guessed it, when it came live on the machine, it didnt work anymore. The Flash client, when trying to connect to an external server, asks the server for a policy file. Since flash 10, it is required that the server answers the policy request to allow the connection. It didn’t took me a while to understand how it works and to set up the server (quik’n’dirty way) but we all now how much 1 hour is during a jam.

Transmitting data

About data themselves, I had the choice between setting up a low level protocol to send row bytes and using a serialization system. I believed with a low level protocol it would have taken me a lot of time to cut my data into protocoled messages. In exemple, a protocoled message could be : INT32(length of the message)-INT16(Type of message). Then depending on the message : -INT32(length of playername string)-CHAR[n](playername data)-INT32(current reputation) etc.
It’s the best choice when you seek high network performences (ie. to achieve 20 networked messages / second).

As I didn’t need frequent transfers I prefered another solution : serialization. I defined a very simple NetMessage class to handle the data that contains a MessageType (enum), and the message (Dynamic object). The haXe serialization do the magic :

  • Server :
// "allPlanetData" is a complex object : list of players and planets with visuals etc.
var sending:String = Serializer.run(new NetMessage(NetMessageType.Welcome, allPlanetData);
  • Client :
 var fromServer:String = socket.readUTFBytes(socket.bytesAvailable);
 var message:NetMessage = Unserializer.run(fromServer);
 switch(message.type) {
     case NetMessageType.Welcome:
     CockpitScene.instance.welcome(message.data); // the data is the "allPlanetData" object
     // ...

Can it be more simple ?
Don’t get tricked, serialization cannot serialize anything even if the support of serialization in haXe is wide. Ie. I can’t just send my Flash BitmapData from server to client for the good reason that openfl serverside implementation of BitmapData is different from Flash implementation and it contains a lot of complex and useless data to transfer. As a workaround : I transform the BitmapData into Array<UInt> using the getVector method (neko side), transfer the array, then use setVector on a new BitmapData (client side).

The package overflow

It was not planned. I thought some flash low level network library would handle it for me but no : when the data is too big to fit in one TCP packet, it goes in several. Each packet triggers a “hey here’s what I got” callback with only a part of the message which can’t be used (because the Serializer needs the full message to work).
How to get by that ?

  • The good way : have an Int32 as first data in your package that indicate the message length. While the received data doesn’t match this length, keep listening and concatenate messages until you got it all.
  • My (dirty time is precious) way : try to Unserialize every time and concatenate while it doesn’t work. As long as it doesn’t unserialize, it means the message is not full.

Really, if you have to do that, use the Int way. My method uses extra CPU and If it happened that the message unserializes while uncomplete, it would crash the client. (Not the server, there is no long messages client->server so the server will ignore any input longer than one packet :p).

Cheat prevention

Now that the data goes, I have to care about WHAT data goes.
It’s really simple : every client action is checked by the server, if it’s allowed it will be ok, if not it will either send back an “action failed” answer or just do nothing. This can happen if, for exemple, several clients connects with the same account on the server (there is no protection against that, please be fairplay !). What will happen : the two players will have inconsistent data, depending on other player actions, because the server will only answer to client that asked for the action. Mostly, one of the player will ruin the experience of the second one without getting any advantage of it.

You might ask why I chose to set no password system ? I have good reasons for this :

  • Having a proper password system is time consuming : proper hashing with salt and pepper, password retreival (because people forget their passwords), using an SSL connection (https) to secure the transfer.
  • Because I didn’t have that time, I would have been forced to store passwords unsecurely.
  • I don’t want to be the cause of accounts hacks in case player used the same password for this game than elsewhere.

Storing password is not something I refuse to do in general, I have the knowledge to take this responsibility. But NOT in jam conditions, I don’t mess with security.

Setting up the machine

As mentionned earlier, the machine is a dedicated windows server at online.net.
It has to be a dedicated server : the choice of making a MMO have a constraint : server administration.

So that people can play my game :

  • it must be on a fulltime up server,
  • I need to frequently check for crashes (It happened 4~5 times since last week but I could reboot it without damages and finally have a patch),
  • I need to check if there is no errors in the database (especially after a crash).

If the server is not live, then people can’t play. For this reason, I have to full time watch out after the server to be sure it is running fine in order to deliver the best experience.

How can you achieve THAT in 72H ?

The answer is preparation, preparation and preparation. But more exactly…

Proof of Concept

Before the project, I set up POC (proof of concept) in my Ludum Dare template. It allows me to send data from a LOCAL server to a LOCAL client and vice versa on a TCP socket connection. By data I mean Bytes and Integers, low level stuff.  It took me several hours to build it up, this development wouldn’t have fit in the jam time.


In one word : practice !

I’m not new to networked games since I wrote my last year study dissertation on the topic. I knew what to expect and what not to expect, I could be reasonable about the network features thanks to this experience.

I’m not new to game jams either (it’s my 13nth or 14th). I knew what to expect and what not to expect, I could be reasonable about the gameplay features thanks to this experience. Trivia : the whole hangman gameplay system (sending letters, checking result, sending answer, recording data) was made in less than 2 hours whereas it took me more than 6 hours to get the travel system working.


I used the same technology for client and server. Data writing / reading can be a real headache if you don’t master the low level storage of your data (number of bytes for each data type for each system / language etc.). Thanks to haXe and openfl, I just used the same classes and enums server side for my data, big time saving for transferring and a bit for coding too.

 A last word

Thank you for reading this ! There is probably more to say about the topic, but I think I covered the key points.  Yet, if you have any question, feel free to ask !

Finally, because the game worth playing together more than alone, I’ll invite you soon in a “play together” session. I’ll post a message on the ludum dare site and tweet the date very soon, stay tuned !

I’m in

Posted by
Wednesday, December 3rd, 2014 3:02 pm

This time challenge : a networked multiplayer game. I know how hard networking can be but I feel I can find some balance between simplicity to implement and deepness within the gameplay.

The tools are set up :

  • haxe + openfl (neko server + flash client)
  • Paint.NET + Spriter Pro
  • Audacity
  • My usual starting base https://bitbucket.org/Lythom/ldtemplate/src

Motivation : to the top !

Good luck and have fun everyone !

Come try my game =)

Posted by
Saturday, September 13th, 2014 3:44 pm

Play Thinkings

It’s a puzzle game about understanding quotes through the life of 2 creatures in a clean aesthetic environment.


The game appeared to be harder than I expected, but the solution is given (with anti spoiler) so that you can go through the entire story even if you don’t get the enigma =)

Have Fun !

Play Thinkings

Time repartition of a successful realization

Posted by
Sunday, May 5th, 2013 7:45 am

Hi there ! For once, I finished and polished completly my entry. All went well, and I’m satisfied by what I did. Whether it’s really good or not will be your judging, but since I had nothing wrong during the 48h, I decided to analyse my timelapse to make some stats about time repartition between the different tasks.
You may want to know that my game emphasis narration (so there are lot of scripting) and is illustrated with normal mapped pixel art (which is a bit longer than classic pixel art to handle).

Timelapse analysis
Time starting task duration
04:00 sleeping 03:14
07:14 Idea 03:06
10:20 conception 00:44
11:04 coding 01:36
12:40 lunch 02:10
14:50 coding 06:10
21:00 diner 00:28
21:28 coding 02:30
23:58 sleeping 06:42
06:40 coding 03:20
10:00 graphics 02:48
12:48 lunch 00:20
13:08 graphics 03:52
17:00 polish 01:08
18:08 music 01:27
19:35 polish + sounds 01:43
21:18 Relaxing
Here is a description of how I managed pause time/work time. For time repartition in the projet itself, jump to the second table below.

Competition starts at 4:00am in France (A bit early) so I prefer to complete my sleeping night and start at 7am.

I took 2 pauses in the first day for lunches, I had the chance to have my parents at home this week and they offered and prepared me the food !! I shared some thime with them, 2 and 1 hours breaks were just good, not too long but enough.I need a lot of sleep and the 6:30 hours long night was just mandatory. Could not be shorter to keep efficiency to the best !

Time repartition Data and Graph

Long live the king - Time repartion

The total is 42h05 instead of 48h because I finished and posted the game 6 hours before the deadline. As you can see, almost 1/3 of the time is kept for sleeping and taking pauses !

If I remove sleep and pauses, the remaining 29h11 are divided this way : Coding (47%), Graphics (23%), Searching idea (11%), Polish (9%), Music (5%), Souds (3%), Conception (2%). Level design and some conception are included in Coding because it was really done in the same time. I did not really had phases were I needed to work level designs only (because of the narrative nature of the game).

Of course, if you did not tried it already, I invite you to play my entry : Long live the King !

I’m In =)

Posted by
Thursday, April 25th, 2013 3:34 am

Hi all,

I already made a few LD so I begin to have some tools ready ! I might team up with my mates from “Le Creeper Dépressif” because I’m a (I-like-to-think-it) good dev and GD but a very average graphist and sound designer.

Technology : Haxe + NME
Frameworks : HaxePunk, HaxePunk-gui, My own haxe lib
Art : [if alone] Paint.NET, [else] Pyxel Edit
Sound : cgMusic, Audacity

This time I want to improve my storytelling skills and try for real my 2D normal mapping lib.

Good luck to every one ! Can’t wait to try all your great games 😀

I’m in !

Posted by
Friday, December 14th, 2012 11:33 pm

Wow I’m a bit late to expose the sources I’ll be using, but I just woke up (7:30am in France !). Here are the sources of my template : https://bitbucket.org/Lythom/ldtemplate

It’s based on HaxePunk and include some libs I developed specifically : Attribute system, normal mapping for 2D Sprites, animation ripping from swf, this kind of stuff 😉

Good luck to everyone !!!


Here we go again !

Posted by
Friday, August 24th, 2012 8:06 pm

Let’s start =)

I’m trying to use FlashPunk this time, maybe with ogmo editor. It seems to be simple enough to be used even without previous exprience with it, yet powefull enough to worth using.

Streaming at http://www.justin.tv/lythom

Good luck all and have fun !

How to Tinyvilize

Posted by
Tuesday, April 24th, 2012 10:05 am

(faire défiler pour la version française/for french version scroll down )
I had several comments and feedbacks saying that Tinyvilization lacks comprehensive gameplay. It’s not hard but my in game instructions are pretty minimalistic : I’m sorry, it’s my bad. To make it up, here is a “how to play” instructions to help you enjoy the deep gameplay proposed by this game !
Have fun !

How to play (quick start quide)

Ambitious but in time ! (Tinyvilization Post Mortem)

Posted by
Monday, April 23rd, 2012 11:38 am

Tinyvilization is a game where you plan a strategy to conquer a new tiny world. Unfortunatly you are not alone and an other settler will try to build cities over the world. The concept is inspired by the facebook game “Survivium” : you make an instruction list which is executed by your “unit” (a virus in Survivium, a settler in this game), and you watch how efficient (or not) your strategy is against another strategy in miror. Then ajust your strategy or find harder opponents !

I first wanted this game to be connected to a server so that player can send his strategies and fight against other players strategies and have a leaderboard. Finally I just had time to implement an Import/Export system which allow player to share a “strategy code”. Some strategy codes are exposed in my guide to build effective strategies  to help player learn to play with great strategies.

I planned a bit to much, but I could land on my feet and have what I wanted in time : overall, I have a fully playable game which allow asynchron players interactions that is graphically descent and really enjoyable once you know how to build a strategy.

I used flexSDK and FlashDevelop only. The game is developed in pure as3. I wanted to use no library at all, I finally saved some time using minimalComps for NumericalStepper and TextField.

Oh by the way, I did a timelapse !

I really enjoyed LD, once again.
This event rocks o(>.<)O

Tinyvilization strategy guide

Posted by
Monday, April 23rd, 2012 11:35 am

(for a french version, scroll down)
Hey guys, as Tinyvilization is a little tricky to get in, here is a short guide to learn how to build strategies by exemple. I don’t say things explicitely, but I give you exemples that you can compare to each other to understand how it works. Try to beat those exemple to begin, they are much easier than the built in levels.

Tips to learn how to build you strategy.

[cache: storing page]