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_platformer/Slope/index.html

Module SlopeSource

Sourcetype surface = {
  1. solid : bool array;
  2. angle : Playground.number;
}
Sourcetype mode =
  1. | Floor
  2. | Right_wall
  3. | Ceiling
  4. | Left_wall
Sourceval mode_of : Playground.number -> mode
Sourceval down : mode -> Playground.number * Playground.number
Sourceval ground : tiles:((int * int) -> surface option) -> size:int -> ?reach:int -> mode -> (Playground.number * Playground.number) -> (Playground.number * Playground.number) option
Sourceval block : int -> surface
Sourceval slope : int -> from_:int -> to_:int -> surface
Sourceval ring : int -> cx:Playground.number -> cy:Playground.number -> radius:Playground.number -> thickness:Playground.number -> inside:bool -> surface
Sourceval empty : int -> surface