View Single Post
  #13  
Old 07-31-2013, 03:32 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by BlueMelon View Post
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.
Reply With Quote