2) New keyboard handling (though it is disabled as default for now).
pressing left/right will gradually increase the steering angle,
releasing a key will gradually decrease the steering angle.
To enable this: set newKeyboardStyle in the tuxkart config file
to #t .
3) A small steering wheel is displayed in the lower right corner
indicating the current steering angle.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
be implemented).
Minor changes: - improved handling of anvils (which now feels more like the
original version)
- switched the values of controls.lr (left=+1)
- clamped the controls.lr value for AutoKart to be in [-1,1]
- improved friction value for some materials to play better
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
a significant code cleanup. While this version is playable,
the physics parameters are _not at all tuned_, neither has
the AI changed for the new physics. Detail:
1) removed old and unused HOT/collision
2) removed 2nd and unused PlayerKart steering part
3) removed old physics code
4) started work on new physics
- considering terrain for friction
- sliding when accelerating/braking
- jumping handled in physics (--> AutoKart can jump now, not only
PlayerKart)
- changed frictrion values in data/materials.dat: the friction should
become smaller on 'slippery' surfaces, causing slipping of the
tires, which then reduces the force --> slowdown. So e.g. sand
should have a very small friction (not a big one).
- moved all physics related computations from Auto/PlayerKart
to Kart
- communication between Auto/PlayerKart and Kart (esp. physics)
is only via the controls object in Kart. Nothing should
change velocity directly (currently there is still some old
code left, e.g. wheelies, so that's not completely done yet).
5) new PhysicsParameters object storing all
important physic parameters and defaults for karts
--> physics can be tuned without recompilation, see
data/physics.data.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk@591 178a84e3-b1eb-0310-8ba1-8eac791a3b58