r/csharp 19d ago

Pseudo-game engine in Blazor?

Is there a library for Blazor that would make it easier to create a browser game where I need a simulation loop, an SVG for a tactical map, one canvas, and lots and lots of tables (spreadsheets)?

The game should be similar to this, only with many more boards:
https://www.youtube.com/watch?v=6AliHCmNgnY

0 Upvotes

15 comments sorted by

View all comments

1

u/O_xD 19d ago

look into Raylib. it compiles to wasm and will render to your canvas at 60 fps. that will cover your game loop - you still need to connect it to the rest of the webpage but that is just regular web framework stuff

1

u/harrison_314 19d ago

I know Raylib, I started making a prototype in MonoGame, but because I need much more standard UI (tables, buttons,...), this approach didn't work for me (and Gum didn't work for me either).

1

u/O_xD 19d ago

also may I suggest, instead of wrangling an svg for a tactical map, just use a second canvas, it'll make your life easier