marrus-sh / jelli

A game engine! Currently being developed.
MIT License
1 stars 0 forks source link

Allow the creation of arbitrary JelliScript functions #24

Closed marrus-sh closed 8 years ago

marrus-sh commented 8 years ago

These should then be callable from within init and step. For example you might have:

<script type="text/plain" id="somethingToDo">
    log ("something was done!")
</script>
<script type="text/plain" id="step">
>>  . . .
    (do_something) runScript (somethingToDo)
>>  . . .
</script>

Passing arguments might be possible through data-* attributes, if useful.

marrus-sh commented 8 years ago

JelliScript is no more :'(