Week 113: Melee

An ok week!

This week I worked on my ‘Melee’ project! (still not the definitive title, I’ll find something better) I did some spritework, I worked on the game’s code and I fixed SUGAR’s sprite rotation function.

That last part was the most bothersome. The sprite rotation I implemented in SUGAR a few weeks ago was misbehaving and fixing it was more guesswork than anything else.

Back when I concocted the algorithm, I had all the math laid out, yet even then, by the end I wasn’t sure I hadn’t inversed this or that operation. So imagine how it is now.

The problem is that the focus here is on performance and not on code readability. When you’re dealing with so much math, it gets really easy to get lost.

Even now that I, somehow, fixed the algorithm, there still seems to be a half-pixel offset that I just can’t get rid of. And it’s been driving me mad. But ultimately I decided that probably no-one would care and so I shouldn’t either. (I still secretly do though)

Anyway, here’s the game! … Or at least what it looks like right now.


It is to be a roguelike top-down shooter with a lot of enemies that shoot at you, except you can’t shoot back! Instead, you’ll always have to use melee weapons, to deflect incoming bullets and smash those enemies into pieces!

There will be a sort of minimalist story-line, which I’m still working out. This story-line will bring you through different zones, with different enemies, and bosses, but also different terrain generation and different hazards.

This might seem like an ambitious project, and it kind of is. I am planning on taking advantage of the roguelike features to be effective in making the game interesting, but I will take the time necessary to make the game fun and pretty.

And of course the game will be made with SUGAR!


Sadly that’s all I have for you this week. Since there isn’t much implemented yet, I don’t feel like it’d be wise to give much more info on what my plans are for the game.

Besides, this week saw the world music day, which is very much celebrated here in France and so I was out all night instead of working. :X Besides that, I may or may not be moving to a new apartment soon-ish, it’s kind-of a complicated, and distracting, situation.

There should be more next week though!

As always I would like to thank my kind Patreon supporters, without whom none of the above would be possible. Here are the names of the 3$+ supporters:

Ryan Malm, Joseph White, Austin East, Marcin Majewski, Zachary Cook, Jefff, Riccardo Straccia, HERVAN, Andreas Bretteville, Bitzawolf, Alan Oliver, Paul Nguyen, Dan Lewis, Christian Östman, Dan Rees-Jones, Reza Esmaili, Thomas Wright, Chris McCluskey, Joel Jorgensen, Marty Kovach, Cole Smith, Giles Graham, Tim and Alexandra Swast, Sasha Bilton, berkfrei, Jearl, Dave Hoffman, Finn Ellis, Egor Dorichev, Jakub Wasilewski, amaris, Brent Werness, Anne Le Clech, Jeremy Bouin, Jesse Bergerstock, Jacel the Thing, Pierre B., Sean S. LeBlanc, C Oakreef, Andrew Reist, vaporstack, hushcoil, rotatetranslate, Max Cahill


Next week I’m still working on this ‘Melee’ project! I want enemies and something resembling combat. I also hope I can get a start on terrain generation.

Have a nice week and a great Summer!

Take care!


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 )

Facebook photo

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

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: