ウニ(?)モンスター

by bluecomet021 forked from モンスターのサンプル (diff: 28)
見た目ウニのようだが陸生のモンスターらしい
自分では全く動けないようだ
♥0 | Line 37 | Modified 2010-10-01 12:30:26 | MIT License
play

ActionScript3 source code

/**
 * Copyright bluecomet021 ( http://wonderfl.net/user/bluecomet021 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/8MsH
 */

// forked from shmdmoto's モンスターのサンプル
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * Monsterのひな型
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            // 以下にMonsterを描く命令を記述します
            // Monster トゲ
            strokeWeight(10);
            stroke(130,0,180);
            line(130,90,390,340);
            line(50,80,370,400);
            line(225,50,230,400);
            line(30,225,450,225);
            line(380,60,70,330);
            line(400,110,80,390);
            line(280,70,180,380);
            line(40,170,430,280);
            line(390,180,20,290);
            line(170,30,270,360);
            // Monster 本体
            ellipseMode(CORNER);
            fill(130,0,180);  //  Monster 体の色
            noStroke();
            ellipse(75,120,300,200);
            ellipseMode(CENTER);
            stroke(0,0,0);
            strokeWeight(3);
            fill(255,255,255);
            ellipse(225,225,100,70);
            ellipse(225,225,60,60);
            stroke(255,200,0);
            ellipse(225,225,55,55);
            noStroke();
            fill(255,0,0);
            ellipse(225,225,50,50);            
        }
    }
}