~rbdr/serpentity-lib

Shared Components for Serpentity ECS framework for Javascript
a999674a — Ben Beltran 2 years ago
Publish
bc646ad0 — Ben Beltran 2 years ago
Fix force export
0e014a50 — Ben Beltran 2 years ago
Publish

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~rbdr/serpentity-lib
read/write
git@git.sr.ht:~rbdr/serpentity-lib

You can also use your local clone with git send-email.

#lib

Reusable nodes and components for serpentity.

#Components

Check each component's readme for more info.

  • acceleration — Acceleration vector (x, y, z)
  • angle — Store an angle as a number
  • debug — Debug component (for flagging or arbitrary values)
  • force — Force vector (x, y, z)
  • position — Position coordinates (x, y, z)
  • velocity — Velocity vector (x, y, z)
  • weight — Store weight as a number