My first attempt at creating a game. I’ve been working on it for… quite a few years, actually, and it’s still pretty lame. I don’t really care, though, I’m learning a lot as I program it. The main reason it takes so much time is that I keep finding bits of code I did a few years back, being disgusted with them, and deciding do completely redo a section of the engine as a result. I’m pretty confident now, though : most of the engine is less than one year old and the way it’s designed, I shouldn’t have too much trouble developing the rest of the game as I envision it. Which is why I’m pretty confident I’ll actually complete this game in the next few months. In the meanwhile… here’s the current working prototype.
This is an improved version of the second program presented here.
A book I read on work efficiency said that, the more accessible a distraction here, the more your brain consumes energy trying to ignore it. A workaround is to make sure that any distraction has a long delay associated with it, to help the brain consider it more abstract terms. This is what I had in mind when I developed this program, which is the videogamaholic version of the fridge that only opens a certain hours.
It can store any number of passwords ; each password is stored and encrypted on a file, along with data on which hours you can access it at, how long the delay before getting is, etc. While doesn’t exactly make miracles, it does improve my productivity when I use it to store passwords necessary to use my browser, or connect to Steam. It’s still a work in progress, though, there are features I’d like to add and tweaks I’d still like to make.
Also, it’s in French.
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 :
– 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.
A small program I made when learning to use SQLite. I wanted a simple way to make databases without using the DOS console, so I made this. It reads the file CommandFile.txt and executes its lines of commands.
Link : click here.
A slightly bigger program I’m still working on from time to time. It stores a single password, with very basic encryption – not exactly something to use if you’re concerned about the security of what the password protects. The program gives the password on command, but with a two-hours delay as an anti-procrastination mechanism. I use it in combination with Leechblock to avoid impulsive internet surfing, and in combination with another password on Steam and Minecraft to avoid impulsive gaming. It’s far from perfect (it takes a lot of thinking to design oneself even a remotely working anti-procrastination system), but it actually improved my working habits.
The program is in French.
Link : click here.