Changeset 6706 for 2015/27


Ignore:
Timestamp:
2015-07-01 20:44:16 (4 years ago)
Author:
empaheik
Message:
 
Location:
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel
Files:
1 added
6 edited

Legend:

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

    r6705 r6706  
    5555    void CreateBoss(Vector position, double width, double height, Angle angle, Shape shape, string name, Dictionary<string, string> properties) 
    5656    { 
    57         BossHealth = new IntMeter(2, 0, 10); 
     57        BossHealth = new IntMeter(10, 0, 10); 
    5858 
    5959        var bar = new ProgressBar(Level.Width * 0.7, TILE_SIZE * 0.5); 
     
    249249    void CreateBasicTile(Vector position, double width, double height, Image image, int layer, Dictionary<string, string> properties) 
    250250    { 
    251         var tile = properties.ContainsKey("collide") ? PhysicsObject.CreateStaticObject(width, height) : new GameObject(width, height); 
     251        var tile = properties.ContainsKey("collide") ? PhysicsObject.CreateStaticObject(width, height) : new GameObject(width, height); //new PhysicsObject(width, height)  PhysicsObject.CreateStaticObject(width, height) 
    252252        tile.Image = image; 
    253253        tile.Position = position; 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs

    r6705 r6706  
    305305        viewing = true; 
    306306        messagesviewed = new Queue<string>(item.Message); 
    307         Pause(); 
     307         
    308308 
    309309        Level.AmbientLight -= 0.75; 
    310310 
    311         frame = new GameObject(LetterImage); 
    312         frame.Image = LetterImage; 
     311        frame = new GameObject(item.InventoryImage); 
    313312        frame.Width = Window.Width * 0.25; 
    314313        frame.Height = Window.Height * 0.25; 
    315         frame.Width = Level.Width * 0.25; 
    316         frame.Height = Level.Height * 0.25; 
    317         Add(frame); 
     314        frame.Position = player.Position; 
     315        Add(frame, 2); 
    318316 
    319317        midpoint = 26 * item.Message.Count() * 0.5; 
     318        Pause(); 
    320319 
    321320    } 
     
    333332        ClearAll(); 
    334333        CreatePlayer(new Vector(0, -300), TILE_SIZE, TILE_SIZE, Angle.Zero, Shape.Rectangle, "", null); 
    335         CreateLevel("level1"); 
     334        CreateLevel("bossroom"); 
    336335        //CreatePlayer(new Vector(-Level.Width/3, Level.Bottom + TILE_SIZE * 2)); 
    337336        SetControls(); 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/LegendOfGabrielTileset.tsx

    r6632 r6706  
    1212  </properties> 
    1313 </tile> 
     14 <tile id="22"> 
     15  <properties> 
     16   <property name="collide" value="true"/> 
     17  </properties> 
     18 </tile> 
     19 <tile id="23"> 
     20  <properties> 
     21   <property name="collide" value="true"/> 
     22  </properties> 
     23 </tile> 
     24 <tile id="24"> 
     25  <properties> 
     26   <property name="collide" value="true"/> 
     27  </properties> 
     28 </tile> 
    1429</tileset> 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/hobocave.tmx

    r6698 r6706  
    55  <data encoding="base64" compression="zlib"> 
    66   eJwTZGBgEKQiZsOBydVHSD8hfbj0E6sPm35y9RISI1UvseFNSBydTUo845IHAApQBqg= 
     7  </data> 
     8 </layer> 
     9 <layer name="decoration" width="15" height="10"> 
     10  <data encoding="base64" compression="zlib"> 
     11   eJwTZGBgEKQiZsOBSdUnCaUloJhYfRI4+MS6E5d5uPSKE2EGNn243IFuHj69xIY3IXEYm5+MeMYlDwDXpAdA 
    712  </data> 
    813 </layer> 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/level1.tmx

    r6705 r6706  
    44 <layer name="base" width="25" height="40"> 
    55  <data encoding="base64" compression="zlib"> 
    6    eJztk7sOgDAIRYlDnRz4/591cSAEaVO5mBCGMxU44VEmIhacAgahHUOwkm/FDcUl0G+e6y3WYsXxlQxH0zR1OB7Q9VEOdP1qPaDq/7WPjJ2g51bB0f9wfkOIm7JqZjgiZ77rmMVHzN7Li9qtlx81+8wbzHZk9BDhQjtuzvQXiQ== 
     6   eJztkzEOgDAIRYlDnRy4mvc/TGPiQBqkjfIxIQxvEv5LAZmIWLALGMSVfQpHE6z0a3Vt4BCM3yzXU63GiuMrEY6iKPKw3aDzUQ50frY3oPL/2kfETtBzy+Co/3B+Q4ib0jIjHJ4zf+uY1XvM3urz2q3V7zX7yBuMdkS8wcOFdnQ/9xfU 
    77  </data> 
    88 </layer> 
    99 <layer name="decoration" width="25" height="40"> 
    1010  <data encoding="base64" compression="zlib"> 
    11    eJzt1zEKgDAMBdAsXfVYulpHwfsfQwoGQih2+T8Y6AcXhTxSmkpF/pH1fZApHQMdb6Bi16O494yw+ogw7Jpk7mMa00BlIxutfiUaWp9l2Pos4zD1T5JxCb8P72gY56461uj9BxGODdK4B99RfXw5mc6rNos72dBZzG74+UAbuqf8fCCNUaKNJcBgJfqOM+8fscYDiTINLw== 
     11   eJzt1zEKgDAMBdAudXVz9ja6qqPg/Y8hhQZCLHb5PxDoBwcr5JFiKqb0zdJYQ2c193O9kMkNAx1roKL3I5t1Rlh9eBh6TyL3MYxhoLKRjVL/JBpSn2Xo+izjUPUvknEnfh/WkTDOXXG00foOIhwdpPF0nqP6+HMinVdlFneyIbMY3bDzgTbknbLzgTR68TYmB4MV73+c8f/ha7yvhw1d 
    1212  </data> 
    1313 </layer> 
Note: See TracChangeset for help on using the changeset viewer.