What is the engine squealing

Since I live in Szczecin in the evening I have some time and I can once again return to the engine. As long ago there had not looked a little "poodkurzać. A good start as the engine grows namespace'yi I added some methods to const'owe swapped. Next transformed my leciwą sputtering and light (but working!) Serialization. Now, instead of a few methods I decided to overload the operator <<(serialization), and>> (deserializacja) and this is a small archive manager. How it all works? First, of course, we must create a class archiwatora (where I'll write / read data) implements the interface IArchive. Then we have the object of this archive (of course the manager will take care not to create two times the same archiver'a). Now we're ready to write it / read:

//serialize arch << someInt << someVector << someOther; //deserialize arch >> someInt >> someVector >> someOther; 

In addition, I added to the scripting engine. I decided on a very popular lua'e. Frankly same syntax the more I like it in the lua AngelScript but speaks of its speed and its popularity among gamedeveloperów. To connect lua'yz C + + library I used luabind, which very easily allows you to "zbindowanie" lua'y to C + +. Now, thanks to the whole logic of the game will lie with the script, and you can easily modify it without recompiling the code (also by third parties).
I managed to also add a class to handle keyboard and mouse. Now, in a very easy and accessible way I have to support these two devices at any location of the engine (and scripts). Plugged in or already part of the PhysX technology, ie, character Controler and mesh cooking, I have yet to editor "to attain" the physical options for the actors.
At the moment I have been fine-tuning meanedżera serialization, finitely complete hooking engine lua'y, refactoring factory classes, and class to the sound and finally I will be able to take the renderer :)

One Response

  1. Яков Says:

    Актуально. Некоторые моменты не знал.

Leave a Comment

Please note: Comment moderation is enabled and May delay your comment. There is no need to resubmit your comment.