Changeset 6713


Ignore:
Timestamp:
2015-07-01 22:56:56 (4 years ago)
Author:
empaheik
Message:

Niin näkymättömiä reunoja.

Location:
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs

    r6712 r6713  
    2626    { 
    2727        bossSpawnPositions.Clear(); 
    28         Level.CreateVerticalBorders(1.0, false, Color.Yellow); 
    29         PhysicsObject leftBorder = Level.CreateLeftBorder(0.0, false); 
    30         PhysicsObject rightBorder = Level.CreateRightBorder(0.0, false); 
    31         leftBorder.X += Level.Width * 0.25; 
    32         rightBorder.X -= Level.Width * 0.25; 
    33  
    3428        var level = TiledTileMap.FromLevelAsset(levelName); 
    3529        level.SetTileMethod("base", CreateBaseTile); 
     
    4640        level.Execute(); 
    4741 
     42        Level.CreateBorders(false); 
     43 
    4844        Level.Background.Color = Color.Black; 
    4945    } 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs

    r6712 r6713  
    416416            "-Hobo in a cave" 
    417417        }), FoodImage)); 
     418 
     419        storyBlock.Tag = "none"; 
     420        storyBlock.IgnoresCollisionResponse = true; 
    418421 
    419422        ShowTextItem(storyItems[1]); 
Note: See TracChangeset for help on using the changeset viewer.