Changeset 9338
- Timestamp:
- 2017-08-02 11:54:05 (6 years ago)
- Location:
- 2017/31/OskariP
- Files:
-
- 6 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/31/OskariP/Alienharvester/Alienharvester/Alienharvester/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml
r9325 r9338 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\OskariP\Alienharvester\Alienharvester\Alienharvester\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2017-08-01T13: 36:27.5143779+03:00</Time>38 <Time>2017-08-01T13:49:32.2306745+03:00</Time> 39 39 </Item> 40 40 <BuildSuccessful>true</BuildSuccessful> -
2017/31/OskariP/Alienharvester2/Alienharvester2/Alienharvester2/Alienharvester2.cs
r9325 r9338 9 9 public class Alienharvester2 : PhysicsGame 10 10 { 11 Image olionkuva = LoadImage("Adrian"); 11 12 const double nopeus = 200; 12 13 const double hyppyNopeus = 750; … … 32 33 pelaaja1.Weapon = new AssaultRifle(30, 10); 33 34 pelaaja1.Weapon.ProjectileCollision = AmmusOsui; 35 PhysicsObject vortigaunt = new PhysicsObject(40, 20); 36 vortigaunt.Shape = Shape.Rectangle; 37 Add(vortigaunt); 38 vortigaunt.Color = Color.DarkGreen; 39 PhysicsObject gargantuan = new PhysicsObject(200, 50); 40 gargantuan.Shape = Shape.Rectangle; 41 Add(gargantuan); 42 gargantuan.Color = Color.DarkBlue; 43 34 44 } 35 45 … … 65 75 void LisaaPelaaja(Vector paikka, double leveys, double korkeus) 66 76 { 67 77 68 78 AssaultRifle pyssy = new AssaultRifle(20, 5); 69 79 pyssy.Angle += Angle.FromDegrees(1); … … 74 84 AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 75 85 Add(pelaaja1); 86 76 87 } 77 88 void AmmusOsui(PhysicsObject ammus, PhysicsObject kohde) -
2017/31/OskariP/Alienharvester2/Alienharvester2/Alienharvester2/Alienharvester2.csproj
r9325 r9338 116 116 </ItemGroup> 117 117 <ItemGroup> 118 <Content Include="Adrian.png" /> 118 119 <Content Include="Game.ico" /> 119 120 <Content Include="GameThumbnail.png" /> 121 <Content Include="gargantua.png" /> 122 <Content Include="vortigaunt.png" /> 120 123 </ItemGroup> 121 124 <ItemGroup> -
2017/31/OskariP/Alienharvester2/Alienharvester2/Alienharvester2/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml
r9325 r9338 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\OskariP\Alienharvester2\Alienharvester2\Alienharvester2\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2017-08-01T14:56: 19.522739+03:00</Time>38 <Time>2017-08-01T14:56:51.627703+03:00</Time> 39 39 </Item> 40 40 <BuildSuccessful>true</BuildSuccessful>
Note: See TracChangeset
for help on using the changeset viewer.