week 7: buttons and rollover
- Rachelle Vassoler
- Oct 19, 2022
- 1 min read
for this assignment, we had to create an interface utilizing button and rollover functions
we were introduced to new codes and used them in our design
boolean button PImage = img;
int img = loadimage();
if, else image();
text(); mousePressed();
I decided to create something simple. I placed a button on a blank screen that also acted as a rollover when the mouse was positioned on top of it. When the button was clicked, an image would be displayed
my code:
my project:



Comments