Turn the light on

Above are two of my sketch for the group project, and we decided to move on with the first one.

The main interaction will be mousePressed the button, the light in the room will be switched on/off, also when the mouse hovers on the button, the color will change.

Since this is a group project, I was in charge of the layout and the graphic features, and Sophia made the rest of the interaction feature works. I used variables instead of numbers so all the coordination is quite complicated, so this made the comment and the naming in our code very important when doing group work.

Hope you all like it!

Previous
Previous

Create repetition :)

Next
Next

Make things moving!