Quote:
Originally Posted by BlueMelon
I think some are missing the point in which Tim is trying to explain,
Say we have a white car sprite. We would like to make that car any color on the RGB table. One option could be customizing with a color picker UI...
Multiple sprites is obvious and what is already in use, but it's limiting on the customization aspect. Also, who wants to make 100 sprites for colored cars..
|
That is why it was suggested that you allow players to customize their car in a drawingpanel. Set up an interface to display the car template in the drawingpanel, and overlay the customizations/colors and such over top of the template. When the player saves, you can just send the server the customizations(files/colors/whatever else) and then create a serverside drawingpanel and fill in the information and save for a new image. Alternatively you can save the clientside drawingpanel to the players folder and upload that file itself to the server.
In the end with this method you can allow as many customized sprites as you want and still only end up with one single image file for the car.