Changeset 6714 for 2015/27


Ignore:
Timestamp:
2015-07-01 22:59:27 (4 years ago)
Author:
sieerinn
Message:

Kenttäsiirtymät laitettu takaisin.

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

Legend:

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

    r6713 r6714  
    2626    { 
    2727        bossSpawnPositions.Clear(); 
     28 
    2829        var level = TiledTileMap.FromLevelAsset(levelName); 
    2930        level.SetTileMethod("base", CreateBaseTile); 
     
    259260    void CreateBasicTile(Vector position, double width, double height, Image image, int layer, Dictionary<string, string> properties) 
    260261    { 
     262        //var tile = new GameObject(width, height); 
    261263        var tile = properties.ContainsKey("collide") ? PhysicsObject.CreateStaticObject(width, height) : new GameObject(width, height); //new PhysicsObject(width, height)  PhysicsObject.CreateStaticObject(width, height) 
    262264        tile.Image = image; 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs

    r6713 r6714  
    474474    } 
    475475 
     476    /* 
    476477    void CollidesWithExit(PhysicsObject pPlayer, PhysicsObject pExit) 
    477478    { 
     
    491492        Add(player); 
    492493    } 
    493  
    494     /* 
    495     void CollidesWithExitFail(PhysicsObject pPlayer, PhysicsObject pExit) 
     494     */ 
     495 
     496    void CollidesWithExit(PhysicsObject pPlayer, PhysicsObject pExit) 
    496497    { 
    497498        if (!canUseExit) 
     
    585586        Camera.Position = pos; 
    586587    } 
    587      */ 
    588588 
    589589    /// <summary> 
     
    619619        double dt = gameTime.SinceLastUpdate.TotalSeconds; 
    620620 
    621         const double transitionSpeed = 500.0; 
     621        const double transitionSpeed = 400.0; 
    622622 
    623623        if (transition && !viewing) 
Note: See TracChangeset for help on using the changeset viewer.