- Endless loop -

Development notes of Construct 2's plugins

Reuse system action

cr.system_object.prototype.acts.SetLayerEffectParam.call(
    this.runtime.system, // this
    param0,
    ....
);
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
標籤: ACE

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (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)
      • Reuse ACE
      • Get UID from instance, get instance from UID
      • Function declaration string for eval
      • Array shallow copy
      • Destroy instance
      • Reuse system action
      • Get angle and distance between two points
      • Get SID from object-type, get object-type from SID
      • Create instance
      • Get timeline instance
      • Reorder z order of layer
    • ►  3 (1)
    • ►  4 (1)
    • ►  5 (1)
    • ►  9 (1)
  • ►  2015 (1)
    • ►  3 (1)
  • ►  2016 (1)
    • ►  2 (1)
Simple theme. Powered by Blogger.