Hi all
As qster is/was building his game, i shared my thoughts on the nice racer he was building.
It motivated me to build an example for anyone who would like to use it as a start for a racing game that, from the beginning was able to do racing/drifting/zooming.
Edit: I uploaded a capx of my F1Game that uses these capabilities.
The old Capx is no more but this should give u a great start.
Download Capx
This example Capx allows the following.
Edit:
The example has had a mayor upgrade.
I implemented a fully working sound engine <img src="smileys/smiley20.gif" border="0" align="middle">
If u want to change the engine sounds then keep em under 260 M.S. of length.
Sounds currently are.
A: Gearing up and down.
B: Gear stick.
C: Enigine idle
D: Engine reverse.
E: Engine turbo.
F: Exhaust.
G: Tire sounds while drifting.
H: Tire skids while gearing up
I: Handbrake sound when applying drift.
J: Car ignition
Car controls and abilities
Car start (I)
Accelerate (R)
Braking (space)
Handbrake (G)
Handbrake slide (G + steer left/right arrow keys)
Burnout (G + R)
Drift (G + R + Steer left/right while racing)
Reverse (Keep holding only space)
While racing
Automatic zoom in/out.
When on long straight cam zooms out for faster driving.
When near curve cam zooms in for better corner control.
Skid marks. (Tire rubber on road)
Smoke while changing gears (Fictional gears)
Smoke while burnout.
Smoke while drifting.
While on the sand.
Car slows down and steering becomes easy so the player can quicly return to the road.
When returning to the road all car settings return to normal.
While on the track.
The car steers different at different speeds.
It simulates steering of real car racing. (as good as i could make it in a short time)
Al is tweekable and should become clear when looking in to the event list.
The Layout size = 8000 x 8000.
Big enough for a nice cirquit.
The graphics are not super, but then again it is best to create your own.
I only applied simple graphics to get a clean example.
Have fun with it.
<img src="http://www.ruimteschool.nl/Racegameconstruct2/Racer.jpg" border="0">