Play The City

I would like to share with you guys what I’ve been doing the last few months and why I didn’t participate in a few competitions like Game Jolt Shocking Contest or Mini LD #10.

It all began two months back on May 20th in school when a few volunteers including me were introduced to the idea of a business game. The goal was to develop a business idea within eight weeks with a seed money of only five euros.
Our idea: An educational game about a city. We choose Augsburg (a nice city in Germany), it was an obvious choice, because we all (our team) are studying at the university of Augsburg.
And on top of all, we won this business game. *YEAH*

Read More

ElysionLegacy C++ code snippet

This blog has been pretty Object Pascal… well, until now. Here is a little code snippet of the ElysionLegacy package looks like in C++. As you can see except for the C-ish part, the API is quite the same as in the Object Pascal version and I will try my best to keep it that way.
As it progresses more and more I have to say it was a good step to move (T)elSurface into a singleton, even though it costed a bit performance. Not to worry, the frame rate is currently capped at 60 FPS by standard, 200 FPS at maximum.
It’s still in an experimental stage and the singleton may change a little bit, but the basic methods are already implemented.

#include <stdio.h>
#include "ElysionLegacy.h"

int main(int argc, char* argv[])
{
    elSprite* Sprite = new elSprite();

    elSurface::getInstance()->Initialize(640, 480, 32, false);

Sprite->LoadFromFile("/Path/to/mech.bmp");
Sprite->setPosition(makeP2D(10, 10));

while (elSurface::getInstance()->Run())
    {
elSurface::getInstance()->BeginScene();

Sprite->Draw();

elSurface::getInstance()->EndScene();
}

elSurface::getInstance()->Finalize();

    return 0;
}
Read More