How to Clone an Object

Making an exact copy of an object isn’t an everyday use case for most programming APIs, but there are certain tasks where the ability to do so is vital. It’s not an easy task per se, and it requires a lot of thought when executed on a larger scale. When designing a modular framework like Duality, where every user can easily add custom classes into the realm of conveniently automated behavior, things get even worse. Fingers crossed, I might finally have found a solution.

Read more …

Package Management in Duality

NuGetLogoIf you’re a C# developer, there’s a good chance that you already know what NuGet is, or at least have overheard someone talking about it. The main idea is to stop delivering precompiled dependencies along with source code, and instead provide a central repository where all these binary packages are stored. Whenever someone needs one of them, it can be downloaded automatically, and whenever a new version is available, upgrading is only a mouse click away. Package Management is just incredibly convenient – and now, Duality makes use of it. Let’s take a quick look at how it works.

Read more …

Website Style +1

Opinion has been raised that, although Duality sure is a great framework, it’s website representation on my blog lacked a professional look and feel. Unfortunately, this was absolutely true: The Duality info page was an ugly wall of text with loads of unnecessary information, bad design and far too many links. Although I was kind of aware of this fact, it somehow slipped my attention repeatedly until now. I finally found the time to rework the info page, and along with that switch to a different theme for this blog.

So.. in case you’ve always wanted to tell someone about Duality – now would likely be the most visually appealing opportunity since 2011.

Read more …

Unit Testing

So you might have heard of this development trick called Unit Testing – most likely in the context of some business application or software engineering talk, but probably not related to games. It’s something that large, bulky projects have, with a ton of different programmers working on the same stuff, but it doesn’t make sense to do something like this yourself, right?

Read more …

Framework Decisions

Since Unity2D was released a little time ago, some people have been asking what makes Duality better for 2D games than Unity. While it is obvious that, in this comparison, Duality gets to be the little guy next to a giant, this may still be a question worth exploring. So, why does Duality exist? Here are some of my own thoughts on this matter.

Read more …

Hats and Terrain Rendering

I’m still figuring out how many hats a single guy can wear at once. So far, my personal hat count is something around “four”, counting two jobs, studying and personal life. As it turns out, I appear to have reached a limit for now. When this semesters courses began in October, the free amount of time at my disposal once again vanished, and so did the unsteady stream of content for this blog. This is just a faint sign of life, but hey – at least I’ve got some pictures.

MateTerrainThe first one is a screenshot from job #2, where I’m developing a game that will be used in a medical context. It’s called MATE and aims at motivating young patients in doing their physical exercise using a training device – which is basically used as a custom game controller. It has one degree of freedom and the target audience is not what you’d call a “gamer”, so I’m keeping the game itself small and simple: You’re maneuvering a paper plane through a dynamically generated landscape, collect gold coins and try not to hit anything. There also is a highscore at the end of each level and a set of ghost players from previous records.

Read more …

Respawn Conference and Honourbound Gameplay

Duality at the "Respawn - Gathering of Game Developers"So there recently was this game development conference called “Respawn” and some of the guys from BatCat Games were there, giving Duality a nice guest appearance while talking about their experience developing the game “Honourbound”. Unfortunately I wasn’t able to attend myself, but according to what they’re telling me, it seems that it was received pretty well.

Needless to say, I’m pretty grateful for their kind support. Dragging Duality into the spotlight of a professional stage is something I couldn’t have done myself and it feels like a great reward for all the effort I’ve been pouring into the project in the last months. Thanks! :)

As for their project, there’s some more information available by now, in case you’re wondering what’s behind that fancy name:

Read more …

Text Rendering

Text Rendering Demo

Along with some internal Duality updates, there is a new TechDemo available that shows different text rendering approaches. You can get it here.

Read more …

Duality has Moved

As of July 21, Duality has move from google code to GitHub. Although google code and SVN provided a great platform for “personal” Open Source projects, Git(Hub)s focus on collective development and decentralized version control eventually convinced me to move. Although Git and GitHub seem to be quite popular these days, both were pretty new to me and I had no idea where to start; so I did a lot of superficial google research and forum inquiries.

Read more …