|»Author||David Hicka | Search by David Hicka|
|»Description||This is nothing new but it is cool to me. I wrote this code using the good old Pythagorean Theorem to find out the distance of the two buttons and any given time. I also wrote some code to calculate the speed in which you move the buttons.|
The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.