Cosmo Invaders: Space Invaders with Love2D

March 27 2026

Space Invaders avec Love2D

Space Invaders is surely one of the games you code at the very beginning of your journey as a game developer.

I hadn’t taken on this challenge yet, so I decided to create a small gameplay demo in Love2D and Lua.

With a bit of patience, I started structuring my project and reading lots and lots of documentation on Google.

I feel like I was going in circles during the entire development process, but in the end I got the result I was hoping for:

Today all I have left to do is improve the scoring system and enhance the gameplay. In the original game, the little pixelated monsters move both vertically and horizontally. Plus there’s a small spaceship that shows up from time to time and some kind of “rocks” that can fragment to hide behind when needed.

Despite these “missing features” I managed to come in second place at the Pixel Weekend Jam #2:

GameJam results - Space Invaders
Résultats de la Gamejam Pixel Weekend Jam #2 pour D4F Space Invaders

A very nice result that really motivated me!

Then I adapted my code and sprites to participate in the Gamecodeur Game Jam #22:

This time I only came in tenth, but that’s perfectly fine because the comments were very encouraging.

Anyway, development is still ongoing, but I have to say it’s a great way to learn and improve my skills.

Recent Posts

Recent Comments

Itamde is also an online programming school.

Itamde

Learn what you want, at your own pace

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You may also be interested in…

Artificial intelligence is reshaping every pixel

Artificial intelligence is reshaping every pixel

Just a few years ago, editing a photo meant spending hours working meticulously in Photoshop, mastering layers, masks and curves. In 2026, everything has shifted. AI photo editing tools no longer settle for automatic filters — they understand image content, anticipate...

The 10 Best Free AI Tools for Developers in 2026

The 10 Best Free AI Tools for Developers in 2026

Artificial intelligence is transforming how developers write, test, and deploy code. In 2026, many AI tools are freely accessible, offering capabilities that would have seemed impossible just a few years ago. Whether you're a beginner or experienced developer, these...

CSS colors

CSS colors

CSS colors can be defined in hexadecimal. Hexadecimal uses three components: red, green, and blue. You can define colors in shorthand hexadecimal: for example #DC2 corresponds to #DDCC22. Note that some colors cannot be abbreviated. The goal is to shorten your...

Stay up to date with the latest news and developments

Access restricted content

Discover behind-the-scenes details of our projects, exclusive resources, and the progress of our creations in real time.

Sign up for our newsletter

Receive our news, creative insights, and updates from the studio directly in your inbox.

Follow us

Join our community on social media to follow our daily projects and interact with us.