test
void draw() {
Draw the template for the program;
if the integer "Pages" is 1{
Draw the introduction page;
}
if the integer "Pages" is 2 {
Draw the page where the user plan their week;
}
if the integer "Pages" is 3{
Draw the setup page of the program;
}
if the integer "Pages" is 4 {
Draw the programs main page;
}
if the integer "Pages" is 5 {
Draw the page to insert your mood before you work;
}
if the integer "Pages" is 6{
Draw the page to insert your mood after you've worked;
}
if the integer "Pages" is 7{
Draw the break time page;
}
if the integer "Pages" is 8 {
Draw the performance page;
}
if the integer "Pages" is 9 {
Draw the analytics page;
}
}
test 2
void mousePressed() {
//Intro - PlanWeek
if (mouseX >325 && mouseX <450 && mouseY >750 && mouseY <850 && Pages == 1) {
Pages = 2;
//PlanWeek - MainPage
if (mouseX >370 && mouseX <455 && mouseY >810 && mouseY <895 && Pages == 2) {
Pages = 4;
}
test 3
if (mouseX> 210 && mouseX <220 && mouseY>300 && mouseY< 310 && Pages == 6) {
image(S5, 275, 450);
SmileAF5 -= 13.9;
}
test 4
void TimeCounter() {
if (start == true) {
if (int(millis()/100) % 10 != millisecs) {
millisecs++;
}
if (millisecs >= 10) {
millisecs -= 10;
millisecs2 -= 10;
millisecs3 -= 10;
seconds++;
seconds2++;
seconds3++;
}
test 5
void TimeCounter() {
if (start == true) {
if (int(millis()/100) % 10 != millisecs) {
millisecs++;
}
if (millisecs >= 10) {
millisecs -= 10;
millisecs2 -= 10;
millisecs3 -= 10;
seconds++;
seconds2++;
seconds3++;
}
Comments
https://forum.processing.org/two/discussion/15473/readme-how-to-format-code-and-text
Testing http link:
Kf
the vimeo links issue is annoying, they just disappear if pasted verbatim
plain link
quoted link
link as a code block
same again using http rather than https
plain link
quoted link
link as a code block
as a link using the chain button (ctrl-L)
https://vimeo.com/190290014