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_rhythm/Rhythm/index.html

Module RhythmSource

Sourcetype judgement =
  1. | Perfect
  2. | Great
  3. | Good
  4. | Almost
  5. | Miss
Sourceval window : judgement -> float
Sourceval judge : float -> judgement option
Sourceval points : judgement -> int
Sourceval name : judgement -> string
Sourceval song_time : position:float -> offset:float -> float
Sourcetype 'lane note = {
  1. at : float;
  2. lane : 'lane;
  3. length : float;
}
Sourcetype 'lane performance = {
  1. judged : ('lane note * judgement option) list;
  2. errors : float list;
  3. combo : int;
  4. best_combo : int;
  5. score : int;
  6. last : (judgement * float) option;
  7. offset : float;
  8. now : float;
  9. started : float;
}
Sourceval start : offset:float -> started:float -> 'lane note list -> 'lane performance
Sourceval press : float -> 'lane -> 'lane performance -> 'lane performance
Sourceval misses : float -> 'lane performance -> 'lane performance
Sourceval play : float -> 'lane list -> 'lane performance -> 'lane performance
Sourceval average_error : 'lane performance -> float option
Sourceval sounding : Abc.tune -> int -> (float * float * int list) list
Sourceval on_frets : Abc.tune -> int -> int note list
Sourcetype difficulty =
  1. | Easy
  2. | Medium
  3. | Hard
  4. | Expert
Sourceval difficulties : difficulty list
Sourceval difficulty_name : difficulty -> string
Sourceval frets_at : difficulty -> int
Sourceval chord_at : difficulty -> int
Sourceval reduce : difficulty -> int note list -> int note list
Sourceval strummed : strum:bool -> held:'lane list -> 'lane list
Sourceval sustain_min : float
Sourceval sustaining : float -> 'lane list -> 'lane performance -> int
Sourceval muted : int -> Abc.tune -> Abc.tune
Sourceval newly_hit : 'lane performance -> 'lane performance -> float list
Sourceval struck : Abc.tune -> int -> float -> Abc.tune