- Timestamp:
- 2016-06-17 10:24:10 (7 years ago)
- Location:
- 2016/24/EemeliL/Pong
- Files:
-
- 6 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/24/EemeliL/Pong/Pong.cs
r7295 r7407 38 38 void LuoKentta() 39 39 { 40 pallo = new PhysicsObject( 40.0, 40.0);40 pallo = new PhysicsObject(70.0, 70.0); 41 41 pallo.Shape = Shape.Circle; 42 42 pallo.Color = RandomGen.NextColor(); … … 44 44 pallo.Y = 0.0; 45 45 pallo.Restitution = 2.0; 46 pallo.Image = LoadImage("PallonKuva"); 46 47 47 48 Add(pallo); … … 71 72 72 73 73 Level.Background.Color = Color.Blue; 74 Level.Background.Image = LoadImage("Taustakuva"); 75 Level.Background.Color = RandomGen.NextColor(); 74 76 75 77 AddCollisionHandler(pallo, KasittelePallonTormays); … … 85 87 PhysicsObject LuoMaila(double X, double Y) 86 88 { 87 PhysicsObject maila = PhysicsObject.CreateStaticObject(20.0, 1 00.0);88 maila.Shape = Shape. Hexagon;89 PhysicsObject maila = PhysicsObject.CreateStaticObject(20.0, 130.0); 90 maila.Shape = Shape.Circle; 89 91 maila.X = X; 90 92 maila.Y = Y; … … 190 192 pelaajan1Pisteet.Value = 0; 191 193 pelaajan2Pisteet.Value = 0; 192 193 } 194 ClearAll(); 195 Begin(); 196 197 } 194 198 195 199 } -
2016/24/EemeliL/Pong/Pong/Pong/obj/x86/Debug/ContentPipeline-{DEDB9D28-5879-4871-A6B4-04925B47CDA3}.xml
r7267 r7407 2 2 <XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 3 3 <Asset Type="Pipeline:BuildItemCollection"> 4 <Item> 5 <Source>Taustakuva.png</Source> 6 <Name>Taustakuva</Name> 7 <Importer>TextureImporter</Importer> 8 <Processor>TextureProcessor</Processor> 9 <Options>None</Options> 10 <Output>C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\Taustakuva.xnb</Output> 11 <Time>2016-06-17T10:11:28.715129+03:00</Time> 12 </Item> 13 <Item> 14 <Source>PallonKuva.png</Source> 15 <Name>PallonKuva</Name> 16 <Importer>TextureImporter</Importer> 17 <Processor>TextureProcessor</Processor> 18 <Options>None</Options> 19 <Output>C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\PallonKuva.xnb</Output> 20 <Time>2016-06-17T10:19:44.8638933+03:00</Time> 21 </Item> 4 22 <BuildSuccessful>true</BuildSuccessful> 5 23 <Settings> … … 16 34 <Assemblies> 17 35 <Assembly> 36 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 37 <Value>2015-02-09T20:18:44+02:00</Value> 38 </Assembly> 39 <Assembly> 40 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.XImporter.dll</Key> 41 <Value>2011-09-01T16:22:30+03:00</Value> 42 </Assembly> 43 <Assembly> 44 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.VideoImporters.dll</Key> 45 <Value>2011-09-01T16:22:30+03:00</Value> 46 </Assembly> 47 <Assembly> 48 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.TextureImporter.dll</Key> 49 <Value>2011-09-01T16:22:30+03:00</Value> 50 </Assembly> 51 <Assembly> 52 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.FBXImporter.dll</Key> 53 <Value>2011-09-01T16:22:30+03:00</Value> 54 </Assembly> 55 <Assembly> 56 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 57 <Value>2011-09-01T16:22:30+03:00</Value> 58 </Assembly> 59 <Assembly> 60 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 61 <Value>2011-09-01T16:22:30+03:00</Value> 62 </Assembly> 63 <Assembly> 64 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 65 <Value>2015-02-17T22:27:18+02:00</Value> 66 </Assembly> 67 <Assembly> 18 68 <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 69 <Value>2015-09-16T12:26:20.8291525+03:00</Value> -
2016/24/EemeliL/Pong/Pong/Pong/obj/x86/Debug/Pong.csproj.FileListAbsolute.txt
r7267 r7407 7 7 C:\MyTemp\EemeliL\Pong\Pong\Pong\obj\x86\Debug\Pong.exe 8 8 C:\MyTemp\EemeliL\Pong\Pong\Pong\obj\x86\Debug\Pong.pdb 9 C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\Taustakuva.xnb 10 C:\MyTemp\EemeliL\Pong\Pong\Pong\bin\x86\Debug\Content\PallonKuva.xnb -
2016/24/EemeliL/Pong/Pong/PongContent/PongContent.contentproj
r7267 r7407 45 45 <Reference Include="AnimationExtension" /> 46 46 </ItemGroup> 47 <ItemGroup> 48 <Compile Include="Taustakuva.png"> 49 <Name>Taustakuva</Name> 50 <Importer>TextureImporter</Importer> 51 <Processor>TextureProcessor</Processor> 52 </Compile> 53 </ItemGroup> 54 <ItemGroup> 55 <Compile Include="PallonKuva.png"> 56 <Name>PallonKuva</Name> 57 <Importer>TextureImporter</Importer> 58 <Processor>TextureProcessor</Processor> 59 </Compile> 60 </ItemGroup> 47 61 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 48 62 <!-- 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.