Tag: Code

Assembly number guessing game

The re-write of the x86 Assembly version of NumGuess was long overdue. 15 years ago when I wrote the original code I didn’t think about standardisation or guidelines, just wanted to make it work. As the NumGuess project took off

Share Button
Posted in Blog Tagged with: , ,

Redesigning Mangler.js type handling

Mangler.js‘s type handling has undergone a major redesign which retired the flawed Mangler.getType() function and changed the type parameter on Mangler.registerType(). With the recent changes the library now supports code minification, objects built from anonymous constructors and constructors with the

Share Button
Posted in Blog Tagged with: , ,

Introducing Mangler.js

Mangler.js is a JavaScript object processing library that helps you transform, restructure, query, index and extract parts of your objects and JSON data. It is open source under GPLv3. As I often work with bespoke applications where requirements change regularly,

Share Button
Posted in Blog Tagged with: , , , ,

Pixelated rendering in LibGDX

In this article I’m having a look at rendering 3D geometry and/or sprites in arbitrary low resolutions in LibGDX. I’m taking my previous article with the crate model imported from Blender and change it to render the view into a

Share Button
Posted in Blog Tagged with: , , ,

Using Blender 3D models in LibGDX

This tutorial will show you how to export a simple 3D model from Blender and use it in the LibGDX Java game development framework. It is in no way a comprehensive guide on any of the subjects covered, but will

Share Button
Posted in Blog Tagged with: , , , ,

Using fixed screen coordinates in libGDX

There may be a time when you really have no intention to deal with OpenGL’s Y-up coordinate system. For example you might have some legacy game code you’re porting which uses screen coordinates at a fixed resolution. Wouldn’t it be

Share Button
Posted in Blog Tagged with: , , , ,

Season’s Greetings

I’d like to wish all my readers a happy Christmas and all the best for the approaching new year! If you’ve been paying attention this past year, you will be able to decode the following message easily, all the tools

Share Button
Posted in Blog Tagged with: ,

NumGuess Google Dart implementation

Dart is Google’s new programming language created in an attempt to replace JavaScript as the de-facto programming language of the web. It provides useful features from strongly typed languages as well as preserving the flexibility of JS. With the stable

Share Button
Posted in Blog Tagged with: , ,

AWKward NumGuess implementation

Here’s another silly NumGuess version of the because-I-can kind, this time in AWK. It’s quite a specific language, not designed for writing general purpose programs, but it shouldn’t bother me one bit. In a strange way it fits the NumGuess

Share Button
Posted in Blog Tagged with: , , ,

New NumGuess scripts

In case you’re not checking the NumGuess repository on GitHub every minute, here are the latest and greatest developments: Perl version has been updated to be fully compliant with the guidelines. Bash and Tcl script versions have been added, both tested

Share Button
Posted in Blog Tagged with: , , , ,