summaryrefslogtreecommitdiffstats
path: root/src/view
AgeCommit message (Collapse)Author
2018-11-09view: inputhandler: release all keys when focus is lostMatthias Schiffer
2018-11-09Allow interacting with entitiesMatthias Schiffer
2018-11-08Implement more flexible handling of entities and collidablesMatthias Schiffer
2018-11-04Minor code improvementsMatthias Schiffer
2018-11-01Do not use default exportsMatthias Schiffer
2018-10-31controller: clean up GameContext a bitMatthias 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-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-31view/MapView: add support for multiple layers and holesMatthias Schiffer
2018-10-30view/renderer/Renderer: remove dead codeMatthias 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.