Oh yea, I'm reusing some of my old graphics for testing. It's easier to just recycle, and much prettier to look at than plain squares. Plus GA has too many counties to get THAT involved for testing.
I've gotten it to work! See dynamicColorSwitch2
Here's the code on the purple button:
on(press) {
house_color=0x7a287a; // assigns color for variable house_color
set_house_color = new Color("/house"); // prepares variable set_house_color to affect MC "/house"
set_house_color.setRGB(house_color); // assigns house_color to set_house_color
}set_house_color = new Color("/house"); // prepares variable set_house_color to affect MC "/house"
set_house_color.setRGB(house_color); // assigns house_color to set_house_color

0 comments:
Post a Comment