Showing posts with label engine. Show all posts
Showing posts with label engine. Show all posts

Procedure of plugins and event sheet in each tick

  1. pretick() in plugins
  2. tick() in behaviors
  3. posttick() in behaviors
  4. tick() in plugins
  5. "condition: every tick" in event sheet
  6. tick2() in behaviors
  7. tick2() in plugins
  8. draw() in engine 

Reference: preview.js, line 2416, function "logic".