Changeset 897
- Timestamp:
- 2010-06-16 11:20:49 (12 years ago)
- Location:
- 2010/23/hniemi/ShootEmUp
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/23/hniemi/ShootEmUp/ShootEmUp/Alus.cs
r873 r897 41 41 : base(width,height) 42 42 { 43 this.kaytossaOlevaAse = new Beam(1, 1); 43 44 this.Shape = Shapes.Rectangle; 44 45 this.CanRotate = false; … … 61 62 public void SetWeapon(Weapon ase) 62 63 { 63 if (kaytossaOlevaAse != null) kaytossaOlevaAse.Destroy(); 64 ase.IsVisible = false; 65 this.Add(ase); 64 kaytossaOlevaAse.IsVisible = false; 65 ase.IsVisible = true; 66 66 kaytossaOlevaAse = ase; 67 67 68 } 68 69 -
2010/23/hniemi/ShootEmUp/ShootEmUp/Content/obj/x86/Debug/ContentPipeline.xml
r873 r897 9 9 <Options>None</Options> 10 10 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\vihollinen1.xnb</Output> 11 <Time>2010-06-1 1T19:57:56+03:00</Time>11 <Time>2010-06-16T09:14:17.8987316+03:00</Time> 12 12 </Item> 13 13 <Item> … … 18 18 <Options>None</Options> 19 19 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\ringout.xnb</Output> 20 <Time>2010-06-1 4T10:28:27.0625087+03:00</Time>20 <Time>2010-06-16T09:14:17.8296971+03:00</Time> 21 21 </Item> 22 22 <Item> … … 27 27 <Options>None</Options> 28 28 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\pum.xnb</Output> 29 <Time>2010-06-1 4T10:33:19.8792997+03:00</Time>29 <Time>2010-06-16T09:14:17.8567106+03:00</Time> 30 30 </Item> 31 31 <Item> … … 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\ohjus.xnb</Output> 38 <Time>2010-06-1 4T15:13:56.2405151+03:00</Time>38 <Time>2010-06-16T09:14:17.9067356+03:00</Time> 39 39 </Item> 40 40 <Item> … … 45 45 <Options>None</Options> 46 46 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\vihollinen2.xnb</Output> 47 <Time>2010-06-1 1T19:57:36+03:00</Time>47 <Time>2010-06-16T09:14:17.9137391+03:00</Time> 48 48 </Item> 49 49 <Item> … … 54 54 <Options>None</Options> 55 55 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\sankarialus\sankarialusThrust1.xnb</Output> 56 <Time>2010-06-1 5T12:15:45.427405+03:00</Time>56 <Time>2010-06-16T09:14:17.7876761+03:00</Time> 57 57 </Item> 58 58 <Item> … … 63 63 <Options>None</Options> 64 64 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\sankarialus\sankarialusThrust2.xnb</Output> 65 <Time>2010-06-1 5T09:36:59.4334098+03:00</Time>65 <Time>2010-06-16T09:14:17.7956801+03:00</Time> 66 66 </Item> 67 67 <Item> … … 72 72 <Options>None</Options> 73 73 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\sankarialus\sankarialusStop.xnb</Output> 74 <Time>2010-06-1 5T09:38:14.9813231+03:00</Time>74 <Time>2010-06-16T09:14:17.7806726+03:00</Time> 75 75 </Item> 76 76 <Item> … … 81 81 <Options>None</Options> 82 82 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\sankarialus\sankarialusStopShield.xnb</Output> 83 <Time>2010-06-1 5T09:38:20.1289043+03:00</Time>83 <Time>2010-06-16T09:14:17.7746696+03:00</Time> 84 84 </Item> 85 85 <Item> … … 90 90 <Options>None</Options> 91 91 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\vihollinen3.xnb</Output> 92 <Time>2010-06-1 5T11:22:42.3386343+03:00</Time>92 <Time>2010-06-16T09:14:17.9217431+03:00</Time> 93 93 </Item> 94 94 <Item> … … 99 99 <Options>None</Options> 100 100 <Output>C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\sade.xnb</Output> 101 <Time>2010-06-1 5T15:08:27.3746365+03:00</Time>101 <Time>2010-06-16T09:14:17.8697171+03:00</Time> 102 102 </Item> 103 103 <BuildSuccessful>true</BuildSuccessful> -
2010/23/hniemi/ShootEmUp/ShootEmUp/Peli.cs
r873 r897 137 137 ((Missile)weapons[1]).MissileCollision = AmmusOsuu; 138 138 139 for (int i = 0; i < weapons.Length; i++) 140 { 141 pelaajaAlus.Add(weapons[i]); 142 } 143 139 144 Add(pelaajaAlus); 140 pelaajaAlus.SetWeapon(weapons[ 0]);145 pelaajaAlus.SetWeapon(weapons[1]); 141 146 142 147 AddCollisionHandler(pelaajaAlus, PelaajaTormaa); -
2010/23/hniemi/ShootEmUp/ShootEmUp/ShootEmUp.csproj
r823 r897 59 59 <Reference Include="Jypeli2, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> 60 60 <SpecificVersion>False</SpecificVersion> 61 <HintPath>..\..\ lib\Jypeli2.dll</HintPath>61 <HintPath>..\..\..\lib\Jypeli2.dll</HintPath> 62 62 </Reference> 63 63 <Reference Include="Microsoft.Xna.Framework, Version=3.1.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d" /> -
2010/23/hniemi/ShootEmUp/ShootEmUp/Weapons.cs
r873 r897 106 106 protected override PhysicsObject OnShoot() 107 107 { 108 if (this.IsDestroyed()) 108 109 if (!this.IsDestroyed()) 109 110 { 111 //Game.MessageDisplay.Add("Debug"); 110 112 PhysicsObject projectile = new PhysicsObject(Level * 30, Level * 15); 111 113 projectile.Shape = Shapes.Triangle; … … 115 117 SetCollisionHandler(projectile, MissileCollision); 116 118 ShootProjectile(projectile, 1000); 117 Game.Add(projectile);119 //Game.Add(projectile); 118 120 projectile.IgnoresExplosions = true; 119 121 projectile.IgnoresCollisionResponse = true; -
2010/23/hniemi/ShootEmUp/ShootEmUp/obj/x86/Debug/ShootEmUp.csproj.FileListAbsolute.txt
r873 r897 31 31 C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\vihollinen3.xnb 32 32 C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Content\sade.xnb 33 C:\MyTemp\hniemi\ShootEmUp\ShootEmUp\bin\x86\Debug\Jypeli2.dll
Note: See TracChangeset
for help on using the changeset viewer.