1712352d1c
view: add simple input handlers
2018-10-31 10:52:57 +01:00
a86a80e402
view/renderer: simplify fragment shader
2018-10-31 00:32:52 +01:00
7b9d467386
view: enable alpha blending
2018-10-31 00:32:52 +01:00
7a9cd36337
resources: move road to second layer
2018-10-31 00:27:34 +01:00
70a616b4a7
view/MapView: add support for multiple layers and holes
2018-10-31 00:27:34 +01:00
63c8b70e43
resources: add transparency to road tiles
2018-10-31 00:17:13 +01:00
f04f899d15
resources: remove unused tiles
2018-10-31 00:16:44 +01:00
b04f18e29a
view/renderer/Renderer: remove dead code
2018-10-30 23:38:14 +01:00
7112f40a70
yarn.lock: upgrade
2018-10-30 23:24:22 +01:00
4b680776a3
MapLoader: use square tile texture rather than long Nx1 rectangle
...
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-26 23:11:14 +02:00
bc6d79b088
model: add mutable MapState (empty for now)
2018-10-26 21:59:46 +02:00
ebc56db63c
Move shader initialization out of renderer
...
Avoid public fields and ! overrides, make almost all fields readonly.
2018-10-24 23:05:13 +02:00
9770eaf432
Throw in tslint and fix style
2018-10-24 22:28:27 +02:00
06b2c5bec7
view/Renderer: code style
2018-10-24 00:27:53 +02:00
ad0f256724
view/MapLoader: refactor texture creation into a method
2018-10-24 00:26:47 +02:00
23bee802a5
Get rid of lodash
2018-10-23 23:50:36 +02:00
f9f3da7048
Update everything
2018-10-23 23:45:30 +02:00
02758a69ac
Implement simple map renderer
2017-09-12 09:20:19 +02:00
a5e69edc5a
Code structuring
...
Also, use a fixed-size canvas for now.
2017-09-11 23:24:13 +02:00
4a67ba6830
Import test data
2017-09-11 21:28:16 +02:00
a47638aab5
Initial setup (Webpack, TypeScript, WebGL)
2017-09-09 02:53:10 +02:00