summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
2018-10-23Update everythingMatthias Schiffer
2017-09-12Implement simple map rendererMatthias Schiffer
2017-09-11Code structuringMatthias Schiffer
Also, use a fixed-size canvas for now.
2017-09-11Import test dataMatthias Schiffer
2017-09-09Initial setup (Webpack, TypeScript, WebGL)Matthias Schiffer