Changeset 9106
- Timestamp:
- 2017-07-26 09:32:18 (6 years ago)
- Location:
- 2017/30/JouniP/Syomispeli
- Files:
-
- 9 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/30/JouniP/Syomispeli/Syomispeli/Syomispeli/Syomispeli.cs
r9105 r9106 11 11 PhysicsObject pelaaja1; 12 12 13 Image pahiksenNollailukuva = LoadImage("pahisnollailee"); 14 13 15 public override void Begin() 14 16 { … … 16 18 LisaaPelaaja1(); 17 19 LisaaOhjaimet(); 18 19 20 21 //LisaaPahis(100.0, 0.0); 22 //LisaaPahis(-100.0, 0.0); 23 //LisaaPahis(0.0, 200.0); 24 25 for (int i = 0; i < 3; i++) 26 { 27 LisaaPahis(RandomGen.NextDouble(Level.Left, Level.Right), RandomGen.NextDouble(Level.Bottom, Level.Top)); 28 } 29 30 20 31 LuoKentta(); 21 32 … … 24 35 25 36 } 37 38 void LisaaPahis(double x, double y) 39 { 40 PhysicsObject pahis = new PhysicsObject(40.0, 40.0); 41 pahis.X = x; 42 pahis.Y = y; 43 pahis.CanRotate = false; 44 pahis.Image = pahiksenNollailukuva; 45 Add(pahis); 46 } 47 26 48 void LuoKentta() 27 49 { … … 58 80 //LuoSyotavaJuttu(-200.0, 90.0); 59 81 60 for (int i = 0; i < 100; i++)82 for (int i = 0; i < 50; i++) 61 83 { 62 84 double xKoordinaatti = RandomGen.NextDouble(Level.Left, Level.Right); -
2017/30/JouniP/Syomispeli/Syomispeli/Syomispeli/obj/x86/Debug/ContentPipeline-{D3520167-BC59-4ACB-ACDF-67593CBFE46B}.xml
r9075 r9106 2 2 <XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 3 3 <Asset Type="Pipeline:BuildItemCollection"> 4 <Item> 5 <Source>pahisnollailee.png</Source> 6 <Name>pahisnollailee</Name> 7 <Importer>TextureImporter</Importer> 8 <Processor>TextureProcessor</Processor> 9 <Options>None</Options> 10 <Output>C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\bin\x86\Debug\Content\pahisnollailee.xnb</Output> 11 <Time>2017-07-26T09:27:31.2982288+03:00</Time> 12 </Item> 13 <Item> 14 <Source>pahisvihaisena.png</Source> 15 <Name>pahisvihaisena</Name> 16 <Importer>TextureImporter</Importer> 17 <Processor>TextureProcessor</Processor> 18 <Options>None</Options> 19 <Output>C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\bin\x86\Debug\Content\pahisvihaisena.xnb</Output> 20 <Time>2017-07-26T09:27:31.2952285+03:00</Time> 21 </Item> 22 <Item> 23 <Source>pahikseenosuu.png</Source> 24 <Name>pahikseenosuu</Name> 25 <Importer>TextureImporter</Importer> 26 <Processor>TextureProcessor</Processor> 27 <Options>None</Options> 28 <Output>C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\bin\x86\Debug\Content\pahikseenosuu.xnb</Output> 29 <Time>2017-07-26T09:27:31.2962286+03:00</Time> 30 </Item> 4 31 <BuildSuccessful>true</BuildSuccessful> 5 32 <Settings> … … 16 43 <Assemblies> 17 44 <Assembly> 45 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 46 <Value>2015-02-09T20:18:44+02:00</Value> 47 </Assembly> 48 <Assembly> 49 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.XImporter.dll</Key> 50 <Value>2011-09-01T16:22:30+03:00</Value> 51 </Assembly> 52 <Assembly> 53 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.VideoImporters.dll</Key> 54 <Value>2011-09-01T16:22:30+03:00</Value> 55 </Assembly> 56 <Assembly> 57 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.TextureImporter.dll</Key> 58 <Value>2011-09-01T16:22:30+03:00</Value> 59 </Assembly> 60 <Assembly> 61 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.FBXImporter.dll</Key> 62 <Value>2011-09-01T16:22:30+03:00</Value> 63 </Assembly> 64 <Assembly> 65 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 66 <Value>2011-09-01T16:22:30+03:00</Value> 67 </Assembly> 68 <Assembly> 69 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 70 <Value>2011-09-01T16:22:30+03:00</Value> 71 </Assembly> 72 <Assembly> 73 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 74 <Value>2015-02-17T22:27:18+02:00</Value> 75 </Assembly> 76 <Assembly> 18 77 <Key>C:\Windows\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 19 78 <Value>2016-06-13T14:34:23.3940496+03:00</Value> -
2017/30/JouniP/Syomispeli/Syomispeli/Syomispeli/obj/x86/Debug/Syomispeli.csproj.FileListAbsolute.txt
r9075 r9106 7 7 C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\obj\x86\Debug\Syomispeli.exe 8 8 C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\obj\x86\Debug\Syomispeli.pdb 9 C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\bin\x86\Debug\Content\pahisnollailee.xnb 10 C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\bin\x86\Debug\Content\pahisvihaisena.xnb 11 C:\MyTemp\JouniP\Syomispeli\Syomispeli\Syomispeli\bin\x86\Debug\Content\pahikseenosuu.xnb -
2017/30/JouniP/Syomispeli/Syomispeli/SyomispeliContent/SyomispeliContent.contentproj
r9075 r9106 45 45 <Reference Include="AnimationExtension" /> 46 46 </ItemGroup> 47 <ItemGroup> 48 <Compile Include="pahikseenosuu.png"> 49 <Name>pahikseenosuu</Name> 50 <Importer>TextureImporter</Importer> 51 <Processor>TextureProcessor</Processor> 52 </Compile> 53 <Compile Include="pahisnollailee.png"> 54 <Name>pahisnollailee</Name> 55 <Importer>TextureImporter</Importer> 56 <Processor>TextureProcessor</Processor> 57 </Compile> 58 <Compile Include="pahisvihaisena.png"> 59 <Name>pahisvihaisena</Name> 60 <Importer>TextureImporter</Importer> 61 <Processor>TextureProcessor</Processor> 62 </Compile> 63 </ItemGroup> 47 64 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 48 65 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset
for help on using the changeset viewer.