summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2018-11-22GameContext: remove animated test entityMatthias Schiffer
2018-11-21Allow using animated entities as map tilesMatthias Schiffer
A more optimized implementation for animated tiles is planned.
2018-11-21Move immutable parts of EntityContext into a new EntityView classMatthias Schiffer
2018-11-17GameContext: async render loopMatthias Schiffer
2018-11-17MapView: add class for layer renderingMatthias Schiffer
2018-11-17Add MapView class with common render() methodMatthias Schiffer
2018-11-11Prepare support for adding extra elements to map layersMatthias Schiffer
2018-11-11resources: add walls to test levelMatthias Schiffer
2018-11-11view: do not split multi-frame sprites into multiple texturesMatthias Schiffer
2018-11-11view: remove support for non-power-of-2 sprites againMatthias Schiffer
Sprites with unusual dimensions must be padded with transparency. By only supporting power-of-two sprites, the anchor point can always be specified accurately.
2018-11-11Add support for simple periodic sprite animationsMatthias Schiffer
2018-11-11controller: gamecontext: count actual game timeMatthias Schiffer
2018-11-11controller: gamecontext: increase collistion radius to outer lineMatthias Schiffer
2018-11-10view: add support for non-square, non-power-of-2 spritesMatthias Schiffer
2018-11-09Use Record type where applicableMatthias Schiffer
2018-11-09view: inputhandler: release all keys when focus is lostMatthias Schiffer
2018-11-09Allow interacting with entitiesMatthias Schiffer
2018-11-08Implement circle collidablesMatthias Schiffer
2018-11-08Implement more flexible handling of entities and collidablesMatthias Schiffer
2018-11-08math: rename Movement.{p1,p2} to {src,dest}Matthias 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-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