package elm_playground_gamekits
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0
doc/index.html
elm_playground_gamekits
What the games of a genre share, written from scratch for teaching: how each genre works, a kit per genre, one idea per module. They are above the Elm Playground, most of them drawing with it, and use the from-scratch libraries of tiny_libs (ai, audio).
Each is a library of its own, named elm_playground_gamekits.<name> outside this repository, for example in a dune file:
(executable
(name main)
(libraries elm_playground elm_playground_native
elm_playground_gamekits.kit_platformer))The libraries are unwrapped: their modules are used by their own names, Tile_move, Ladder.
Shoot 'em ups
Shots as values that move, the curves enemies fly along (elm_playground_gamekits.kit_shmup):
Fighting games
Hit boxes, a move's frames, fighters as stick figures (elm_playground_gamekits.kit_brawler); and in 3D, a fighter as a skeleton of boxes (elm_playground_gamekits.kit_brawler3d):
Platformers
A box moved against a tilemap, ladders, shaped ground felt by sensors (elm_playground_gamekits.kit_platformer); Crush's slices (elm_playground_gamekits.kit_crush):
Mazes and arenas
A grid's corridors and the ways chosen in them (elm_playground_gamekits.kit_maze); Tron's light cycles (elm_playground_gamekits.kit_lightcycles):
Puzzles
Pushing on a grid, going back, Sokoban's rules, levels and solver (elm_playground_gamekits.kit_puzzle):
Cards
The 52 cards, Microsoft's numbered deals, a card drawn (elm_playground_gamekits.kit_cards):
Adventures
The world as data and the player's sentences answered by rules (elm_playground_gamekits.kit_adventure):
Racing
The road and a car on it, a car on a flat world or on ground with a height (elm_playground_gamekits.kit_racing); and in 3D, a course as a ribbon of quads (elm_playground_gamekits.kit_racing3d):
Sports
The ball pushed ahead, a side keeping its shape (elm_playground_gamekits.kit_sports):
Strategy
The three kinds of order and the walking (elm_playground_gamekits.kit_rts):
Rhythm games
The music's clock, the grades, charts played and made (elm_playground_gamekits.kit_rhythm):
The worlds of 2.5D and 3D games
Doom's sectors (elm_playground_gamekits.kit_sectors), Descent's mine and its ship (elm_playground_gamekits.kit_segments), Comanche's terrain (elm_playground_gamekits.kit_heightmap), a world seen from one fixed angle (elm_playground_gamekits.kit_isometric):