tbalouet / WebVRDefender

A game project to show adaptive gameplay on multiple devices over WebVR
Apache License 2.0
6 stars 0 forks source link

Create a config-component to ease tweaking #5

Open tbalouet opened 7 years ago

tbalouet commented 7 years ago

In order to enable the users to easily tweak their experiences, we'd need an AFrame component which would contain all tweakable variables, directly editable from the HTML, and with direct links to the code so that any change would be directly reflected.

Those parameters could be (non exhaustive):

Utopiah commented 7 years ago

cf https://github.com/tbalouet/WebVRDefender/blob/gamedynamics/client/js/components/gameDynamicsParameters.js

Utopiah commented 7 years ago

Done via https://github.com/tbalouet/WebVRDefender/commit/a5146454c30325cebb30932983cbd7f1744546e9 but somehow only for enemy.js not goal.js as the scene during init of goal component has no components. Suggestions welcomed