aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Special developer's mode #208

Closed aroberge closed 9 years ago

aroberge commented 9 years ago

It might be useful to include a special developer's mode for the site. One example might be to include additional editors: 1 for pre-code, 1 for post-code, and one for html-based description which would normally be hidden. When developer mode would be enabled, these additional editors would be shown and, when executing a program, the world would be first updated to include the code shown in these editors. This would be a much friendlier way to create worlds making use of these features.

Edit: actually, perhaps this could be automatically enabled when the world editor is shown ...

aroberge commented 9 years ago

This was implemented as something automatic when the world editor is shown. In addition I have now made it possible to run code when editing the world - otherwise most of the usefulness of having the editor for the pre- and post- code was lost.