Maxim - cannot
in
Contributed Library Questions
•
2 months ago
It says, "Cannot find a class or type name Maxim"
I just have started to work on this.
Also, I am unable to give variable name to rect( ). It says that it can't give int to void?
Here what I have put.
Maxim maxim;
AudioPlayer player;
AudioPlayer player2;
void setup() {
size(640, 480);
background(255, 0, 0);
maxim = new Maxim(this);
player = maxim.loadFile("");
player.setLooping(true);
player2 = maxim.loadFile("");
player2.setLooping(true);
player.volume(0.25);
}
void draw() {
strokeWeight(6);
stroke(0, 255, 0);
fill(200, 200, 255);
rect(0, 0, 200, 100);
fill(255, 100, 0, 128);
rect(0, 100, 200, 100);
fill(255, 100, 0, 128);
rect(0, 200, 200, 100);
}
Where am I wrong?
1