Page 1 of 1
Should be React ported to Love2d?
Posted: Fri Jun 01, 2018 4:02 pm
by bludburn
Recently I thought: "
What if the React was ported to Love2d?". May React be useful for game developers? The task of frameworks like him is to provide a sync UI and inner program state. In the GitHub, you make find Roact - React port for "Roblox" (game).
What do you think about this?
Re: Should be React ported to Love2d?
Posted: Sat Jun 02, 2018 5:19 am
by raidho36
I think it would do much better if you would port imgui to Lua so one wouldn't need to compile it in order to use it.
Re: Should be React ported to Love2d?
Posted: Mon Jun 04, 2018 12:34 pm
by holywyvern
Should? Maybe, it's not reeeally needed.
Remember than React is actually platform agnostic, if you can run JS, you can run React.
That's why things like react-dom and react-native are different packages.
That aside, a component library like Roact (and why not, an entire game library, look at react-pixi-fiber) is a good idea for games than are state-based, like turn based games.