캐릭터 움직이기 |
|||||
---|---|---|---|---|---|
작성자 | 이한솔 | 등록일 | 17.07.14 | 조회수 | 53 |
void setup(){ size(700,700); } void draw(){ background(255); line(mouseX,mouseY,mouseX+200,mouseY-100); line(mouseX,mouseY,mouseX-200,mouseY-100); fill(110,220,110); ellipseMode(CENTER); ellipse(mouseX,mouseY,300,300); fill(110,200,110); ellipseMode(CENTER); ellipse(mouseX,mouseY-200,200,200); fill(75); ellipseMode(CENTER); ellipse(mouseX-50,mouseY-225,50,50); fill(75); ellipseMode(CENTER); ellipse(mouseX+50,mouseY-225,50,50); fill(255,50,50); ellipseMode(CENTER); ellipse(mouseX,mouseY-150,70,40); fill(255,10,10); ellipseMode(CENTER); ellipse(mouseX,mouseY-200,45,45); }
|
이전글 | 캐릭터 움직이기 |
---|---|
다음글 | 캐릭터움직이기 |