캐릭터 움직이기 |
|||||
---|---|---|---|---|---|
작성자 | 류희현 | 등록일 | 17.07.14 | 조회수 | 50 |
void setup(){ size(350,350); } void draw(){ background(225); fill(50,200,100); ellipse(mouseX-70,mouseY-65,60,60); ellipse(mouseX+70,mouseY-65,60,60); fill(50,200,100); ellipse(mouseX,mouseY,220,140); fill(0,0,0); ellipse(mouseX-72,mouseY-71,30,30); ellipse(mouseX+72,mouseY-71,30,30); ellipse(mouseX-10,mouseY-5,5,20); ellipse(mouseX+10,mouseY-5,5,20); fill(255,0,0); ellipse(mouseX,mouseY+40,150,20); }
|
이전글 | 프로세싱 |
---|---|
다음글 | 캐릭터 움직이기 |