I need some concept feedback: IDEA -> Making some sort of JS GAME API and having Blazor for GUI

Making some sort of JS GAME API and having Blazor for GUI I have a 3D rpg game written in JS, my job recently told me that i should learn Maui/Blazor, so I want to integrate Blazor/Maui into my current asp.net website( that also invokes 3D RPG game written in JS). Im not exactly sure how i would approach this or if how im thinking of using blazor would be a good idea. I would like some feeback
6 Replies
JakenVeina
JakenVeina6mo ago
Blazor is not a good idea for a game engine. It is built for making hierarchal GUIs, not arbitrary animations and graphics actually, what it's really built for is rendering HTML
jetblacksalvation
that's what i want to use it for I have a few JS scripts that use three js. and in my personal experience i just dont really like how react stuff is used to render html so as a proof of concepts i want blazor UI/html interact with JS scripts to give the user the ability to choose what animation to play from a drop down
JakenVeina
JakenVeina6mo ago
well, you're free to try if you think it's a good fit it doesn't sound like a good fit to me, but I sure don't have as much context as you do about what you're doing I will say that Blazor's rendering engine is rather similar in concept to React's
jetblacksalvation
Probably, but React/JS feels much less structured, if that makes sense. I like how ASP.NET is pretty structured, and so far Blazor seems intuitive Im trying to use Blazor as the front end for the three js game, and also Blazor invoke ssome API functionality.
JakenVeina
JakenVeina6mo ago
type safety FTW
jetblacksalvation
Yeah i love types too. Thanks for your feedback