thallada
4d1ef84568
Try initializing and move trains in Web Workers
...
Unfortunately, all of the train data has to be copied from the train web worker
to the main thread on every tick so it knows the new positions of the trains to
render. So every few ticks, the GC causes a little lag as it collects ~90+MB of
obsolete train arrays. There's no way for the two threads to share the same data
thanks to Spectre.
2018-04-22 18:40:20 -04:00
thallada
ad9167528a
Add unused Signal. private textStyle for labels
2018-04-21 01:45:00 -04:00
thallada
065a69a475
Keep CNAME on master, copy it on build to deploy
2018-04-16 23:00:50 -04:00
thallada
12b2fa7400
Fix random cases where init would error out
2018-04-16 22:49:29 -04:00
thallada
4ecc93189b
Deploy to github remote
2018-04-16 22:48:51 -04:00
thallada
f663e23bc9
Improve prod build. Add screenshot to readme.
2018-04-16 17:52:07 -04:00
thallada
df9ba6d5ea
Rework Line gen, add stats & viewport
...
Generate 4 separate lines. Trains now follow lines and only spawn on connected
stations.
2018-04-16 16:59:28 -04:00
thallada
a79f501c5e
Appease linter
2018-04-15 04:06:45 -04:00
thallada
35b4ef25bb
Use image sprite for trains
2018-04-15 04:02:54 -04:00
thallada
d1d342ee0f
Trains have own color, passengers can stay on
2018-04-15 02:54:35 -04:00
thallada
95805184ea
Add Direction for 4 colored directional Lines
...
Trains still do not follow lines. Lines do not reach every station. I need to
redo the Line creation.
2018-04-14 23:26:10 -04:00
thallada
61642cb70f
Move couple util funcs to Station, add comments
2018-04-14 18:22:16 -04:00
thallada
7c488cf2ca
Proper Station color averaging
2018-04-14 18:09:25 -04:00
thallada
902645d46a
Station and train colors
2018-04-10 01:31:49 -04:00
thallada
e686a854d8
Colors, exclude origin when choosing destination
2018-04-09 23:56:04 -04:00
thallada
35e3f8f3a3
Continuously traveling trains
2018-04-09 23:41:16 -04:00
thallada
502f15f1ef
Add train & station labels, fix train movement
2018-04-09 18:35:30 -04:00
thallada
4b7bf5353c
Out of control trains!
2018-04-06 01:07:16 -04:00
thallada
edae3f76f4
Add TypeScript, generate stations and a line
2018-04-05 22:41:19 -04:00
thallada
434578cebc
Draw random lines, display FPS counter
2018-03-31 01:50:39 -04:00
thallada
b51fbf3e7f
Bash code snippet highlighting in README
2018-03-31 01:09:51 -04:00
thallada
391182251c
Initial commit: webpack building a blank canvas
2018-03-31 01:07:44 -04:00