58 Commits

Author SHA1 Message Date
Thibaut Despoulain 6addc95a2f Merge pull request #52 from i-khan/master
setVelocity commented
2021-03-21 22:49:17 -07:00
Iftikar Khan 66a8b4196f setVelocity commented 2021-03-20 14:45:42 +05:30
Thibaut Despoulain c9c58f1cd0 Merge pull request #36 from baleboy/convert-audio-to-ogg
Use audio files in OGG format
2016-01-16 20:11:13 -08:00
Francesco Balestrieri 68503c26cd Use audio files in OGG Vorbis format 2016-01-14 13:29:17 +02:00
Thibaut Despoulain 5d60963bf5 Merge pull request #33 from BKcore/readme-cleanup
Cleanup README
2015-08-29 13:51:25 -07:00
Thibaut Despoulain de0dbb2b98 Cleanup README 2015-08-29 13:51:03 -07:00
Thibaut Despoulain 62b7166b57 Merge pull request #32 from BKcore/license-update
Switch to the MIT License
2015-08-29 13:48:02 -07:00
Thibaut Despoulain c8e65a6bd3 Create LICENSE 2015-08-29 13:44:51 -07:00
Thibaut Despoulain 2cb8b75c43 Update license to MIT 2015-08-29 13:41:59 -07:00
Thibaut Despoulain 0e9e29be7d Merge pull request #31 from dholbert/patch-1
Fix unbalanced h4 w/ h3 close-tag
2015-08-29 13:36:52 -07:00
Daniel Holbert cf5dfd5e9c Fix unbalanced h4 w/ h3 close-tag
Just fixing invalid HTML -- right now there's a `<h4>` which is closed by a `</h3>`. Should be a `</h4>`.
2015-05-29 13:00:33 -07:00
Thibaut Despoulain 3495ddf0ef Merge pull request #26 from licson0729/master
Added Audio Support
2015-01-11 10:39:05 -08:00
Licson Lee 51534de63e Fixed glitches after pressed Escape key to restart game 2015-01-11 20:06:32 +08:00
Licson Lee 342ab3e6e5 Added license files and improved audio engine 2015-01-11 13:10:58 +08:00
Licson Lee c9cba6bf26 Added Audio Support 2015-01-10 23:12:04 +08:00
Thibaut Despoulain 107fe6641c Merge pull request #23 from baleboy/touch-default
If the device supports touch input, set default controls to TOUCH
2014-08-22 11:09:02 -07:00
Francesco Balestrieri 992ba4d0d3 If the device supports touch input, set default controls to TOUCH 2014-08-22 08:28:36 +03:00
Thibaut Despoulain e2f0a5f9eb Merge pull request #24 from baleboy/coffee
Use files generated from CoffeeScript
2014-08-21 21:55:30 -07:00
baleboy fedeef71ee Use files generated from CoffeeScript 2014-08-20 07:41:19 +03:00
Thibaut Despoulain 182a636fa0 Add credits page. Remove godmode menu entry for now. 2014-06-10 10:11:52 -07:00
Thibaut Despoulain dfe7a187e8 Merge pull request #22 from townxelliot/no-mobile-setting-take2-21
Remove platform option and use HUD option instead
2014-06-01 18:35:17 -07:00
Thibaut Despoulain 74233447f5 Merge pull request #20 from townxelliot/fix-19
Be more discriminating when handling touch events
2014-06-01 18:34:31 -07:00
Elliot Smith 27c4b94d38 Be more discriminating when handling touch events
Check the position and type of the touch event to determine
whether acceleration is being applied.

The only issue with this is that if a touch moves from the right
of the screen to the left, if a touchend event occurs in the left
side of the screen, it won't stop the acceleration. But it's a
better solution than counting the number of touches.

Also added a check on touch move events, so that only moves which
occur on the left of the screen are counted as turns. The reason
for this is that in some cases, the touch identifier was being
incorrectly applied: so a touch which started on the left of
the screen could accidentally be continued by a touchmove
occurring on the right of the screen, resulting in a violent right
turn. (It appears as though the touch ID can mistakenly
transfer between touches with different fingers.)

By testing where the touchmove occurs, the violent turn effect
can be removed, as only a finger on the left-hand side of the
screen can cause moves.
2014-05-30 16:16:49 +01:00
Elliot Smith 78a100c99e Merge platform+quality into a single quality value
Added another quality setting (VERY HIGH) and mapped all
combinations of platform + the old quality value to the new
4 value quality option, as follows:

desktop + mid/high quality => 3
mobile + high quality => 2
mobile + mid quality, desktop + low quality => 1
mobile + low quality => 0

