Commit Graph

35 Commits

Author SHA1 Message Date
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
Thibaut Despoulain 4a090470ca Updated bkcore.hexgl.RaceData
Added import/export methods.
Added support for tick rates to lighten replay data.
Added sample replay file to replays/* (for testing only, normal replays
will be stored in localStorage).
Moved race data tick from main gameplay loop to mode-specific loop.
2012-10-22 22:10:00 +02:00
Thibaut Despoulain 6705467fe5 Added simple installation instructions.
Also fixed method name in bkcore.hexgl.RaceData.js
2012-10-17 11:58:58 +02:00
BKcore e22b9d4535 Added bkcore.hexgl.RaceData class to store ship states. 2012-10-15 17:58:19 +02:00
Thibaut f2f9d49cac Started race data storage for replay and ghost features. 2012-10-15 17:51:57 +02:00
Thibaut Despoulain 657f0354de Fixed JSdoc in bkcore.Utils 2012-10-05 15:51:05 +02:00
Thibaut Despoulain fdc179b41d Quick index and readme update. 2012-10-05 15:37:36 +02:00
Thibaut Despoulain 9197e88e46 v1.0.1 commit.
This is the first commit.
2012-10-05 15:10:45 +02:00
Thibaut Despoulain a14fd2d07d Initial commit 2012-10-05 06:06:07 -07:00