Scott Anderson
05/19/2020, 6:27 AMScott Anderson
05/19/2020, 6:30 AMChris Maughan
05/19/2020, 11:11 AMgman
06/15/2020, 4:07 AMthis
is the object the function is on and event
contains time
and deltaTime
I know it's far from complete. Just that it's fairly trivial to throw together a live coding editor at least to start. A hard part becomes handling all the loading and unloading of resources and null pointers etc.
For example you make a script for player and it has a reference to a gun model in the scene graph and then a user selects the gun model and presses delete. You can build a system that handles that but it's not the default. A game engine without tools would generally just have some direct pointer to the gun model in the code controlling the gun. Yes, you can build up a system to handle that but suddenly your easy pointers because some kind of heavy handle. Or you can use a language that can hopefully handle it for you. AFAIK C/C++ is not one of them though.
You've also probably seen https://playcanvas.com/ which could basically be generously called Unity Editor online.