Game
nKaruga
8 years ago

nKaruga version 0.2.5 : much smaller package size and new toolchain - Linux build ? Source code release ?


tl;dr : I switched from WAV to OGG files for the music, greatly reducing the package’s size ; a Linux build will come soon and I will eventually release the full source code for nKaruga.

Hey there,

nKaruga version 0.2.5 is out ! In this new patch, I have implemented the necessary changes in nKaruga to definitely ditch WAV files and start using OGG files for the music ; the result is a much smaller package size, from over 48 MB to barely 9 MB !

For you tech-savvy folks out there, I have successfully switched from MinGW-gcc to MSYS2 (backed by MinGW-w64), meaning that I could finally write a fully-functional makefile that should work with both Windows and Linux targets (testing in progress). At least it does work with Windows so hey, there’s that !
Some dependencies have changed, obviously, but as always I have included everything you need in DLL form, and only the mandatory stuff.

Another thing that comes from the change in toolchain is that I will finally have a source code worth releasing. At the time of writing, nKaruga is a game worth of 9699 lines of hand-written C++ code. It uses a graphics engine written by myself for the occasion, named n2DLib, built on top of SDL2. It doesn’t use any actual SDL2 function for the graphics (especially not hardware acceleration), and only uses it to interface with the keyboard and to handle sound (via SDL2_mixer). I started nKaruga over 2 years ago now as a calculator game targetting the TI-Nspire series (it’s true) in order to get better at programming, and now it has evolved into an actual, playable and (I hope) enjoyable PC game, with a bright future (for my defense, I attended a veeery intense education system here in France during those 2 years, which is why it took me so long to come to that point). This is why I think the source code is worth releasing, as it can help some people get better with game programming too, and the code itself does have some interesting bits to it (such as a hand-written rotosprite function in the graphics lib, and a class to handle images linked together by anchor points).

Stay tuned, and keep enjoying the game !



0 comments

Loading...

Next up

Parallax scrolling in intro 2, transition is next !

3D in nKaruga ? Nah, it's just a (clever) trick involving mad maths.

Parallax scrolling in level 1 !

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.

What you all think

So here's the first of the zodiac signs i will make for the next weeks.

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Why walk when you can jump?