Commit Graph

334 Commits

Author SHA1 Message Date
Liam Westby
5691f28471 Move onMessage cases to their own methods for readability 2018-05-18 15:02:16 -05:00
Liam Westby
47a698bf20
Merge pull request #109 from realModusOperandi/game-refactor
Rework player drawing
2018-05-18 12:20:21 -05:00
Liam Westby
d35824be68 Clean up import 2018-05-18 12:10:25 -05:00
Liam Westby
6cf54a09e4 Update player to use container
and rework positioning to be relative to that container
2018-05-18 10:30:45 -05:00
Liam Westby
bd03116e44 Fix players jumping around when one dies and on start 2018-05-18 08:33:24 -05:00
Liam Westby
80cb7a4364 Calculate positions using sizes of the entities involved
This removes the magic numbers
2018-05-18 08:27:36 -05:00
Liam Westby
a39f8f52b7
Merge pull request #108 from aguibert/bugfixes-05-17
Bugfixes 05 17
2018-05-18 06:44:58 -05:00
Andrew Guibert
9f5f798aee Use proper ctor for EventSourcePolyFill 2018-05-17 16:37:42 -05:00
Andrew Guibert
a03bd9c2f1 Don't accept player direction changes if player is not alive 2018-05-17 16:17:00 -05:00
Andrew Guibert
1c5580dc32 Fix bug where turning into a wall and dying didn't display the fatal direction change 2018-05-17 16:16:17 -05:00
Andrew Guibert
472793ab21 Fix bad starting positions for P3 and P4 on CrossSlice map 2018-05-17 14:47:58 -05:00
Liam Westby
9876f1ee68
Merge pull request #107 from realModusOperandi/game-refactor
Create and use generic tooltip class
2018-05-17 14:10:50 -05:00
Liam Westby
ecdce1155b Create and use generic tooltip class 2018-05-17 13:22:54 -05:00
Andrew Guibert
e5cf08925d
Merge pull request #106 from aguibert/player-glowing-path
Player glowing path
2018-05-17 12:56:13 -05:00
Andrew Guibert
687a93230c Change orange player to P4 since orange is not main theme color 2018-05-17 12:49:56 -05:00
Andrew Guibert
90a2c1cd42 Put glow effect around player trails 2018-05-17 12:47:49 -05:00
Liam Westby
3862357b4e
Merge pull request #105 from realModusOperandi/game-refactor
Extract constants to separate files
2018-05-17 11:49:20 -05:00
Liam Westby
6e6f2d0228 Extract constants to separate files 2018-05-17 08:28:31 -05:00
Andrew Guibert
5fa7f92c46
Merge pull request #104 from aguibert/readme-writeup
Technology writeup in README
2018-05-16 22:46:41 -05:00
Andrew Guibert
cab7a53002 Technology writeup in README 2018-05-16 22:45:30 -05:00
Liam Westby
47577797b3
Merge pull request #102 from realModusOperandi/angular-6
Add production build in again
2018-05-16 16:16:20 -05:00
Liam Westby
61a994ae39 Add production build in again 2018-05-16 16:09:19 -05:00
Liam Westby
6eaf015c5e
Merge pull request #101 from realModusOperandi/angular-6
Update to Angular 6
2018-05-16 16:04:29 -05:00
Liam Westby
f812adbac5 Fixes after review 2018-05-16 16:02:18 -05:00
Liam Westby
5545b1c8e5 Bring in compat module to work around bug in new style import 2018-05-16 15:13:36 -05:00
Liam Westby
82b1ea6487 Resolve inability to find http or https errors 2018-05-16 14:11:17 -05:00
Liam Westby
a7474d9fbc Some additional updates 2018-05-16 14:11:17 -05:00
Liam Westby
ef1b566d78 Upgrade to Angular CLI 6 2018-05-16 14:11:17 -05:00
Liam Westby
a481a4af41 Build error due to old-style rxjs import 2018-05-16 14:11:17 -05:00
Liam Westby
64e9d622aa Angular 6 GM 2018-05-16 14:11:17 -05:00
Liam Westby
5a68ee2ab7 Update to angular 6 rc 5 2018-05-16 14:11:17 -05:00
Liam Westby
6459b093b0
Merge pull request #100 from aguibert/frontend-perf
Minor improvements to frontend performance
2018-05-16 14:10:47 -05:00
Andrew Guibert
d0883a2d04 Minor improvements to frontend performance 2018-05-16 13:07:56 -05:00
Andrew Guibert
b5b3074d4e
Merge pull request #99 from aguibert/player-color-scheme
Update player colors to orange/green/blue/purple
2018-05-16 11:23:38 -05:00
Andrew Guibert
c5564510eb Update player colors to orange/green/blue/purple 2018-05-16 11:21:35 -05:00
Andrew Guibert
3d3f655855
Merge pull request #98 from aguibert/some-maps
New HulkSmash map
2018-05-16 10:54:25 -05:00
Andrew Guibert
296c57a129 New HulkSmash map 2018-05-16 09:43:01 -05:00
Andrew Guibert
971485fad7
Merge pull request #97 from aguibert/mobile-requeue
Mobile usage improvements
2018-05-15 14:34:42 -05:00
Andrew Guibert
bfdc7e4cd8 Fix explosions not showing when player dies 2018-05-15 14:06:33 -05:00
Andrew Guibert
ee1cdd20db Only load BAM sound once instead of on every death 2018-05-15 11:01:40 -05:00
Andrew Guibert
e048675b58 Send users back to login page if they end up at the game page for an invalid round 2018-05-15 10:30:36 -05:00
Andrew Guibert
10bb5805b0 Update keystore so its password matches what is in config 2018-05-15 09:25:58 -05:00
Andrew Guibert
3a1057dd88 Handle requeues with REST instead of websockets 2018-05-14 22:55:39 -05:00
Andrew Guibert
c08ec14c33 Take away requeu button on mobile and replace it with prompt 2018-05-14 16:02:11 -05:00
Andrew Guibert
17cf9906d7 Allow game speed and map to be dynamically configurable 2018-05-14 14:49:46 -05:00
Andrew Guibert
8f68ddf09e
Merge pull request #96 from realModusOperandi/hidpi
Increase internal canvas resolution to 1200
2018-05-14 10:42:58 -05:00
Liam Westby
e256265f95 Fix login width on desktop browsers 2018-05-14 10:31:30 -05:00
Liam Westby
d537a9a21c Up internal canvas resolution to 1200 and scale everything to match 2018-05-14 10:31:13 -05:00
Andrew Guibert
f2d8119f8b
Merge pull request #95 from aguibert/happy-hour-bugfixes
Happy hour bugfixes
2018-05-14 08:09:14 -05:00
Andrew Guibert
a0abb0a1a5
Merge pull request #94 from aguibert/bam
BAM
2018-05-11 17:30:23 -05:00