Changeset 1040


Ignore:
Timestamp:
2010-07-05 01:41:45 (9 years ago)
Author:
sijoseha
Message:

Testiä

Location:
2010/24/sijoseha/EfektiDemo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2010/24/sijoseha/EfektiDemo/EfektiDemo.csproj

    r1037 r1040  
    5959    <Reference Include="Jypeli2, Version=2.3.0.0, Culture=neutral, processorArchitecture=x86"> 
    6060      <SpecificVersion>False</SpecificVersion> 
    61       <HintPath>..\trunk\Jypeli\bin\x86\Debug\Jypeli2.dll</HintPath> 
     61      <HintPath>..\Jypeli\bin\x86\Debug\Jypeli2.dll</HintPath> 
    6262    </Reference> 
    6363    <Reference Include="Microsoft.Xna.Framework, Version=3.1.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d" /> 
  • 2010/24/sijoseha/EfektiDemo/Peli.cs

    r1037 r1040  
    1212    protected override void Begin() 
    1313    { 
     14        PhysicsObject kuula = new PhysicsObject(20, 20); 
     15        kuula.Position = new Vector(0, 0); 
     16        Add(kuula); 
    1417        Level.BackgroundColor = Color.Black; 
    1518        Image expl = LoadImage("Explosion"); 
     
    2225        liekki1 = new Flames(glow, glow2, 400, Angle.Degrees(270)); 
    2326        liekki2 = new Flames(glow2, 400, Angle.Degrees(270)); 
     27        liekki1.Position = new Vector(-200, 0); 
    2428        rajahdys2.MinLifetime = 0.2; 
    2529        rajahdys2.MaxLifetime = 0.4; 
     
    3943        //Add(rajahdys4); 
    4044        Add(liekki1); 
    41         Add(liekki2); 
     45        //liekki1.SourceObject = kuula; 
     46        //Add(liekki2); 
    4247 
    4348        ps = new ParticleSystem(glow, 10); 
     
    5459        ps.MinScale = 1; 
    5560        ps.MinVelocity = 10; 
    56         Add(ps); 
     61        //Add(ps); 
    5762 
    5863        Timer t = new Timer(); 
     
    97102    void t_Trigger3(Timer sender) 
    98103    { 
    99         liekki1.AddEffect(-200, 0, 2); 
    100         liekki2.AddEffect(200, 0, 2); 
     104        //liekki1.AddEffect(-200, 0, 2); 
     105        //liekki2.AddEffect(200, 0, 2); 
    101106    } 
    102107 
Note: See TracChangeset for help on using the changeset viewer.