jonoxia / platform-game

untitled HTML 5 side-scroller
15 stars 5 forks source link

Let level designer tweak physics parameters #48

Closed jonoxia closed 12 years ago

jonoxia commented 13 years ago

There are basically five numbers that define how the player controls:

Right now the character feels hard to control; it feel like you have too much momentum. It's hard to change direction and you often overshoot your target on jumps.

So the defaults need to be set a little better: Higher friction and higher acceleration, I think.

But more importantly, the level designer should get to tweak these parameters, so that they can make a low-gravity moon level or a low-friction ice level or whatever they want.

jonoxia commented 12 years ago

Editable as of https://github.com/jonoxia/platform-game/commit/2e9206fdcdda63ae488f7a5989271227177c80f5 and https://github.com/jonoxia/platform-game/commit/7a66291725c0c18d19323e38dae547219e5057d5