-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger reloader from somewhere else. #10
Comments
(I'm not quite sure if this is a dupe of #6) |
Here is out very crude approach to code loading I'm hoping to replace it with something modern. |
Generating graphics is one of my motivations for creating reloadr. Would you have a small video demonstrating how you use the shoebot editor so I can see how your code reloading works for a user ? |
Here you go: https://www.youtube.com/watch?v=foxzx0JFU5g The editor used here is gedit with a plugin. |
Interesting approach with the Do I understand that shoebot will reload every function within the target ? |
There are some things unavoidable in this approach ..
|
I'd like a way of triggering the reloader from somewhere else, and when the code isn't necessarily in a file.
In Shoebot we execute code once per frame that may be in a .
New code can arrive from an external editor, which we crudely swap out.
It would be good if if we could use
reloadr
and call something to tell it that the new code has been updated and what it is.We have a crude rollback system too - if the code raises and exception or has a syntax error, we roll back to the last known good code and state.
Not sure if that's in the scope of reloadr, but would be good, we use that so that the user can edit code as it's drawing animations etc.
The text was updated successfully, but these errors were encountered: