package elm_playground_gamekits

  1. Overview
  2. Docs
Genre kits for Playground games: platformers, racing, shoot 'em ups, fighting and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/elm_playground_gamekits.kit_brawler3d/Skeleton/index.html

Module SkeletonSource

Sourcetype limb = {
  1. pitch : Playground3d.number;
  2. yaw : Playground3d.number;
  3. bend : Playground3d.number;
}
Sourcetype pose = {
  1. lean : Playground3d.number;
  2. turn : Playground3d.number;
  3. front_arm : limb;
  4. back_arm : limb;
  5. front_leg : limb;
  6. back_leg : limb;
}
Sourceval stand : pose
Sourceval limb : ?yaw:Playground3d.number -> ?bend:Playground3d.number -> Playground3d.number -> limb
Sourceval lerp : pose -> pose -> Playground3d.number -> pose
Sourceval at : (int * pose) list -> int -> pose
Sourceval draw : ?front_hand:Playground3d.shape3d -> ?back_hand:Playground3d.shape3d -> body:Playground.color -> back:Playground.color -> skin:Playground.color -> Playground3d.number -> Playground3d.number -> pose -> Playground3d.shape3d
Sourceval hand : Playground3d.number -> Playground3d.number -> pose -> Playground3d.number * Playground3d.number * Playground3d.number
Sourceval foot : Playground3d.number -> Playground3d.number -> pose -> Playground3d.number * Playground3d.number * Playground3d.number