04-01-2022, 04:42 AM
(This post was last modified: 04-03-2022, 10:30 PM by vonhoff.
Edit Reason: Now updated to 2.9.5, added TLN_PauseSpriteAnimation() and TLN_ResumeSpriteAnimation()
)
Hello all, my name is Simon. I'm a 23 year old aspiring software engineer. I'm mostly proficient in object oriented languages where I prefer to develop my applications in C#. Furthermore, I have a great passion for game development but I'm not a game designer or artist. So I mainly deal with the programming aspect of it.
With my background as a .NET developer, I wanted to use Tilengine's C# binding. However, I noticed that the binding was not up to date with version 2.9.5, so I thought it would be a fun challenge to write a binding that is an up to date 1:1 API translation of the original C version, with every piece of documentation I could find included as XML documentation tags.
Using the current version of CsTilengine as a base and the C# wrapper of SDL2 as inspiration, I finished the binding in almost four days of work. I also added most of the samples from the original version. However, I only had some problems getting the TLN_GetListObject() method to work correctly. So I excluded the port of the QueryLayer.c sample from this version of the binding.
You can find the source code of my binding here: https://github.com/vonhoff/CsTilengine
Any form of feedback is greatly appreciated
With my background as a .NET developer, I wanted to use Tilengine's C# binding. However, I noticed that the binding was not up to date with version 2.9.5, so I thought it would be a fun challenge to write a binding that is an up to date 1:1 API translation of the original C version, with every piece of documentation I could find included as XML documentation tags.
Using the current version of CsTilengine as a base and the C# wrapper of SDL2 as inspiration, I finished the binding in almost four days of work. I also added most of the samples from the original version. However, I only had some problems getting the TLN_GetListObject() method to work correctly. So I excluded the port of the QueryLayer.c sample from this version of the binding.
You can find the source code of my binding here: https://github.com/vonhoff/CsTilengine
Any form of feedback is greatly appreciated