summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-11-08math: rename Movement.{p1,p2} to {src,dest}Matthias Schiffer
2018-11-07webpack: switch devtool to eval-source-map, use in development mode onlyMatthias Schiffer
2018-11-07yarn.lock: update dependenciesMatthias Schiffer
2018-11-06controller/gamecontext: even nicer updateStep()Matthias Schiffer
2018-11-05controller/gamecontext: refactor collision codeMatthias Schiffer
2018-11-05controller/gamecontext: ignore weird projection points rather than stopping ↵Matthias Schiffer
movement altogether
2018-11-05math/line: explicitly allow movement away from line segmentsMatthias Schiffer
2018-11-05math/line: use center point for behind-wall checkMatthias Schiffer
Fixes collision in case of rounding errors.
2018-11-05More generic collision handlingMatthias Schiffer
2018-11-05Read collision barriers from map fileMatthias Schiffer
2018-11-05data: remove obsolete collision matrixMatthias Schiffer
2018-11-05Add collision radiusMatthias Schiffer
2018-11-04Fix rounding issues in collision handlingMatthias Schiffer
2018-11-04Replace player sprite with circleMatthias Schiffer
2018-11-04controller: gamecontext: implement simple collision handlingMatthias Schiffer
2018-11-04Add simple math library for line segmentsMatthias Schiffer
2018-11-04Minor code improvementsMatthias Schiffer
2018-11-04Updated test levelMatthias Schiffer
2018-11-04index.html: vertically center canvasMatthias Schiffer
2018-11-01Do not use default exportsMatthias Schiffer
2018-11-01controller: more GameContext cleanup, introduce ticksMatthias Schiffer
2018-10-31controller: clean up GameContext a bitMatthias Schiffer
2018-10-31Move game logic to a new moduleMatthias Schiffer
2018-10-31view: make entity anchor point configurable, default to centerMatthias Schiffer
2018-10-31Switch from characters to numerical tile IDsMatthias Schiffer
2018-10-31Add loader for simple (single-sprint) entities, use direction inputMatthias Schiffer
2018-10-31view: rename tile module to spriteMatthias Schiffer
2018-10-31Promisify XMLHttpRequestMatthias Schiffer
2018-10-31Get rid of MapView and MapStateMatthias Schiffer
2018-10-31view/tile: fix vertex countMatthias Schiffer
2018-10-31view: more refactoringMatthias Schiffer
2018-10-31view: refactor generic parts of MapView into a TileViewMatthias Schiffer
2018-10-31view: move tile size definition to MapLoaderMatthias Schiffer
We also remove the unneeded redrawPending flag.
2018-10-31view/renderer/Renderer: we don't need a depth bufferMatthias Schiffer
2018-10-31view: add simple input handlersMatthias Schiffer
2018-10-31view/renderer: simplify fragment shaderMatthias Schiffer
2018-10-31view: enable alpha blendingMatthias Schiffer
2018-10-31resources: move road to second layerMatthias Schiffer
2018-10-31view/MapView: add support for multiple layers and holesMatthias Schiffer
2018-10-31resources: add transparency to road tilesMatthias Schiffer
2018-10-31resources: remove unused tilesMatthias Schiffer
2018-10-30view/renderer/Renderer: remove dead codeMatthias Schiffer
2018-10-30yarn.lock: upgradeMatthias Schiffer
2018-10-26MapLoader: use square tile texture rather than long Nx1 rectangleMatthias Schiffer
By placing the tiles in a square texture, the dimensions are bounded by the square root of the dimension in the old solution. This way we can fit a significantly higher number of tiles into it without using up all the accuracy of the coordinates.
2018-10-26model: add mutable MapState (empty for now)Matthias Schiffer
2018-10-24Move shader initialization out of rendererMatthias Schiffer
Avoid public fields and ! overrides, make almost all fields readonly.
2018-10-24Throw in tslint and fix styleMatthias Schiffer
2018-10-24view/Renderer: code styleMatthias Schiffer
2018-10-24view/MapLoader: refactor texture creation into a methodMatthias Schiffer
2018-10-23Get rid of lodashMatthias Schiffer