ID:268129
 
i have been trying to make a dragon warrior game where you can customize your characters colors. i would appreciate if someone could write me a character selection screen please.
This is a large request, I doubt you'll find many people wanting to write an entire system for you.

Your best option is to make it yourself. Read the tutorials (link is on the left) if you haven't already. I know for sure there's also at least one demo that deals with character selection, and there's probably another one that deals with changing colours in icons.

Then, if you have specific questions, feel free to ask them. Specific questions aren't like "I don't get it". They're more like: "I don't understand how to use the SwapColor() proc, I tried [insert what you did here] but instead of [insert what it's meant to do] it [insert what it's actually doing]. Does anyone know what I'm doing wrong?"
In response to Crispy
i searched past topics and found this

mob
proc
CustomizeIcon()
..()
switch(input("What will you change on your icon?","Customizing Icon") in list("Clothes","Accessories","Done"))
if("Clothes")
var/icon/I = new(usr.icon)
if(prob(30))
I.SwapColor(rgb(255,255,255),rgb(255,000,000))
usr.icon = I
else
..()
if(prob(30))
I.SwapColor(rgb(255,000,000),rgb(000,255,000))
usr.icon = I
else
..()
if(prob(30))
I.SwapColor(rgb(000,255,000),rgb(000,000,255))
usr.icon = I
else
..()
if("Accessories")
src.loc=locate(9,11,1)
return
if("Done")
src.loc=locate(9,11,1)
return
In response to Wild Animal
Well done, now work out what it does and adapt it to your own game. =)