Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CsTilengine for version 2.9.5
#5
It is not required to include the binding as a project dependency. However, it seemed inefficient to me to make a copy of the binding for each available sample project. So I decided to put the binding in its own project to avoid duplicate files. Moreover, there is no significant difference when it comes to performance. Class libraries are mainly used for separation and reuse of code and do not negatively affect performance in C#.

Before I discovered Tilengine to draw retro-style graphics, I experimented with the C# binding of SDL2. This library was written as a pure port of the C headers, I found it easy to implement existing method calls without first translating them into a separate model. However, when I switched to the C# binding of Tilengine, I missed this particular way of coding, since CsTilengine is class-based and not a pure port of the C headers. So I decided to make an alternative version of it, with a design strongly inspired by the design of the C# binding of SDL2.
Reply


Messages In This Thread
CsTilengine for version 2.9.5 - by vonhoff - 04-01-2022, 04:42 AM
RE: CsTilengine for version 2.9.4 - by System64 - 04-01-2022, 09:00 PM
RE: CsTilengine for version 2.9.4 - by vonhoff - 04-04-2022, 05:39 AM
RE: CsTilengine for version 2.9.4 - by System64 - 04-09-2022, 12:19 AM
RE: CsTilengine for version 2.9.5 - by vonhoff - 04-09-2022, 03:31 AM
RE: CsTilengine for version 2.9.5 - by megamarc - 04-09-2022, 05:11 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)