- Endless loop -

Development notes of Construct 2's plugins

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".
No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
標籤: engine
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

Links

  • Plugin SDK
  • Source code

Total Pageviews

Labels

Instance (6) ACE (4) cr (2) Behavior instance (1) CocoonJS (1) Eval (1) SID (1) UID (1) angle (1) destroy (1) distance (1) engine (1) layer (1) object-type (1) timeline (1) timescale (1)

Hot spots

  • Reuse ACE
  • Get UID from instance, get instance from UID
  • Procedure of plugins and event sheet in each tick
  • Reuse system action
  • Get behavior instance
  • Get SID from object-type, get object-type from SID
  • Destroy children objects when parent object destroyed
  • Override common ACEs of object
  • Create instance

Blog Archive

  • ▼  2014 (15)
    • ►  2 (11)
    • ►  3 (1)
    • ►  4 (1)
    • ▼  5 (1)
      • Procedure of plugins and event sheet in each tick
    • ►  9 (1)
  • ►  2015 (1)
    • ►  3 (1)
  • ►  2016 (1)
    • ►  2 (1)
Simple theme. Powered by Blogger.