1.3.4 • Published 10 months ago

@safe-engine/cocos v1.3.4

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Guide

  • all components must be extends from ComponentX or NoRenderComponentX
  • NoRenderComponentX will append to component of parent node have ComponentX, ComponentX will be addChild to parent node
  • node property represent node, and can pass properties to assign
  • example <SpriteRender node={{ x: 5, y: 9 }} />
  • $ref bind component with current class property as string
  • $push push component to list
  • Array(2).map(i) iteration repeat component 2 times
  • Loading.listItems.map(item, i = 1) iteration in static property
  • listItems.map(item, i) iteration in const variable
1.3.4

10 months ago

1.2.2

11 months ago

1.2.1

11 months ago

1.1.3

11 months ago

1.1.0

11 months ago

1.0.6

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

1 year ago

1.0.1

1 year ago