Carres Couleur

When learning a new skill, it’s usually good practice to start by practising very simple applications of that skill. This is especially true for programming : most people don’t learn to code by creating their own OS. They start by making a “Hello World” program, then a “More or less” game, and so on.

So when I decided I wanted to learn how to create a game engine, I started with something simple : a screen with moving multicolor squares on it. I actually made two versions of that program : the first was to learn how to update and display an arbitrary number of entities, each with their own behaviour. The second one was to learn how to make a good menu system for a game. So, here they are :

Carres Couleur
Download on MEGA
– Controls : Left click somewhere to create a small square. Right click to create a big square. Press space to delete all the squares. Press Escape to quit.

Carres Couleur 2
Download on MEGA
View Project Repository on Github
– Controls : Controls are level dependant. Try to click on the screen for a while an see what happens. Press space to delete all the squares. Press enter to go to the next level. Press Escape to open a pause menu.
– Text in French.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s