Delta Engine

Delta Engine Blog

All about multiplatform and game development

Game Development Tool Essentials book is out

Based on the book article Kirsten and me wrote 2 years ago a new book is out. Nice to see my name on a book cover again :)

The book has 220 pages and just 13 chapters and is a bit expensive at the moment. I suggest to wait until the price drops, the ebook is at least a bit cheaper.

Source code can be found in the DeltaEngine/Samples/Labyrinth directory when the next release is is out or on the book download page. The sample game will be available on the StarterKits page as well.

Entity Component System in Delta Engine v1.2

After finishing one internal project and now working on the next project (non-game) we found some common problems with content and entities in v1.0 and v1.1, especially when things change over time and the data is not longer compatible (happened mostly in UI controls). Instead of trying to patch things over and over again we redesigned the content system earlier this month to be more data driven. Thanks to that we had some ideas to improve entities as well to be more data driven. Most simple entities have really good performance in the Delta Engine and were highly optimized for the use cases we had (Sprites, Lines, 3D models, LogoApp), but once you start adding more logic, things got slow quickly. Obviously in each case we could optimize it again, but code is not getting prettier and doing it on the build service side is too much work for our now much smaller team.

So instead I experimented around a bit over Easter Holiday and came up with a cleaner Entity System for Delta Engine v1.2 than what we had before. In v1.1 entities can have update behaviors, draw behaviors, components, lerpable render data, any other type of data and have update and draw methods build in so you can derive from them and build things in an OOP way. All the functionality for component data driven design was in there, but only used when it made a solution easier. This added a lot of complexity on the build service side were we basically take all these approaches and make normal component data driven entities out of them again (tons of code gets generated). I ignored the complaining of the platform team and now that I have worked on this myself last month and got it finally working, I have to agree, things kind of got crazy. One of the problems with v1.0 and v1.1 was to support JavaScript and C++ for Android code generation for any kind of entity. Since we allowed so much, things easily got out of hand and something was always not working. Because we had no prior experience to this, we just said this is a big problem and there seems to be no easier solution (probably still true).

Starting with v1.2 entity is just an empty sealed class, you cannot derive it or do any OOP, it just has some optional tags to find things later if needed and some entities can have children (like Buttons nested in a Panel). You can also add components to describe what an entity is about, they are not stored in the entity and can even be reused by multiple entities. Examples are Position2D, Color, Material, Rotation, PhysicsBody, Trigger, Action, etc. Entities can also be just templates, which means no logic or rendering is executed for them, but the data is all there to create new alive instances from it. And you can turn a entity invisible, which turns off the attached renderers while keeping their components and render data alive. That is pretty much it, all of it is data driven, which means we can easily safe it in the editor, there is no functionality in any of the entities or components, it is all just data (in fact we enforce it, if you put anything but public fields in components, the system will detect it and throw an exception).

To make things simple in code as well plus support old v1.1 code as well as we can, an EntityCreator class is available. Obviously not having Update or Draw methods or OOP in entities is going to break all kinds of things inside the engine and some of the games utilizing this. For example Line2D, Sprite or Model are not longer entities, but derive from EntityCreator, which internally just creates a entity and adds all the required components. This way the code stays mostly compatible, is easy to use for newbies not knowing or wanting to use or extend entities, but you are totally free to create your own entities and customize it as much as you want. This is pretty much the only way to create anything in the Delta Engine anyway (as opposed to other engines where you have a huge list of existing classes you can use that do not use the same system as you). Unreal Engine 4 Blueprint system is also an inspiration on what could be done, but we do not plan to do anything as complex and complete, we still like writing code in C#, much faster that way (both in writing and execution speed).

Here are two quick pictures I drew in the last 2 hours while explaining the new system. Maybe next time we should record it so users can benefit from our training as well :)

First whiteboard image is just a bunch of ideas from during the week (going into a more data driven "MVC" way, was changed back to "Systems" and "Renderers" for clarity later):

The next whiteboard image is about the new entity component system in all its glory with data locality explained, components and examples plus how the editor works:

If you want to know more and read additional articles about entity systems check out our wiki page on this topic.

Entries welcome for the Monthly Contest

Every winner in each category (Best Game, Best Tutorial and Best Code) gets these cool prizes with a value of over $300 each.

To participate, post your submission in this thread. For general information about the contest, look here.


The Creeps are closer and closer!


Creepy Towers release is imminent! While you are waiting, why don't you take a look at a short gameplay video of its prototype?

To be a Creative Coder

Are you interested in programming and doing it in funny, creative ways? Would you like to learn coding or improve your skills? Would you like to make this passion your profession? 

Here it is a brand new initiative, called CreativeCoder. CreativeCoder is a training program for creating professional programmers through professional experience. The participants will be able to train themselves in a real working environment and to learn stuff by doing!

Delta Engine is part of this program too!

Do you want more info?

Just click on this link and take a look around!

Pump up the noise!

Can you hear it? Was that the sound of a far away explosion?

What could have caused it? Maybe it was a Fire Tower attacking a Cloth Creep... or an Impact one slamming on Iron?

Since the release is approaching, it is finally time for Creepy Towers to start being noisy! We are working together with Reflex Studio, a professional music and sound composing studio with quite some experience!

Reflex Studio is on the professional market for almost fifteen years and counts more than 60 successful projects under its belt.

Given this fact, Creepy Towers will be even more awesome than expected!

Creepy Towers Game Jam

Next week, third Delta Engine Game Jam is scheduled. However, we decided to make it a little different and more special: it will be a jam entirely devoted to Creepy Towers. For this reason, it will be a simple internal affair, closed to visitors, entirely devoted to boost our tower defense game development!


Here at the offices, we are pretty excited and are already making the first preparations for the event. Small teams will have to show how good they are both to compete and cooperate for a final, common goal!

 However, some fun moment might happen some now and then, like, for example, a few challanes at soccer-table!


Creepy Towers keeps on growing

Silently, just like an obscure unseen menace, Creepy Towers project keeps on growing.

If you are new and ask what is Creepy Towers, I can tell you that it is a 3D Tower Defense game currently under development at Delta Engine. Just like the engine itself, CT is an open source project and will be updated on regular basis. Given its nature, this game will take into careful account every suggestion and proposal made by players, so be sure to be a fan from the very beginning! Like the FaceBook page now!

I almost forgot: Creepy Towers will be released for all the platforms supported by Delta Engine and, thanks to Cloud savings, it will be possible to play it and use your data on any device you own.

 Are you wondering how it might look like? Well, this is just a sneak peek of a level... but enjoy it!

Creepy Towers prototype trailer is here!

We finally release the early development stage video showing changes from the very first concepts to a bit more advanced ones!
The video is also available on Youtube at the following url:


Soulcraft on the big stage at CeBIT

The Soulcraft game (showcase game for the good old v0.9.x DeltaEngine from the past) was updated today and is featured in the Windows 8 Game Store. It is also displayed at the CeBIT on the big stage as one of the Windows 8 games :)

BTW: If you want to meet us on the CeBIT, we will be there on Friday. Feel free to contact me.