Jump to content


A C++/LUA bridge Class

Posted by Roland, 05 March 2017 · 0 views

I have made a small class for helping with reading and writing parameters between C++ and LUA and also calling LUA functions from C++. I'm sharing this little thing here.

Using the class is quite simple as shown below

LUA - part

C++ - part

I have included is a test...


ZERO - a bit simpler approach

Posted by Roland, 14 February 2017 · 0 views

ZERO - a bit simpler approach I have been working a bit on getting things realistic and found that the amount of work with that is just overwhelming. Maybe its me that is to nit-picking :) Anyway I have decided to go for a bit more cartonish fun style and hopefully that will make the art process a bit less time-consuming.

So here is my new hero, the little friendly robot Alfred. Making...


Panic Disorder

Posted by Roland, 08 February 2017 · 0 views

Hi... Long time since last update.

The reason is that I have been through a period of Panic Disorder. This has been something that has followed me through my whole life in periods. Its something that is really hard to handle when it comes. Angst, worries, problems with stomac, irregular hearbeats, feeling really tired, problems with sleep and the list is...


After some struggle I got my first model done

Posted by Roland, 21 October 2016 · 406 views

A programmer making models. Well .. it takes some time to get a grip of how to make the models enough low poly to behave well in the engine but at the same time enough convincing to look real. And then we have the UV-mapping... If my hair wasn't (the little that's left) gray already it would have turn into to some of that flavor. I'm using...


A Little C++ that sings the base-chorus

Posted by Roland, 15 October 2016 · 263 views

After have been testing a bit in a more 'live'-development scene I found things that needed more attention (what else .. ). These things could maybe have been done in LUA but as I'm a C++ developer since long I moved over some basics to C++ and left some in LUA. During this operation I found some I could make some further improvements. Now my...


Sharing my Database class (wraps Sqlite3)

Posted by Roland, 07 October 2016 · 255 views

Had to make something that made my database handling a bit simpler so as I'm a kind old man I though I would share it. I have attached a zip file with all you need and a working Visual Studio 2013 project including an empty database. The important part is the DB class.

DB hides the details of using SqlLite3 and
SQL-syntax to handle...


Saving the Game State

Posted by Roland, 01 October 2016 · 395 views

One last thing I had to look over before diving into blocking out my levels was the saving and restoring of the game state. I had made this by using Leadwerks Streams but I found that it became quite clumpsy for doing the task of saving and restoring hundreds of items. Saving the Game State means that I save everyting that has been moved or tampered in any...


Game Mechanics Done.

Posted by Roland, 29 September 2016 · 350 views

So finally I have base of my Game Mechanics coding done in LUA. I do stick to the plan and have in fact not needed to change much. I introduced an new class UserInterface to handle the interaction with the user but else its the same plan as I showed in a previous blog post.

Below is the new code schematics with the UserInterface added. All is now...


And let there be music

Posted by Roland, 21 September 2016 · 278 views

Have been working a bit on some music for the Zero game and came up with this. Will use variations on this through the game as background music (not all the time). I recorded this using my Fender Telecaster, Fender Precision Bass through a Focurite external sound card into the PC recording program Tracktion. The music idea is my...


From C++ To LUA while implementing a plan

Posted by Roland, 21 September 2016 · 317 views

I never, ever in my wildest dreams thought I would do what I have been doing during the last week.

I have converted my C++ code to LUA and at the same taken advantage of the FlowGraph system.
Yes! You did read correctly ... FROM C++ TO LUA!!! not the other way

So why this then. Well....

Recent Comments