Commit Graph

74 Commits

Author SHA1 Message Date
Kevin Ngo
051a3e7b48 reduce collision threshold check distance to -1.65, will decrease number of unnecessary bbox checks 2018-11-26 14:56:49 -08:00
Diego F. Goberna
7822c8ffcb supercut cleanups 2018-11-21 11:57:56 +01:00
Diego F. Goberna
6845b5df37 improved score labels visual feedback (fixes #185) 2018-11-20 22:35:40 +01:00
Kevin Ngo
0ac494ed86 fix mine setting material when model not yet loaded 2018-11-19 08:09:06 -08:00
Kevin Ngo
524d150795 fix beam color (fixes #192) 2018-11-17 07:39:39 -08:00
Kevin Ngo
67a370d31f Revert "bump aframe"
This reverts commit f407db8457.
2018-11-14 15:00:14 +08:00
Diego F. Goberna
1b8c813add added particles on wall/floor collision 2018-11-13 02:01:32 +01:00
Kevin Ngo
26df7dadea clean up score-text code 2018-11-12 17:47:03 +08:00
Kevin Ngo
f0f8216a9a Don't allocate objects for particle event detail 2018-11-12 17:33:07 +08:00
Kevin Ngo
f407db8457 bump aframe 2018-11-12 16:58:49 +08:00
Kevin Ngo
468cc89f6b fix beat warmup 2018-11-08 14:31:35 +08:00
Diego Marcos
8912268c13 Increase horizontal separation between beats 2018-11-06 16:18:41 -08:00
Diego Marcos
e72961a29e Make hit collider taller 2018-11-06 15:44:21 -08:00
Diego Marcos
b947340933 Increase beat size 2018-11-06 15:36:27 -08:00
Diego Marcos
abe799bc24 Score system based on angle between projected saber vector and major planes 2018-11-05 21:21:52 -08:00
Diego F. Goberna
648931bc99 show beat score (fixes #146) 2018-11-02 21:00:54 +01:00
Diego Marcos
5c7758a25e Move beat positioning logic to beat component. Clean up 2018-10-31 17:53:32 -07:00
Diego Marcos
119979fce4 Move score calculation from state to payload of the beathit event 2018-10-31 15:45:59 -07:00
Kevin Ngo
423bb55454 fix delayed haptics 2018-10-30 00:13:00 -07:00
Kevin Ngo
0934de51a9 added ?synctest=true that logs when a beat hits the back wall for testing sync 2018-10-29 21:54:14 -07:00
Diego Marcos
df61bf5b0a Make hit collider 40% larger than beat 2018-10-29 18:49:33 -07:00
Diego Marcos
11049f2f12 Mines dont trigger a miss 2018-10-29 17:41:09 -07:00
Diego Marcos
c50316d452 Make hit colliders 20% larger than the block 2018-10-29 17:37:36 -07:00
Diego Marcos
907b31adc8 Add missing once parameter to addEventListener 2018-10-29 16:27:43 -07:00
Diego Marcos
4e71423cd8 Set rotation to initial rotation after warmup animation 2018-10-26 16:09:57 -07:00
Diego Marcos
ea7bb841a0 Guard to prevent warm-up animation from overshooting start position when dropping frames 2018-10-26 10:50:03 -07:00
Kevin Ngo
16e5ea792e use event listener once 2018-10-25 06:30:04 -07:00
Kevin Ngo
770a66cbcb apply warm up time only to beats 2018-10-25 03:03:50 -07:00
Kevin Ngo
9d5871bb30 fix beats getting bigger 2018-10-25 02:39:02 -07:00
Diego Marcos
e0f19e7f95 Add scoring system based on stroke angles 2018-10-24 18:53:12 -07:00
Kevin Ngo
61459fae1a Revert "Revert "beat warmup rotation / twist""
This reverts commit f62817b5dd.
2018-10-23 16:53:31 -07:00
Kevin Ngo
c73bbbbfe5 Revert "Revert "beat warp in""
This reverts commit b683ece322.
2018-10-23 16:53:16 -07:00
Diego Marcos
b683ece322 Revert "beat warp in"
This reverts commit 3f63300e4a.
2018-10-23 11:52:34 -07:00
Diego Marcos
f62817b5dd Revert "beat warmup rotation / twist"
This reverts commit 620f0a2846.
2018-10-23 11:43:48 -07:00
Diego F. Goberna
ac7580d64f break mines apart when hit (fixes #117) 2018-10-23 20:02:40 +02:00
Kevin Ngo
620f0a2846 beat warmup rotation / twist 2018-10-23 04:28:39 -07:00
Kevin Ngo
f94a0d88da differentiate play/pause vs. resume for beat generate 2018-10-23 03:29:01 -07:00
Kevin Ngo
3f63300e4a beat warp in 2018-10-23 03:20:30 -07:00
Kevin Ngo
0e0313bf9f beat preallocate cut/rotation axis in init 2018-10-23 02:53:17 -07:00
Kevin Ngo
2743579f8d reset timeouts and scheduled audio param changes after game over 2018-10-22 01:41:16 -07:00
Kevin Ngo
6797660c66 direct haptics to right hand 2018-10-20 18:50:00 -07:00
Kevin Ngo
85947f1808 work on beat hit sound 2018-10-19 03:57:42 -07:00
Diego Marcos
797a24c022 Take damage when hitting mines 2018-10-16 13:50:03 -07:00
Diego Marcos
77e767db4f Fix saber / dot beat color check condition 2018-10-16 13:33:25 -07:00
Diego Marcos
e241db6dac Remove debugger 2018-10-16 11:29:14 -07:00
Diego Marcos
42ff361e92 Check that saber and hit beat match color (fix #116) 2018-10-16 11:28:17 -07:00
Kevin Ngo
936e0240f4 get rid of more vector cloning. save six vectors per beat cut 2018-10-15 23:53:43 -07:00
Diego Marcos
39f214541b Fix arrow colliders 2018-10-15 17:24:18 -07:00
Diego Marcos
e94ca0d8c6 Detect strokes for more precise beat detection 2018-10-15 16:04:31 -07:00
Kevin Ngo
672474587b more linting, lots of undefined vars or unused vars 2018-10-13 17:26:03 -07:00