Writing ecs wrappers around not ecs code? #64
Replies: 2 comments 2 replies
-
|
I assume you want to utilize the Graphics API's provided by Silk.NET. E.g. OpenGL, Vulkan, Direct3D or SDL. So your intension is to write something like a 2D/3D engine. There are two major architecture patterns for doing this. |
Beta Was this translation helpful? Give feedback.
-
|
I'm working on something similar, using Friflo to encapsulate Unity, ensuring that ECS business code doesn't rely on any Unity-specific content. For the core code, I also aim to minimize dependencies, and if dependencies are necessary, I make sure to encapsulate them properly. The workload is significant because my project already has a substantial amount of code. One crucial aspect of writing code with ECS is data modeling—once the data modeling is done well, the logic becomes clear. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make a ecs wrapper around silk.net, but I am new to ecs and am unsure how people write ecs wrappers around existing non ecs code.
I also don't want to expose anything from silk so I was wondering whats the best way to go about doing it?
Beta Was this translation helpful? Give feedback.
All reactions