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_racing3d/Track3d/index.html

Module Track3dSource

Sourcetype control = {
  1. x : Playground3d.number;
  2. y : Playground3d.number;
  3. z : Playground3d.number;
  4. width : Playground3d.number;
  5. bank : Playground3d.number;
}
Sourceval control : ?y:Playground3d.number -> ?width:Playground3d.number -> ?bank:Playground3d.number -> Playground3d.number -> Playground3d.number -> control
Sourcetype t
Sourceval build : ?step:Playground3d.number -> control list -> t
Sourceval of_road : ?width:Playground3d.number -> ?degrees_per_curve:Playground3d.number -> ?bank_per_curve:Playground3d.number -> Road.t -> t
Sourceval length : t -> Playground3d.number
Sourceval segments : t -> int
Sourceval step : t -> Playground3d.number
Sourcetype place = {
  1. px : Playground3d.number;
  2. py : Playground3d.number;
  3. pz : Playground3d.number;
  4. heading : Playground3d.number;
  5. width : Playground3d.number;
  6. bank : Playground3d.number;
}
Sourceval at : t -> Playground3d.number -> place
Sourceval across : t -> Playground3d.number -> Playground3d.number -> Playground3d.number * Playground3d.number * Playground3d.number
Sourceval locate : ?near:Playground3d.number -> t -> Playground3d.number -> Playground3d.number -> Playground3d.number * Playground3d.number
Sourceval forward : t -> Playground3d.number -> Playground3d.number * Playground3d.number
Sourceval strip : t -> Playground.color -> int -> Playground3d.number -> Playground3d.number -> Playground3d.shape3d
Sourceval wall : t -> Playground.color -> int -> Playground3d.number -> Playground3d.number -> Playground3d.shape3d