1.3.4 • Published 5 months ago

@safe-engine/cocos v1.3.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 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

5 months ago

1.2.2

5 months ago

1.2.1

5 months ago

1.1.3

5 months ago

1.1.0

6 months ago

1.0.6

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

8 months ago

1.0.1

8 months ago