#1✎ 73GamerCymreigBeginner ProgrammerI'm just starting out! I'm still trying to grasp the basics.Programming StrengthVideo GamesI like to play video games!HobbiesPokemon Is Awesome!I love Pokemon!Express YourselfHeia, can someone help with programming something for me, please? I require some code that paints an area a colour.
Let's say there's a map of Europe, if you click one of the countries, it fills up the area with a colour.
So, if I were to pick Poland for example, it'd slide a colour from left to right until the country (excluding the border) is said colour.
I am hoping that the code will say what colour to fill up & and colour to avoid filling up (so it stops at a colour and only fill within the border).
IF COLOUR==000 THEN AVOID
IF COLOUR==255255255 THEN FILL
Sorry if the concept explanation is poor.
#2✎ 390MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthThird YearMy account is over 3 years oldWebsiteReadingI like to read books!HobbiesGPAINT does this, I think. I don't have my 3ds atm, but I know it has a border color argument.
#3✎ 21FinnowIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthZelda Is Awesome!I love The Legend Of Zelda!Express YourselfVideo GamesI like to play video games!HobbiesI think separating every color section (rgb) with commas will help, because if you say 255255255, the program will think that's one whole number, but 255,255,255 is a group of numbers, separate. You'll also need to put those three numbers in an rgb command so it knows you're talking about a color.