Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-31-2013, 11:28 AM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
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..
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #2  
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.