Changeset 1040 for 2010/24/sijoseha
- Timestamp:
- 2010-07-05 01:41:45 (11 years ago)
- Location:
- 2010/24/sijoseha/EfektiDemo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/24/sijoseha/EfektiDemo/EfektiDemo.csproj
r1037 r1040 59 59 <Reference Include="Jypeli2, Version=2.3.0.0, Culture=neutral, processorArchitecture=x86"> 60 60 <SpecificVersion>False</SpecificVersion> 61 <HintPath>..\ trunk\Jypeli\bin\x86\Debug\Jypeli2.dll</HintPath>61 <HintPath>..\Jypeli\bin\x86\Debug\Jypeli2.dll</HintPath> 62 62 </Reference> 63 63 <Reference Include="Microsoft.Xna.Framework, Version=3.1.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d" /> -
2010/24/sijoseha/EfektiDemo/Peli.cs
r1037 r1040 12 12 protected override void Begin() 13 13 { 14 PhysicsObject kuula = new PhysicsObject(20, 20); 15 kuula.Position = new Vector(0, 0); 16 Add(kuula); 14 17 Level.BackgroundColor = Color.Black; 15 18 Image expl = LoadImage("Explosion"); … … 22 25 liekki1 = new Flames(glow, glow2, 400, Angle.Degrees(270)); 23 26 liekki2 = new Flames(glow2, 400, Angle.Degrees(270)); 27 liekki1.Position = new Vector(-200, 0); 24 28 rajahdys2.MinLifetime = 0.2; 25 29 rajahdys2.MaxLifetime = 0.4; … … 39 43 //Add(rajahdys4); 40 44 Add(liekki1); 41 Add(liekki2); 45 //liekki1.SourceObject = kuula; 46 //Add(liekki2); 42 47 43 48 ps = new ParticleSystem(glow, 10); … … 54 59 ps.MinScale = 1; 55 60 ps.MinVelocity = 10; 56 Add(ps);61 //Add(ps); 57 62 58 63 Timer t = new Timer(); … … 97 102 void t_Trigger3(Timer sender) 98 103 { 99 liekki1.AddEffect(-200, 0, 2);100 liekki2.AddEffect(200, 0, 2);104 //liekki1.AddEffect(-200, 0, 2); 105 //liekki2.AddEffect(200, 0, 2); 101 106 } 102 107
Note: See TracChangeset
for help on using the changeset viewer.