greenstack / spite-framework

The Spite Framework is a C# library meant to simplify designing and implementing turn-based gameplay by providing some boilerplate code.
MIT License
6 stars 0 forks source link

Allow for discrete use of arenas #4

Closed greenstack closed 4 years ago

greenstack commented 4 years ago

Many game engines and frameworks don't allow devs to take total control of the game loop. Currently, the Arena only works from the inside - nothing from the outside can pass in input. Once DoBattle is called on the Arena, the arena enters an infinite loop; that is, it becomes the game loop.

This behavior should still be supported (as it seems to work fine for text-based games), but there needs to be a way to have the Arena exist separately from the core game loop.

This will probably introduce several major API changes from 0.1.0-alpha.

greenstack commented 4 years ago

A lot of work has been put in to this issue on the discrete-arenas branch. Personally, I think we're just about there, though I may play around with some other simple example projects to get this working all the way. I'm particularly looking at making a game with MonoGame 3.8, though with a new semester rolling up, I might not have as much time as I'd like to do something like that.

greenstack commented 4 years ago

I think that this issue has been completed.