3 ms·
Ironically, early days Java Applets had you painting things on a canvas with a similar event loop. I think Flash also operated this way. I almost think if some
by mattbrewsbytes 3y ago
Ironically, early days Java Applets had you painting things on a canvas with a similar event loop. I think Flash also operated this way.
I almost think if someone were to build applications with Godot (or another engine) that you would need to mentally translate from something like React components and their data to the actor/sprite+state in an event loop model.
For example a todo list in Godot might have an actor that is the checkbox with some text next to it and the state of checked/unchecked, then allow the user to click something which generates more of these actors/sprites dynamically. I think where it really becomes cumbersome with a game engine is no real organization of a scene exists without you explicitly laying out x,y pixels. There are concepts of "relative" but common application concepts of pagination, etc. would be hard to pull off in a simple way in the code I would imagine.