Commit graph

58 commits

Author SHA1 Message Date
ajuvercr ef5399217d https://stackoverflow.com/questions/64507718/why-does-wasm-opt-fail-in-wasm-pack-builds-when-generating-a-function-returning 2021-01-17 15:19:02 +01:00
ajuvercr dcf1173cb8
Docker (#25)
* change wasm to real vectors

* Add volume bind command to README

* add changable host name variable

Co-authored-by: Francis <francisklinck@gmail.com>
2020-06-24 14:16:14 +02:00
ajuvercr 129c904967
Frontend/visualiser (#24)
* refactor to src folder

* add working voronoi js file with types

* some spring cleaning

* update voronoi-core.d.ts to include inner class exports

* make voronoi go really fast

* do the voronoi dance

* better handle outliers in voronoi

* make renderer use multiple layers

* resize voronoi with resize + squash all in one buffer

* actually wait for shader factories to be created + cleanup

* show more info with FPS Counter

* POWER UP
2020-04-20 15:38:11 +02:00
ajuvercr 998cb3d535
Frontend/visualiser: enhancement show ship_count in visualiser (#23)
* make all fleets fly forward

* make things beautiful
2020-04-17 21:03:43 +02:00
ajuvercr 33abe9515f
Misc #18 (#22)
* make lobby game post refresh page better

* frontend side of handling specific games

* add link button in lobby

* add share button
2020-04-11 08:21:08 +02:00
ajuvercr 6b7fd4eff3
Colours (#21)
* try 1

* make colours uniform
2020-04-10 13:51:19 +02:00
ajuvercr f646d83b0e visualizer show first game at start 2020-04-07 14:13:38 +02:00
ajuvercr e0a634464e give visualizer a facelift 2020-04-01 22:16:55 +02:00
ajuvercr 09711466ac update voronoi for weak hardware 2020-03-29 07:15:50 +02:00
ajuvercr b5db58812b fix breaking typos 2020-03-29 06:21:24 +02:00
ajuvercr 70aabd39e9 MVP BOY 2020-03-27 18:35:56 +01:00
ajuvercr e7823f9135 rm useless print statements 2020-03-27 15:30:54 +01:00
ajuvercr 3fe8c01c26 fix webpack strange behaviour, with filthy fixes 2020-03-27 15:26:04 +01:00
ajuvercr b63b3099f3 dcels are hard 2019-09-29 21:56:04 +02:00
ajuvercr e281a1683d ts voronoi 2019-09-28 21:05:25 +02:00
ajuvercr d6ff2ea1e9 fix visual bug of ms per frame and ship departing from wrong planet 2019-09-25 11:06:33 +02:00
ajuvercr 814f0fb0ff hopefully add faster voronoi shit in wasm file 2019-09-25 11:01:15 +02:00
ajuvercr a0910bc629 Merge branch 'master' of github.com:ajuvercr/Planetwars 2019-09-25 09:54:25 +02:00
ajuvercr b0880511b1 display game name 2019-09-24 15:38:04 +02:00
ajuvercr 6c4a46b908 add logs 2019-09-24 15:31:21 +02:00
ajuvercr f8edd2630a add voronoi 2019-09-24 14:29:13 +02:00
ajuvercr 1a279f45f8 add example games 2019-09-23 19:03:54 +02:00
ajuvercr 1a9e268d61 remove alert please 2019-09-23 10:28:07 +02:00
ajuvercr e5cd8f0a79 update building again ... 2019-09-22 12:16:04 +02:00
ajuvercr baae82b958 bla 2019-09-22 12:01:24 +02:00
ajuvercr 641fee7ee7 fix webpack 2019-09-22 11:58:47 +02:00
ajuvercr 72338ad466 zoom to mouse 2019-09-22 09:41:56 +02:00
ajuvercr 4a8a9185af handle resize 2019-09-21 20:19:31 +02:00
ajuvercr 1b66d6289b remove console logs 2019-09-21 20:13:57 +02:00
ajuvercr bbe97e0df9 add game selector 2019-09-21 18:56:46 +02:00
ajuvercr 09699227c4 ships flying true 2019-09-21 17:19:40 +02:00
ajuvercr 3e32c4f240 add turn counter 2019-09-21 17:06:24 +02:00
ajuvercr c4ed747c2b BEAUtiful webpage + content 2019-09-21 16:54:48 +02:00
ajuvercr e4c3fc7c6c update backend cli + frontend viewbox thingies 2019-09-21 12:31:59 +02:00
ajuvercr 4ef9b79e49 exported set_instance now just takes a string 2019-09-21 11:37:26 +02:00
ajuvercr 6e95732fb1 Better pause scrolling 2019-09-21 11:31:28 +02:00
ajuvercr 24b3fa295d update ms per frame 2019-09-21 11:30:00 +02:00
ajuvercr ab3d595ad9 add game upload 2019-09-21 11:20:07 +02:00
ajuvercr c9c2f4a9e7 add turn slider 2019-09-21 10:43:03 +02:00
ajuvercr a744a17695 add turn updates with arrow keys etc 2019-09-21 10:32:57 +02:00
ajuvercr bcd0665c17 add play pause 2019-09-21 10:17:35 +02:00
ajuvercr 3aa61d683d going round and round 2019-09-20 19:31:32 +02:00
ajuvercr adc8759e0e Flying straight 2019-09-20 17:48:00 +02:00
ajuvercr 89eae79eca smooth transition 2019-09-19 18:27:56 +02:00
ajuvercr 195df9da38 hm still better, Im tired 2019-09-19 18:07:46 +02:00
ajuvercr 26d964637d better planets 2019-09-19 17:52:48 +02:00
ajuvercr 366f3361d9 colourful planets 2019-09-18 12:29:56 +02:00
ajuvercr aa97ec8837 wtf 2019-09-17 20:19:04 +02:00
ajuvercr 1f18f3d16f bump 2019-09-17 18:27:44 +02:00
ajuvercr a7e7218417 Merge branch 'config/hell' 2019-09-17 14:03:23 +02:00