I can't figure out how to implement entities in Angelscript. Like can I make a special class such as "Entity" in C++ and expose it to the API, and then let that be inherited from?
Then can I run the update() and draw() methods on anything that inherits from "Entity" and exists? Or if I can't do that, can I have some sort of function to register a class as an entity?
I'm trying to make my script API as simple and compact as possible, moving away from the structure of software like LOVE (framework and not engine, reinvent parts of the wheel every time you want to make a game) and be able to get a game object on the screen ASAP with minimal or **no** script code that handles any actual management or collections of entities; I want to manage all of that via C++ and manage entity creation through level loading.
(originally posted in /r/gamedev, I was pointed h ere)