doodle/pkg/scripting
Noah Petherbridge 0c22ecae5e Level Exit Doodad
* Add a Level Exit doodad, which for now is a little blue flag on a pole
  that reads "END"
* JavaScript API: global function EndLevel() will end the level. The
  exit doodad calls this when touched by the player.
* Add a "Level Completed" alert box UI to PlayScene with dynamic button
  layouts.
  * The alert box pops up when a doodad calls EndLevel() and contains
    action buttons what to do next.
  * "Play Again" restarts the current level again.
  * "Edit Level" if you came from the EditorScene; otherwise this button
    is not visible.
  * "Next Level" is a to-be-implemented button to advance in the single
    player story mode. Only shows up when PlayScene.HasNext=true.
  * "Exit to Menu" is always visible and closes out to the MainScene.
2019-07-02 15:24:46 -07:00
..
events.go Improve OnCollide Doodad Script Handling 2019-05-06 22:58:09 -07:00
pubsub.go Pub/Sub Messages Between Linked Actors (JavaScript) 2019-06-23 17:34:11 -07:00
scripting.go Level Exit Doodad 2019-07-02 15:24:46 -07:00
supervisor_events.go Level Exit Doodad 2019-07-02 15:24:46 -07:00
timers.go Script Timers, Multiple Doodad Frames 2019-04-18 18:15:05 -07:00
vm.go WASM Texture Caching 2019-06-27 12:03:52 -07:00