Recommendation
More Effects...
ActionScript
1
package {
2
    import flash.display.Bitmap;
3
    import flash.display.BitmapData;
4
    import flash.display.Shape;
5
    import flash.display.Sprite;
6
    import flash.events.Event;
7
    import flash.events.MouseEvent;
8
    import flash.geom.ColorTransform;
9
    import flash.geom.Point;
10
    import flash.geom.Rectangle;
11
    
12
    [SWF(frameRate=30)]
13
    public class main extends Sprite {        
14
        public static const MAP_SIZE:int = 33;
15
        public static const NODE_SIZE:int = 15;
16
        
17
        // ノード、パーティクル、スタート、ゴールのコレクション
18
        public static var nodes:Array;
19
        public static var particles:Array;
20
        private var _starts:Array;
21
        private var _goals:Array;
22
        
23
        // パーティクル、壁、カーソルの表示オブジェクト関係
24
        private var _particleCanvas:BitmapData;
25
        private var _canvasRect:Rectangle;
26
        private var _colorTransform:ColorTransform;
 

Join Effecthub.com

Working with Global Gaming Artists and Developers!


Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character