Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
ssdt
ssdt's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
void alien(mouseX);
[2 Replies]
22-Oct-2010 08:50 PM
Forum:
General Discussion
I put in the code into processing but I get the error saying that there is an unexpected token: mouseX
I know that I am not supposed to put mouseX and mouseY as variables but why is it still not working?
//variables
//Define stickman
void alien() {
fill(144,144,144);
rectMode(CENTER);
rect(100,100,20,100);
fill(9,90,15);
ellipse(100,75,70,70);
fill(255,0,0);
ellipse(81,70,16,32);
fill(255,0,0);
ellipse(119,70,16,32);
line(90,150,80,160);
line(110,150,120,160);
}
void setup() {
size(500,500);
}
// Void Draw
void draw() {
background(255);
}
void alien(mouseX,mouseY);
«Prev
Next »
Moderate user : ssdt
Forum