Customizable car color
Once there is code to change cars, it would be cool to be able to change the car's body paint color too. Here's my suggestion for how to implement this: have the texture for the car be (semi)transparent and when the game starts (after the color is chosen or changed) just create a new 512x512 image that is solid with the body color and mix the two images. Then no code in the gameplay loop has to be changed and there won't be any performance difference.For the time being the colors could be selected from a menu with several popular color presets, like black, silver, white, candy apple red, type R yellow, a nice green, maybe orange and purple, and burgundy/brown. Ideally I guess we could get a sort of hue/saturation selector that lets you pick from a linear rainbow.
|