アステロイド
/**
* Copyright 178ep3 ( http://wonderfl.net/user/178ep3 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/8Jj0
*/
package
{
import flash.display.Sprite;
public class stepLine extends Sprite
{
private var _shape:Shape;
private var step:uint=4;
public function stepLine()
{
for(var i:uint=0; i<stage.stageWidth/step; i++)
{
with(this.graphics)
{
lineStyle(1,0x000000,0.5);
moveTo(0,i*step);
lineTo(i*step,stage.stageHeight);
moveTo(stage.stageWidth,i*step);
lineTo(i*step,0);
}
}
}
}
}