Changeset 5597 for 2014/30


Ignore:
Timestamp:
2014-07-23 15:03:03 (9 years ago)
Author:
mijoliim
Message:
 
Location:
2014/30/MikkoL/Gradiant/LM2
Files:
6 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MikkoL/Gradiant/LM2/LM2/Gradiant.cs

    r5557 r5597  
    4949class boss : PhysicsObject 
    5050{ 
    51     public IntMeter health = new IntMeter(20000, 0, 20000); 
     51    public IntMeter health = new IntMeter(10, 0, 10); 
    5252    public IntMeter ScoreValue = new IntMeter(100, 0, int.MaxValue); 
    5353    public bool canShoot = false; 
     
    6464class bullet : PhysicsObject 
    6565{ 
    66     public int damage; 
     66    public int damage = 5; 
    6767 
    6868    public bullet(double width, double height) 
     
    9494    Vector stagespeed = new Vector(-500,0); 
    9595    Vector cntr = new Vector(0, 0); 
     96 
     97    string currentlevel = "level_test"; 
    9698 
    9799    //Player 
     
    115117    Image bullet_enemy_05 = LoadImage("bullet_enemy_05"); 
    116118    Image bullet_enemy_06 = LoadImage("bullet_enemy_06"); 
     119    Image bullet_enemy_07 = LoadImage("bullet_enemy_07"); 
    117120    //Enemies 
    118121    Image enemy_ship_01 = LoadImage("enemy_ship_01"); 
     
    124127    Image enemy_ship_04 = LoadImage("enemy_ship_04"); 
    125128    Image enemy_ship_05 = LoadImage("enemy_ship_05"); 
     129    Image enemy_ship_06 = LoadImage("enemy_ship_06"); 
    126130    //Bosses 
    127131    Image boss_ship_01 = LoadImage("boss_ship_01"); 
     
    134138    Image border_bottom = LoadImage("border_top"); 
    135139    //Backgrounds 
    136     Image space_bg = LoadImage("space_bg"); 
    137140    Image earth = LoadImage("earth"); 
     141    Image stage2_bg = LoadImage("stage2_bg"); 
    138142    //Explosion 
    139143    private Animation explosion_anim; 
     
    155159    Image select_ship_gui = LoadImage("select_ship"); 
    156160 
     161    //Misc 
     162    Image gradient = LoadImage("gradient"); 
    157163    Image aj = LoadImage("aj-weed"); 
    158164 
     
    175181    DoubleMeter drd_level = new DoubleMeter(0, 0, 5); 
    176182    IntMeter drd_damageRatio = new IntMeter(1, 1, 20); 
     183 
    177184    //drd types 
    178185    //1: spreadshot 
     
    190197    GameObject cursor; 
    191198    GameObject select_ship; 
     199 
     200    GameObject black; 
     201 
     202    GameObject stage_clear; 
     203 
     204    GameObject bg; 
     205    GameObject bg2; 
    192206    Timer cursor_blink; 
    193207    double cursorpos = 0; 
    194208 
    195209    bool s001 = false; 
     210    bool s002 = false; 
    196211 
    197212    public override void Begin() 
     
    302317    { 
    303318        selectsfx.Play(); 
    304         ClearAll(); 
    305319        MediaPlayer.Stop(); 
    306  
    307         CreateLevel("level_01"); 
    308  
    309         GameObject stage_01_start = new GameObject(405, 39); 
    310         stage_01_start.Position = cntr; 
    311         stage_01_start.Image = stage_1_start; 
    312         Add(stage_01_start, 3); 
    313  
    314         double i = 0; 
    315         Timer start = new Timer(); 
    316         start.Interval = 0.1; 
    317         start.Timeout += delegate 
    318         { 
    319             i++; 
    320             if (i >= 15) stage_01_start.Destroy(); 
    321             if (stage_01_start.IsVisible) stage_01_start.IsVisible = false; 
    322             else stage_01_start.IsVisible = true; 
    323         }; 
    324         start.Start(15); 
    325         Pause(); 
    326         ControllerOne.Listen(Button.Start, ButtonState.Pressed, start_01, null); 
    327          
     320        black = new GameObject(Screen.Width, Screen.Height); 
     321        black.Position = cntr; 
     322        black.Color = Color.Transparent; 
     323        black.FadeColorTo(Color.Black, 1); 
     324        Add(black, 2); 
     325 
     326        Timer wait = new Timer(); 
     327        wait.Interval = 1.5; 
     328        wait.Timeout += delegate 
     329        { 
     330            ClearAll(); 
     331            black = new GameObject(Screen.Width, Screen.Height); 
     332            black.Color = Color.Black; 
     333            Add(black, 2); 
     334            MediaPlayer.Stop(); 
     335 
     336            CreateLevel("level_test"); 
     337            black.Position = cntr; 
     338 
     339            GameObject stage_01_start = new GameObject(405, 39); 
     340            stage_01_start.Position = cntr; 
     341            stage_01_start.Image = stage_1_start; 
     342            Add(stage_01_start, 3); 
     343 
     344            double i = 0; 
     345            Timer start = new Timer(); 
     346            start.Interval = 0.1; 
     347            start.Timeout += delegate 
     348            { 
     349                i++; 
     350                if (i >= 15) stage_01_start.Destroy(); 
     351                if (stage_01_start.IsVisible) stage_01_start.IsVisible = false; 
     352                else stage_01_start.IsVisible = true; 
     353            }; 
     354            start.Start(15); 
     355            Pause(); 
     356            ControllerOne.Listen(Button.Start, ButtonState.Pressed, start_01, null); 
     357        }; 
     358        wait.Start(1); 
    328359 
    329360        setwpn_timer(); 
     
    333364        if (!s001) 
    334365        { 
     366            black.FadeColorTo(Color.Transparent, 1); 
     367 
     368 
    335369            s001 = true; 
    336370            Pause(); 
     
    339373        } 
    340374    } 
     375    void start_02() 
     376    { 
     377        if (!s002) 
     378        { 
     379            black.FadeColorTo(Color.Transparent, 1); 
     380 
     381            s002 = true; 
     382            Pause(); 
     383            MediaPlayer.Play("Macbeth"); 
     384            selectsfx.Play(); 
     385        } 
     386    } 
    341387 
    342388    //Stage creation 
     
    349395        lvl.SetTileMethod('y', bordertop); 
    350396        lvl.SetTileMethod('z', borderbottom); 
     397        lvl.SetTileMethod('@', filler); 
    351398        lvl.SetTileMethod('%', frontBorder); 
    352399        lvl.SetTileMethod('&', backBorder); 
     
    362409        lvl.SetTileMethod('$', enemy_ship_4_bottom); 
    363410        lvl.SetTileMethod('5', enemy_ship_5); 
     411        lvl.SetTileMethod('6', enemy_ship_6); 
    364412        lvl.SetTileMethod('G', boss_ship_1); 
    365413        lvl.Execute(35, 35); 
    366414 
    367         Level.Background.Color = Color.LightGray; 
    368         GameObject bg = new GameObject(1280, 800); 
     415        Level.Background.Color = Color.Black; 
     416 
     417        bg = new GameObject(1280, 800); 
    369418        bg.Position = cntr; 
    370419        bg.Image = earth; 
    371420        bg.MoveTo(cntr - new Vector(1280, 0), 900); 
    372421 
    373         GameObject bg2 = new GameObject(1280, 800); 
     422        bg2 = new GameObject(1280, 800); 
    374423        bg2.Position = cntr+new Vector(1280,0); 
    375424        bg2.Image = earth; 
     
    400449        Camera.Position = player.Position; 
    401450        //Camera.ZoomFactor = 0.4; 
     451    } 
     452    void CreateNextLevel(string level) 
     453    { 
     454        //Gravity = new Vector(1000, 0); 
     455 
     456        TileMap lvl = TileMap.FromLevelAsset(level); 
     457        lvl.SetTileMethod('x', border); 
     458        lvl.SetTileMethod('y', bordertop); 
     459        lvl.SetTileMethod('z', borderbottom); 
     460        lvl.SetTileMethod('@', filler); 
     461        lvl.SetTileMethod('%', frontBorder); 
     462        lvl.SetTileMethod('&', backBorder); 
     463        lvl.SetTileMethod('#', bulletdes); 
     464        lvl.SetTileMethod('P', AddPlayer); 
     465        lvl.SetTileMethod('1', enemy_ship_1); 
     466        lvl.SetTileMethod('R', enemy_ship_1_red); 
     467        lvl.SetTileMethod('B', enemy_ship_1_bottom); 
     468        lvl.SetTileMethod('T', enemy_ship_1_top); 
     469        lvl.SetTileMethod('2', enemy_ship_2); 
     470        lvl.SetTileMethod('3', enemy_ship_3); 
     471        lvl.SetTileMethod('4', enemy_ship_4_top); 
     472        lvl.SetTileMethod('$', enemy_ship_4_bottom); 
     473        lvl.SetTileMethod('5', enemy_ship_5); 
     474        lvl.SetTileMethod('6', enemy_ship_6); 
     475        lvl.SetTileMethod('G', boss_ship_1); 
     476        lvl.Execute(35, 35); 
     477 
     478 
     479        AddControls(); 
     480 
     481        //Camera.ZoomFactor = 0.4; 
    402482        //edgeBorders(); 
    403483    } 
     
    405485    void border(Vector position, double width, double height) 
    406486    { 
    407         PhysicsObject border2 = PhysicsObject.CreateStaticObject(width*1.5, height); 
     487        GameObject border2 = new GameObject(width, height); 
    408488        border2.Position = position; 
    409         border2.Restitution = 0; 
    410         border2.KineticFriction = 0; 
    411         border2.StaticFriction = 0; 
    412         border2.Color = Color.Black; 
     489        //border2.Restitution = 0; 
     490        //border2.KineticFriction = 0; 
     491        //border2.StaticFriction = 0; 
     492        border2.Color = Color.White; 
    413493        border2.Tag = "border"; 
    414494        Add(border2, 1); 
    415495    } 
     496    void filler(Vector position, double width, double height) 
     497    { 
     498        GameObject border2 = new GameObject(width, height); 
     499        border2.Position = position; 
     500        border2.Color = Color.Transparent; 
     501        border2.Tag = "filler"; 
     502        Add(border2, 1); 
     503    } 
    416504    void bordertop(Vector position, double width, double height) 
    417505    { 
    418         PhysicsObject border2 = PhysicsObject.CreateStaticObject(width * 1.5, height); 
     506        PhysicsObject border2 = PhysicsObject.CreateStaticObject(width, height); 
    419507        border2.Position = position; 
    420         border2.Restitution = 0; 
    421         border2.KineticFriction = 0; 
    422         border2.StaticFriction = 0; 
     508        //border2.Restitution = 0; 
     509        //border2.KineticFriction = 0; 
     510        //border2.StaticFriction = 0; 
    423511        border2.Color = Color.Black; 
    424512        border2.Tag = "border"; 
     
    468556        bulletdes border = new bulletdes(width, height); 
    469557        border.Position = position; 
    470         border.Color = Color.Red; 
     558        border.Color = Color.Black; 
    471559        border.Restitution = 0; 
    472560        border.Tag = "border"; 
    473561        border.IgnoresCollisionResponse = true; 
    474562        border.IgnoresPhysicsLogics = true; 
    475         Add(border); 
     563        Add(border, 1); 
    476564    } 
    477565    void frontBorderCollision(PhysicsObject border, PhysicsObject target) 
     
    502590    } 
    503591 
    504     //Player related 
     592    //Player related                 
    505593    void AddPlayer(Vector pos, double width, double height) 
    506594    { 
     
    573661        Keyboard.Listen(Key.U, ButtonState.Pressed, cheat_upgrade, null); 
    574662        Keyboard.Listen(Key.I, ButtonState.Pressed, cheat_damage, null); 
     663        Keyboard.Listen(Key.O, ButtonState.Pressed, cheat_spread, null); 
    575664        Keyboard.Listen(Key.H, ButtonState.Pressed, cheat_fullhp, null); 
    576665 
     
    583672    void cheat_upgrade() 
    584673    { 
     674        drd_level.Value++; 
     675 
     676        if (drd_level.Value == 1) 
     677        { 
     678            if (drd_type == 0) droid(new Vector(-45, 0)); 
     679            else if (drd_type == 1) droid(new Vector(40, 0)); 
     680        } 
     681        else if (drd_level.Value == 2) 
     682        { 
     683            if (drd_type == 0) 
     684            { 
     685                droid(new Vector(-45, 30)); 
     686                droid(new Vector(-45, -30)); 
     687            } 
     688            else if (drd_type == 1) 
     689            { 
     690                droid(new Vector(-10, 35)); 
     691                droid(new Vector(-10, -35)); 
     692            } 
     693        } 
     694        else if (drd_level.Value == 3) 
     695        { 
     696            if (drd_type == 0) 
     697            { 
     698                droid(new Vector(-30, 30)); 
     699                droid(new Vector(-30, -30)); 
     700                droid(new Vector(-50, 0)); 
     701            } 
     702            else if (drd_type == 1) 
     703            { 
     704                droid(new Vector(40, 0)); 
     705                droid(new Vector(-10, 35)); 
     706                droid(new Vector(-10, -35)); 
     707            } 
     708        } 
     709        else if (drd_level.Value == 4) 
     710        { 
     711            if (drd_type == 0) 
     712            { 
     713                droid(new Vector(-30, 50)); 
     714                droid(new Vector(-30, -50)); 
     715                droid(new Vector(-50, 30)); 
     716                droid(new Vector(-50, -30)); 
     717            } 
     718            else if (drd_type == 1) 
     719            { 
     720                droid(new Vector(-30, 55)); 
     721                droid(new Vector(-30, -55)); 
     722                droid(new Vector(-10, 35)); 
     723                droid(new Vector(-10, -35)); 
     724            } 
     725        } 
     726    } 
     727    void cheat_damage() 
     728    { 
     729        wpn_damageRatio.Value++; 
     730    } 
     731    void cheat_spread() 
     732    { 
    585733        wpn_spread.Value++; 
    586     } 
    587     void cheat_damage() 
    588     { 
    589         wpn_damageRatio.Value++; 
    590734    } 
    591735    void cheat_fullhp() 
     
    594738        //MessageDisplay.Te 
    595739    } 
     740 
    596741 
    597742    //Weapon system 
     
    748893 
    749894        projectile.damage = wpn_damageRatio.Value; 
    750             projectile.IgnoresCollisionResponse = true; 
     895        projectile.IgnoresCollisionResponse = true; 
    751896 
    752897        projectile.CollisionIgnoreGroup = 2; 
    753         projectile.MaximumLifetime = TimeSpan.FromSeconds(1.57); 
    754898 
    755899        AddCollisionHandler<bullet, frontborder>(projectile, destroy); 
     
    764908    { 
    765909        droid drd = new droid(13,13); 
    766         drd.Shape = Shape.Circle; 
    767910        drd.IgnoresCollisionResponse = true; 
    768911        drd.CollisionIgnoreGroup = 2; 
     
    778921        move.Timeout += delegate 
    779922        { 
     923            if (drd.IsDestroyed) move.Stop(); 
     924 
    780925            if (drd.Position != player.Position + pos) 
    781926            { 
     
    791936    { 
    792937        Timer drdshoot = new Timer(); 
    793         if (cursorpos == 0) drdshoot.Interval = drd_shootRate; 
    794         else if (cursorpos == 1) drdshoot.Interval = 0.05; 
     938        drdshoot.Interval = drd_shootRate; 
    795939        if (cursorpos == 0) 
    796940        { 
    797941            drdshoot.Timeout += delegate 
    798942            { 
    799                 if (drd.IsDestroyed) drdshoot.Stop(); 
    800943                if (ControllerOne.GetButtonState(Button.B) == ButtonState.Down) 
    801944                { 
     945                    if (drd.IsDestroyed) drdshoot.Stop(); 
    802946                    droidprojectile(drd.Position, new Vector(-400, RandomGen.NextDouble(100, 150)), new Vector(24, 13)); 
    803947                    droidprojectile(drd.Position, new Vector(-400, RandomGen.NextDouble(-150, -100)), new Vector(24, 13)); 
    804                 }; 
     948                } 
    805949            }; 
    806950        } 
     
    809953            drdshoot.Timeout += delegate 
    810954            { 
    811                 if (drd.IsDestroyed) drdshoot.Stop(); 
    812955                if (ControllerOne.GetButtonState(Button.B) == ButtonState.Down) 
    813956                { 
    814                     droidlaser(drd.Position + new Vector(37, 0), new Vector(1400, 0), new Vector(70, 5)); 
    815                 }; 
     957                    if (drd.IsDestroyed) drdshoot.Stop(); 
     958                    droidlaser(drd.Position + new Vector(37, 0), new Vector(1400, 0), new Vector(60, 5)); 
     959                } 
    816960            }; 
    817961        } 
     
    9811125        enemyship.IgnoresCollisionResponse = true; 
    9821126        enemyship.CollisionIgnoreGroup = 3; 
    983         enemyship.health.MaxValue = 35; 
     1127        enemyship.health.MaxValue = 45; 
    9841128        enemyship.Image = enemy_ship_02; 
    9851129 
     
    12411385        enemyship.IgnoresCollisionResponse = true; 
    12421386        enemyship.CollisionIgnoreGroup = 3; 
    1243         enemyship.health.MaxValue = 30; 
     1387        enemyship.health.MaxValue = 45; 
    12441388        enemyship.Image = enemy_ship_05; 
    12451389        enemyship.explosion_scale = 70; 
     
    12771421                    angle4 = UnlimitedAngle.FromDegrees(i + 270); 
    12781422 
    1279                     enemy_shoot_3(enemyship.Position, angle.GetVector() * 400); 
    1280                     enemy_shoot_3(enemyship.Position, angle2.GetVector() * 400); 
    1281                     enemy_shoot_3(enemyship.Position, angle3.GetVector() * 400); 
    1282                     enemy_shoot_3(enemyship.Position, angle4.GetVector() * 400); 
     1423                    enemy_shoot_3(enemyship.Position, angle.GetVector() * 500); 
     1424                    enemy_shoot_3(enemyship.Position, angle2.GetVector() * 500); 
     1425                    enemy_shoot_3(enemyship.Position, angle3.GetVector() * 500); 
     1426                    enemy_shoot_3(enemyship.Position, angle4.GetVector() * 500); 
    12831427 
    12841428                    enemy_shootsfx.Play(); 
     
    12991443 
    13001444            wait.Start(1); 
     1445        } 
     1446    } 
     1447    void enemy_ship_6(Vector pos, double width, double height) 
     1448    { 
     1449        enemy enemyship = new enemy(82, 57); 
     1450        enemyship.Shape = Shape.Circle; 
     1451        enemyship.Position = pos; 
     1452        enemyship.IgnoresCollisionResponse = true; 
     1453        enemyship.CollisionIgnoreGroup = 3; 
     1454        enemyship.health.MaxValue = 100; 
     1455        enemyship.Image = enemy_ship_06; 
     1456        enemyship.explosion_scale = 70; 
     1457 
     1458        Add(enemyship, -1); 
     1459        enemyship.Hit(stagespeed); 
     1460 
     1461 
     1462 
     1463 
     1464        AddCollisionHandler<enemy, frontborder>(enemyship, enemy_ship_6_start_shooting); 
     1465        AddCollisionHandler<enemy, player>(enemyship, damagePlayerEnemyShip2); 
     1466    } 
     1467    void enemy_ship_6_start_shooting(enemy enemyship, frontborder border) 
     1468    { 
     1469        if (!enemyship.canShoot) 
     1470        { 
     1471            enemyship.canShoot = true; 
     1472            enemyship.LifetimeLeft = TimeSpan.FromSeconds(8.4); 
     1473            enemyship.Velocity = enemyship.Velocity / 3; 
     1474 
     1475            UnlimitedAngle angle = UnlimitedAngle.FromDegrees(0); 
     1476            UnlimitedAngle angle2 = UnlimitedAngle.FromDegrees(0); 
     1477            UnlimitedAngle angle3 = UnlimitedAngle.FromDegrees(0); 
     1478            UnlimitedAngle angle4 = UnlimitedAngle.FromDegrees(0); 
     1479            double i = 0; 
     1480            double c = 0; 
     1481 
     1482            Timer wait = new Timer(); 
     1483            Timer shoot = new Timer(); 
     1484            shoot.Interval = 0.1; 
     1485            shoot.Timeout += delegate 
     1486            { 
     1487                if (!enemyship.IsDestroyed) 
     1488                { 
     1489                    c++; 
     1490                    if (c >= 18) 
     1491                    { 
     1492                        c = 0; 
     1493                        shoot.Stop(); 
     1494                        wait.Start(1); 
     1495                    } 
     1496 
     1497                    i = i + 20; 
     1498                    angle = UnlimitedAngle.FromDegrees(i); 
     1499                    angle2 = UnlimitedAngle.FromDegrees(i + 90); 
     1500                    angle3 = UnlimitedAngle.FromDegrees(i + 180); 
     1501                    angle4 = UnlimitedAngle.FromDegrees(i + 270); 
     1502 
     1503                    enemy_shoot_4(enemyship.Position, angle.GetVector() * 460); 
     1504                    enemy_shoot_4(enemyship.Position, angle.GetVector() * 480); 
     1505                    enemy_shoot_4(enemyship.Position, angle.GetVector() * 500); 
     1506 
     1507                    enemy_shoot_4(enemyship.Position, angle2.GetVector() * 460); 
     1508                    enemy_shoot_4(enemyship.Position, angle2.GetVector() * 480); 
     1509                    enemy_shoot_4(enemyship.Position, angle2.GetVector() * 500); 
     1510 
     1511                    enemy_shoot_4(enemyship.Position, angle3.GetVector() * 460); 
     1512                    enemy_shoot_4(enemyship.Position, angle3.GetVector() * 480); 
     1513                    enemy_shoot_4(enemyship.Position, angle3.GetVector() * 500); 
     1514 
     1515                    enemy_shoot_4(enemyship.Position, angle4.GetVector() * 460); 
     1516                    enemy_shoot_4(enemyship.Position, angle4.GetVector() * 480); 
     1517                    enemy_shoot_4(enemyship.Position, angle4.GetVector() * 500); 
     1518 
     1519 
     1520                    enemy_shootsfx.Play(); 
     1521                } 
     1522                else shoot.Stop(); 
     1523            }; 
     1524 
     1525            wait.Interval = 1.5; 
     1526            wait.Timeout += delegate 
     1527            { 
     1528                if (enemyship.IsDestroyed) wait.Stop(); 
     1529                shoot.Start(); 
     1530            }; 
     1531 
     1532            Timer start = new Timer(); 
     1533            start.Interval = 1; 
     1534            start.Timeout += delegate 
     1535            { 
     1536                if (!enemyship.IsDestroyed) 
     1537                { 
     1538                    shoot.Start(); 
     1539                } 
     1540                else shoot.Stop(); 
     1541            }; 
     1542 
     1543            start.Start(1); 
    13011544        } 
    13021545    } 
     
    13101553        enemy_bullet.IgnoresGravity = true; 
    13111554        enemy_bullet.CollisionIgnoreGroup = 2; 
    1312         enemy_bullet.damage = 5; 
    1313         enemy_bullet.MaximumLifetime = TimeSpan.FromSeconds(5); 
    13141555        enemy_bullet.Image = bullet_enemy_05; 
    13151556 
     
    13271568        enemy_bullet.IgnoresGravity = true; 
    13281569        enemy_bullet.CollisionIgnoreGroup = 2; 
    1329         enemy_bullet.damage = 5; 
    1330         enemy_bullet.MaximumLifetime = TimeSpan.FromSeconds(5); 
    13311570        enemy_bullet.Image = bullet_enemy_02; 
    13321571 
     
    13521591        enemy_bullet.IgnoresGravity = true; 
    13531592        enemy_bullet.CollisionIgnoreGroup = 2; 
    1354         enemy_bullet.damage = 5; 
    1355         enemy_bullet.MaximumLifetime = TimeSpan.FromSeconds(4); 
    13561593        enemy_bullet.Image = bullet_enemy_01; 
    13571594 
    13581595        Add(enemy_bullet, 0); 
    13591596        enemy_bullet.Hit(dir); 
     1597        AddCollisionHandler<bullet, player>(enemy_bullet, damagePlayerBullet); 
     1598        AddCollisionHandler<bullet, bulletdes>(enemy_bullet, destroy); 
     1599 
     1600    } 
     1601    void enemy_shoot_4(Vector pos, Vector dir) 
     1602    { 
     1603        bullet enemy_bullet = new bullet(15, 35); 
     1604 
     1605        Add(enemy_bullet, 0); 
     1606        enemy_bullet.Shape = Shape.Circle; 
     1607        enemy_bullet.Position = pos; 
     1608        enemy_bullet.IgnoresCollisionResponse = true; 
     1609        enemy_bullet.IgnoresGravity = true; 
     1610        enemy_bullet.CollisionIgnoreGroup = 2; 
     1611        enemy_bullet.Image = bullet_enemy_07; 
     1612        enemy_bullet.Hit(dir); 
     1613 
     1614        enemy_bullet.Angle = enemy_bullet.Velocity.Angle + Angle.FromDegrees(45); 
    13601615        AddCollisionHandler<bullet, player>(enemy_bullet, damagePlayerBullet); 
    13611616        AddCollisionHandler<bullet, bulletdes>(enemy_bullet, destroy); 
     
    15081763        enemy_bullet.IgnoresGravity = true; 
    15091764        enemy_bullet.CollisionIgnoreGroup = 2; 
    1510         enemy_bullet.damage = 5; 
    1511         enemy_bullet.MaximumLifetime = TimeSpan.FromSeconds(5); 
    15121765        enemy_bullet.Image = bullet_enemy_06; 
    15131766 
     
    15251778        enemy_bullet.IgnoresGravity = true; 
    15261779        enemy_bullet.CollisionIgnoreGroup = 2; 
    1527         enemy_bullet.damage = 5; 
    1528         enemy_bullet.MaximumLifetime = TimeSpan.FromSeconds(5); 
    15291780        enemy_bullet.Image = bullet_enemy_06; 
    15301781 
     
    15501801        enemy_bullet.IgnoresGravity = true; 
    15511802        enemy_bullet.CollisionIgnoreGroup = 2; 
    1552         enemy_bullet.damage = 5; 
    1553         enemy_bullet.MaximumLifetime = TimeSpan.FromSeconds(4); 
    15541803        enemy_bullet.Image = bullet_enemy_06; 
    15551804 
     
    18172066                fade.Start(); 
    18182067 
    1819                 GameObject stage_clear = new GameObject(290,39); 
     2068                stage_clear = new GameObject(290,39); 
    18202069                stage_clear.Image = stage_1_clear; 
    18212070                stage_clear.Position = cntr; 
     
    18392088                    MediaPlayer.Volume = 1; 
    18402089                    MediaPlayer.IsRepeating = false; 
     2090                    player.health.Value = player.health.MaxValue; 
    18412091                    MediaPlayer.Play("Stage Clear"); 
     2092 
     2093                    ControllerOne.Listen(Button.Start, ButtonState.Pressed, nextlevel, null); 
    18422094                }; 
    18432095 
    18442096                wait.Start(1); 
    1845  
    18462097            } 
     2098 
    18472099            hitsfx.Play(); 
     2100        } 
     2101    } 
     2102    void nextlevel() 
     2103    { 
     2104        if (currentlevel == "level_test") 
     2105        { 
     2106            SoundEffect.MasterVolume = 1; 
     2107 
     2108            selectsfx.Play(); 
     2109            stage_clear.Destroy(); 
     2110            MediaPlayer.Stop(); 
     2111 
     2112            black = new GameObject(Screen.Width,Screen.Height); 
     2113            black.Position = cntr; 
     2114            black.Color = Color.Transparent; 
     2115 
     2116            Add(black, 2); 
     2117            black.FadeColorTo(Color.Black, 1); 
     2118 
     2119 
     2120            Timer wait = new Timer(); 
     2121            wait.Interval = 1.5; 
     2122            wait.Timeout += delegate 
     2123            { 
     2124                bg.Image = stage2_bg; 
     2125                bg2.Image = stage2_bg; 
     2126                ClearControls(); 
     2127 
     2128                currentlevel = "level_02"; 
     2129                CreateNextLevel(currentlevel); 
     2130 
     2131                GameObject stage_02_start = new GameObject(405, 39); 
     2132                stage_02_start.Position = cntr; 
     2133                stage_02_start.Image = stage_2_start; 
     2134                Add(stage_02_start, 3); 
     2135 
     2136                double i = 0; 
     2137                Timer start = new Timer(); 
     2138                start.Interval = 0.1; 
     2139                start.Timeout += delegate 
     2140                { 
     2141                    i++; 
     2142                    if (i >= 15) stage_02_start.Destroy(); 
     2143                    if (stage_02_start.IsVisible) stage_02_start.IsVisible = false; 
     2144                    else stage_02_start.IsVisible = true; 
     2145                }; 
     2146                Pause(); 
     2147                start.Start(15); 
     2148                ControllerOne.Listen(Button.Start, ButtonState.Pressed, start_02, null); 
     2149            }; 
     2150            wait.Start(1); 
    18482151        } 
    18492152    } 
     
    18662169        explosion.Animation.Start(1); 
    18672170    } 
    1868  
    18692171    void explosion_animation2(PhysicsObject plr) 
    18702172    { 
     
    18812183        { 
    18822184            SoundEffect.MasterVolume = 0.2; 
    1883             MediaPlayer.Volume = 0.2; 
     2185            MediaPlayer.IsRepeating = false; 
     2186            MediaPlayer.Play("Player_down"); 
     2187 
    18842188            MultiSelectWindow gameover = new MultiSelectWindow("Game Over", "Quit"); 
    18852189            gameover.ItemSelected += select_gameover; 
  • 2014/30/MikkoL/Gradiant/LM2/LM2Content/GradiantContent.contentproj

    r5557 r5597  
    472472    </Compile> 
    473473  </ItemGroup> 
     474  <ItemGroup> 
     475    <Compile Include="Player_down.mp3"> 
     476      <Name>Player_down</Name> 
     477      <Importer>Mp3Importer</Importer> 
     478      <Processor>SongProcessor</Processor> 
     479    </Compile> 
     480  </ItemGroup> 
     481  <ItemGroup> 
     482    <Compile Include="gradient.png"> 
     483      <Name>gradient</Name> 
     484      <Importer>TextureImporter</Importer> 
     485      <Processor>TextureProcessor</Processor> 
     486    </Compile> 
     487  </ItemGroup> 
     488  <ItemGroup> 
     489    <Compile Include="enemy_ship_06.png"> 
     490      <Name>enemy_ship_06</Name> 
     491      <Importer>TextureImporter</Importer> 
     492      <Processor>TextureProcessor</Processor> 
     493    </Compile> 
     494  </ItemGroup> 
     495  <ItemGroup> 
     496    <Compile Include="bullet_enemy_07.png"> 
     497      <Name>bullet_enemy_07</Name> 
     498      <Importer>TextureImporter</Importer> 
     499      <Processor>TextureProcessor</Processor> 
     500    </Compile> 
     501  </ItemGroup> 
     502  <ItemGroup> 
     503    <Compile Include="level_02.txt"> 
     504      <Name>level_02</Name> 
     505      <Importer>TextFileImporter</Importer> 
     506      <Processor>TextFileContentProcessor</Processor> 
     507    </Compile> 
     508  </ItemGroup> 
     509  <ItemGroup> 
     510    <Compile Include="stage2_bg.png"> 
     511      <Name>stage2_bg</Name> 
     512      <Importer>TextureImporter</Importer> 
     513      <Processor>TextureProcessor</Processor> 
     514    </Compile> 
     515  </ItemGroup> 
    474516  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    475517  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2014/30/MikkoL/Gradiant/LM2/LM2Content/level_01.txt

    r5487 r5597  
    1                                       % 
    2                                       % 
    3                                       % 
    4                                       % 
    5                                       % 
    6                                reuna  % 
    7                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  T                                                                               T                                                                               T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $      
    8                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            B                                                                               B                                                                               B                                                                                                                                          B                                                                                T                                                                      T                                                                      T                                                                                
    9                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      T                                                                               T                                                                               T                                                                                                                                                                                                                           B                                                                      B                                                                      B                                                                      
    10                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                B                                                                               B                                                                               B                                                                                                                                                                                                                           T                                                                      T                                                                      T                                                            
    11 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          T                                                                               T                                                                               T                                                                                                                 T                                                                                                         B                                                                      B                                                                      B                                                  
    12 &xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    B                                                                               B                                                                               B                                                                                                  B                                                                                                                        T                                                                      T                                                                      T                                        
    13 &xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              T                                                                               T                                                                               T                                                                                                                                                                                                                           B                                                                      B                                                                      B                              
    14 &yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        B                                                                               B                                                                               B                                                                                                                                                                                                                           T                                                                      T                                                                      T                    
    15 &                                     %                                                                                                                                                                                                                                                         1                                                                                                          1                                                                                                  R                                          T                                                                               T                                                                               T                                                                                      1                                 R                                T         1                                                                                                                                       B                                                                 R    B                                                                      B                                                                                                                                                                                                                                                                                                                             R    1                                                                                     1 
    16 &                                     %                                                                                                                                 1                                                                                                                                      R                                                                                                          R                                                                                       1                                                B                                                                               B                                                                               B                                                                      R                                       1                           B                  R                                                                       R                                                                                                                             1     T                                                                                                                                                                                                                                                                                                                                                                                                  1      R                                                                              1 
    17 &                                     %                                                                                                            1                                        1                                                                                                                                 1                                                                                                          1                                                                            R                                                      T                                                                               T                                                                               T                                                      1                                    R                 1                                         1                                                                       1                                                                                                                R                 1                                                                                                                                                                                                                                                                       3                                                                                                                 1                  R                                                                  1 
    18 &                                     %                                                                                                                                                                                                                  R                                                                                   R                                                                                                          R                                                                 1                                                            B                                                                               B                                                                               B                                      R                                          1                 1                                             R                                                                       R                                                                                                            1                 1                                                                                                   2           5                                                                                                                                      5                                                                                                                            1                              R                                                      1 
    19 &                                     %                                                                                     1                                                                                    1                                                                                                                                          1                                                                                                          1                                                      R                                                                  T                   3                                                           T                                                                               T                      1                                       R                                   R              T                         1                                                                       1                                                                                               R                                   R                                                                                                                                                                                                                          2                                                                                                                                         1                                          R                                          1 
    20 &                                     %                                                                                                                                 1                   R                                                                                 R                                                                                            R                                                                                                          R                                           1                                                                         B                                                                              B                                                                                B     R                                             1                                   R         B                                  R                                                3                      R                                                           5                               1                                   R                                                                                                                                                                                                                                                         3                                                                                                    1                                                      R                              1 
    21 &                                     %                                                                 1                                                                                                                            1                   R                    1                                                                                                           1                                                                                                          1                                R                                                                              T                                                                               T                                                                      1        T                                  R                                                    1                                       1                                                                       1                                                                               R                                                    1                                                                                                                                                                                                                                                                                                                                               1                                                                   R                 1 
    22 &                                     %                                                                                                                                                                                                                                                                                                                                                                  R                                                                                                                                1                                                                                    B                                                                               B                                                      R                        B          R             1                                                    R                                           R                                                                       R                                                                   2       1                                                    R                                                                                                                                                                                                                                                                                                                                         1                                                                               R     1 
    23 &                  P                  %                                             1                                                                                   R                                                                                1                                                                                                                                               3                                                                                                          2                                2                                                        3                                                                                                                                                 1                                            1         51                                                    5     T                                         1                                                                       1                                                                       1                          5                         5                       3                                   2              2                  3                                                                   5                          3                                              3                                    5                                                  1                                                                                        5                                                                                     G 
    24 &                                     %                                                                                                                                                                                                                                                                                                                                                                  1                                                                                                                                R             T                                                                                T                                                                               T                                R                                               R             1                                                    1B                                                  R                                                                       R                                                           2       1                                                    1                                                                                                                                                                                                                                                                                                                             1                                                                                           1     R 
    25 &                                     %                                                                 1                                                                                                                            1                   R                    1                                                                                                           R                                                                                                          R                                1                            B                                                                               B                                                                               B                1                                                                   R                                                    R                                                       1                                                                       1                                                               R                                                    R                                                                                                                                                                                                                                                                                                                       1                                                                                           1                 R 
    26 &                                     %                                                                                                                                 1                                                                                                     R                                                                                            1                                                                                                          1                                           R                                          T                                                                               T                                                                               TR                                                                                 R                                   1                                                                    R                        3                                              R                                   5                               R                                   1                                                                                                                                                                                                                                                         3                                                                1                                                                                           1                             R 
    27 &                                     %                                                                                     1                                                               R                    1                                                                                                                                          R                                                                                                          R                                                      1                                                        B                             3                                                 B                                                                 1             B                                                                        1                                   1              T                                                         1                                                                       1                                                               1                                   1                                                                                                                                                                                                                          2                                                                                         1                                                                                           1                                         R 
    28 &                                     %                                                                                                                                                                                                                  R                                                                                   1                                                                                                          1                                                                 R                                                                      T                                                                               T                                                 R                             T                                                                       R                 R                  B                                                                  R                                                                       R                                                                    R                 R                                                                                                   2           5                                                                                                                                      5                                                                1                                                                                           1                                                     R 
    29 &                                     %                                                                                                            1                                        1                                                                                                                                 R                                                                                                          R                                                                            1                                                                                    B                                                                               B                                 1                                             B                                                             1                 R                                                                                         1                                                                       1                                                                1                 R                                                                                                                                                                                                                                                                       3                                         1                                                                                           1                                                                 R 
    30 &                                     %                                                                                                                                 1                                                                                                                                      1                                                                                                          1                                                                                       R                                                                                                  T                                                                               T                 R                                                             T                                                            R                                                                                                      R                                                                       R                                                                     R                                                                                                                                                                                                                                                                                                                    1                                                                                           1                                                                             R 
    31 &                                     %                                                                                                                                                                                                                                                         R                                                                                                          R                                                                                                  1                                                                                                                B                                                                               B 1                                                                             B                                                  1                                T                                                                         1                                                                       1                                                                 1                                                                                                                                                                                                                                                                                                              1                                                                                           1                                                                                         R 
    32 &zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  T                                                                               T                                                                               T                                                                                                                                                    B                                                                                  R                                                                     T R                                                                                                                                                     
    33 &xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            B                                                                               B                                                                               B                                                                                                                                                                                                                            T                                                                                B                                                            T                                                                                
    34 &xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      T                                                                               T                                                                               T                                                                                                                                                                                                                            B                                                                                T                                                            B                                                                      
    35 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                B                                                                               B                                                                               B                                                                                                                           T                                                                                                T                                                                                B                                                            T                                                            
    36                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          T                                                                               T                                                                               T                                                                                                            B                                                                                                               B                                                                                T                                                            B                                                  
    37                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    B                                                                               B                                                                               B                                                                                                                                                                                                                            T                                                                                B                                                            T                                        
    38                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              T                                                                               T                                                                               T                                                                                                                                                                                                                            B                                                                                T                                                            B                              
    39                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        B                                                                               B                                                                               B                                                                                   T                                                                                                                                        T                                                                                B                                                            T                    
    40                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               B                                                                                                                                             B                                                                $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4      
    41                                reuna  % 
    42                                       % 
    43                                       % 
    44                                       % 
    45                                       % 
     1                                       %  
     2                                       %  
     3                                       %  
     4                                       %  
     5                                       %  
     6                                reuna  %  
     7                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   T                                                                                                                                                               T                                                                                                                                                                                                                                                                                                                                                                                                                                                      4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $ 
     8                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             B                                                                                                                                                               B                                                                                                                                          B           T                                                                                                                                             T                                                                                
     9                                      #%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      T                                                                                                                                                               T                                                                                                                                                      B                                                                                                                                             B                                                                      
     10                                      #%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                B                                                                                                                                                               B                                                                                                                                                      T                                                                                                                                             T                                                            
     11#######################################%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          T                                                                                                                                                               T                                                                                                                 T                                    B                                                                                                                                             B                                                  
     12#@#####################################%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    B                                                                                                                                                               B                                                                                                  B                                                   T                                                                                                                                             T                                        
     13#@#####################################%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              T                                                                                                                                                               T                                                                                                                                                      B                                                                                                                                             B                              
     14#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        B                                                                                                                                                               B                                                                                                                                                      T                                                                                                                                             T                    
     15#@                                     %#                                                                                                                                                                                                                                                         1                                                                                                          1                                                                                                  R                                          T                                                                               T                                                                               T                                                                                      1                                 R                                T                                                                            B                                                                 R                                                                           B                                                                                                                                                                                                                                    R                                                                                          1 
     16#@                                     %#                                                                                                                                 1                                                                                                                                      R                                                                                                          R                                                                                       1                                                B                                                                               B                                                                               B                                                                      R                                       1                           B                     R                                                                                                                             1     T                                                                                                                                                                                                                                                                                                                R                                                                              1 
     17#@                                     %#                                                                                                            1                                        1                                                                                                                                 1                                                                                                          1                                                                            R                                                      T                                                                               T                                                                               T                                                      1                                    R                 1                                            1                                                                                                                R                 1                                                                                                                                                                                                                                                                       3                                           R                                                                  1 
     18#@                                     %#                                                                                                                                                                                                                                                                                                      R                                                                                                          R                                                                 1                                                            B                                                                               B                                                                               B                                      R                                          1                 1                                                R                                                                                                            1                 1                                                                                                   2           5                                                                                                                                      5                                                                  R                                                      1 
     19#@                                     %#                                                                                     1                                                                                    1                                                                                                                                          1                                                                                                          1                                                      R                                                                  T                   3                                                           T                                                                               T                      1                                       R                                   R              T                            1                                                                                               R                                   R                                                                                                                                                                                                                          2                                                                                           R                                          1 
     20#@                                     %#                                                                                                                                 1                   R                                                                                 R                                                                                            R                                                                                                          R                                           1                                                                         B                                                                              B                                                                                B     R                                             1                                   R         B              3                      R                                                           5                               1                                   R                                                                                                                                                                                                                                                         3                                                                  R                              1 
     21#@                                     %#                                                                 1                                                                                                                            1                   R                    1                                                                                                           1                                                                                                          1                                R                                                                              T                                                                               T                                                                      1        T                                  R                                                    1                                          1                                                                               R                                                    1                                                                                                                                                                                                                                                                                                                          R                 1 
     22#@                                     %#                                                                                                                                                                                                                                                                                                                                                                  R                                                                                                                                1                                                                                    B                                                                               B                                                      R                        B          R             1                                                    R                                              R                                                                   2       1                                                    R                                                                                                                                                                                                                                                                                                                                R     1 
     23#@                  P                  %#                                             1                                                                                   R                                                                                1                                                                                                                                               3                                                                                                          2                                2                                                        3                                                                                                                                                 1                                            1         51                                                    5     T                                            1                                                                       1                          5                         5                       3                                   2              2                  3                                                                   5                          3                                              3                                    5                                                  5                                                                                     G 
     24#@                                     %#                                                                                                                                                                                                                                                                                                                                                                  1                                                                                                                                R             T                                                                                T                                                                               T                                R                                               R             1                                                    1B                                                     R                                                           2       1                                                    1                                                                                                                                                                                                                                                                                                                                1     R 
     25#@                                     %#                                                                 1                                                                                                                            1                   R                    1                                                                                                           R                                                                                                          R                                1                            B                                                                               B                                                                               B                1                                                                   R                                                    R                                                          1                                                               R                                                    R                                                                                                                                                                                                                                                                                                                          1                 R 
     26#@                                     %#                                                                                                                                 1                                                                                                     R                                                                                            1                                                                                                          1                                           R                                          T                                                                               T                                                                               TR                                                                                 R                                   1                        3                                              R                                   5                               R                                   1                                                                                                                                                                                                                                                         3                                                                   1                             R 
     27#@                                     %#                                                                                     1                                                               R                    1                                                                                                                                          R                                                                                                          R                                                      1                                                        B                             3                                                 B                                                                 1             B                                                                        1                                   1              T                                                            1                                                               1                                   1                                                                                                                                                                                                                          2                                                                                            1                                         R 
     28#@                                     %#                                                                                                                                                                                                                                                                                                      1                                                                                                          1                                                                 R                                                                      T                                                                               T                                                 R                             T                                                                       R                 R                  B                                                                     R                                                                    R                 R                                                                                                   2           5                                                                                                                                      5                                                                   1                                                     R 
     29#@                                     %#                                                                                                            1                                        1                                                                                                                                 R                                                                                                          R                                                                            1                                                                                    B                                                                               B                                 1                                             B                                                             1                 R                                                                                            1                                                                1                 R                                                                                                                                                                                                                                                                       3                                            1                                                                 R 
     30#@                                     %#                                                                                                                                 1                                                                                                                                      1                                                                                                          1                                                                                       R                                                                                                  T                                                                               T                 R                                                             T                                                            R                                                                                                         R                                                                     R                                                                                                                                                                                                                                                                                                                       1                                                                             R 
     31#@                                     %#                                                                                                                                                                                                                                                         R                                                                                                          R                                                                                                  1                                                                                                                B                                                                               B 1                                                                             B                                                  1                                T                                                                            1                                                                 1                                                                                                                                                                                                                                                                                                                 1                                                                                         R 
     32#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  T                                                                                                                                                               T                                                                                                                                                    B             R                                                                      R                                                                                                                                                     
     33#@#####################################%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            B                                                                                                                                                               B                                                                                                                                                       T                                                                                                                                             T                                                                                
     34#@#####################################%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      T                                                                                                                                                               T                                                                                                                                                       B                                                                                                                                             B                                                                      
     35#######################################%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                B                                                                                                                                                               B                                                                                                                           T                           T                                                                                                                                             T                                                            
     36                                      #%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          T                                                                                                                                                               T                                                                                                            B                                          B                                                                                                                                             B                                                  
     37                                      #%#                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    B                                                                                                                                                               B                                                                                                                                                       T                                                                                                                                             T                                        
     38                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               T                                                                                                                                                               T                                                                                                                                                       B                                                                                                                                             B                              
     39                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         B                                                                                                                                                               B                                                                                   T                                                                   T                                                                                                                                             T                    
     40                                       %                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           B                                                                                                                                             B                                                                $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4     $     4 
     41                                reuna  %  
     42                                       %  
     43                                       %  
     44                                       %  
     45                                       %  
  • 2014/30/MikkoL/Gradiant/LM2/LM2Content/level_test.txt

    r5553 r5597  
    1010                                      #%# 
    1111#######################################%# 
    12 #&xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%# 
    13 #&xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%# 
     12#&#####################################%# 
     13#&#####################################%# 
    1414#&yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy%# 
    1515#&                                     %# 
     
    3131#&                                     %# 
    3232#&zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz%# 
    33 #&xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%# 
    34 #&xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%# 
     33#&#####################################%# 
     34#&#####################################%# 
    3535#######################################%# 
    3636                                      #%# 
Note: See TracChangeset for help on using the changeset viewer.