Game
nKaruga
9 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

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

Parallax scrolling in intro 2, transition is next !

Parallax scrolling in level 1 !

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.

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Update 2.627

New challenges & new effects!

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

Let me introduce you to the new Mech line: Gendai Spec. Those are Mech that specializes in surprise attacks, covered operations, and stealth. They are equipped with melee weapons but one of Gendai's frames supports sniper rifles.

Auto-chess meets Clash Royale in an intense strategic battle. Outsmart your opponent, hide your play and crush their armies! Empire Builder just got another major update, check it out! https://gamejolt.com/games/EmpireBuilder/558901