All choice points in the code which enabled/disabled
graphics features, based on platform + quality,
were mapped onto a table. This showed which features were
disabled or enabled depending on the platform/quality
combination.

It turned out that mid and high quality resulted in the same
settings on desktop, so they could be captured in a single
value (3).

The only change made to the decision points was that desktop +
low quality previously turned off the booster lighting effect,
whereas that effect is now on for desktop + low quality. This was
done so that mobile + mid quality was equivalent to
desktop + low quality.

By doing this, the "mobile" property can be removed. I also
removed the "half" property, and set it based on quality in the
HexGL class (basically, it's enabled for mobile + low quality,
which is new quality value 0).
2014-05-30 12:27:24 +01:00
Elliot Smith 4886f1d9d0 Localise all references to 'mobile'
Remove the mobile property and set it locally in each location
where it is used (preparation for iterating the different
platform+quality combinations which affect the graphics).

Mark each point where a decision is made based on platform+quality
with a plain English version of the combinations which take
effect and when.

Add an explicit hud property which is set from the start screen
and which is independent of the platform.
2014-05-30 11:41:16 +01:00
Thibaut Despoulain fdc7e913fc Add support for newer Gamepad API. Fix left stick handling. 2014-05-24 16:17:47 -07:00
Thibaut Despoulain 6dbafa4047 Merge pull request #17 from maheshkk/gamepad
Add gamepad controller support for the game
2014-05-24 15:39:28 -07:00
mahesh.kk 6100ecf394 Add gamepad controller support for the game 2014-05-19 15:59:52 -04:00
Thibaut Despoulain 855dac6b5b Merge pull request #14 from BKcore/webgldetect
Add WebGL support test.
2014-03-29 14:52:46 -07:00
Thibaut Despoulain 92833cec7c Add WebGL support test. 2014-03-29 14:51:17 -07:00
Thibaut Despoulain 0d87df96db Merge pull request #13 from BKcore/leapmotion
Merge dev and leapmotion changes to master.
2014-03-29 14:32:20 -07:00
Thibaut Despoulain 54f2292f45 Remove old indexes 2014-03-29 14:30:02 -07:00
Thibaut Despoulain 431b54ec19 Leap motion integration. HTML interface redesign. Merge all controls into a single index. 2014-03-29 14:28:35 -07:00
Thibaut Despoulain 8c420e548b Updated index files to have both mobile and desktop version co-habiting. 2013-11-30 13:59:13 -08:00
BKcore 40aafe04c8 Latest local changes for branching (3). 2013-03-16 16:13:06 +01:00
BKcore 451e9464a3 Latest local changes for branching (2). 2013-03-16 16:11:34 +01:00
BKcore 28046f4a66 Latest local changes for branching. 2013-03-16 16:10:48 +01:00
BKcore a9161ab097 Added temporary mobile homepage 2013-01-29 18:46:04 +01:00
BKcore 9214a94f81 Updated TouchControls and ShipControls with mobile fixes. 2013-01-29 18:45:30 +01:00
BKcore b7ea7a25a0 Added TouchController class 2013-01-23 22:21:48 +01:00
BKcore caa452b215 Added missing exports in Particles 2012-12-23 23:37:33 +01:00
BKcore d58e4cb4eb Added coffee version of bkcore.threejs.Particles 2012-12-23 23:31:18 +01:00
BKcore 36be5b56c1 Added coffee version of bkcore.Utils and added rev53 of Three.js in libs. 2012-12-20 20:35:39 +01:00
BKcore 25bffdddcd Added coffee version of bkcore.ImageData and added missing doc 2012-12-20 16:22:48 +01:00
BKcore 52e6bd0b93 Started CoffeeScript port. Moved third-party libs from js/ to libs/. 2012-12-20 14:31:13 +01:00
Thibaut Despoulain cb48c0ca3e Added branches to readme. 2012-10-31 21:43:06 +01:00
Thibaut Despoulain 3e8d91af91 Finalized replay mode. Added ORBIT camera mode. Bug fixes. 2012-10-31 15:35:44 +01:00
Thibaut Despoulain 3cd565ff50 Updated gameplay with replay mode. 2012-10-31 12:32:51 +01:00
BKcore 3b747f93d4 Changed bkcore.hexgl.RaceData format to array 2D, improving perf and fixing object cloning issue. 2012-10-27 18:30:20 +02:00
Thibaut Despoulain 37b5fd3778 [Quickfix] bkcore.hexgl.RaceData.export():for 2012-10-22 22:48:38 +02:00