- Timestamp:
- 2012-07-05 17:17:05 (9 years ago)
- Location:
- 2012/26/VilleS/KuvaPakkaus/KuvaPakkaus
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2012/26/VilleS/KuvaPakkaus/KuvaPakkaus/KuvaPakkaus/KuvaPakkaus.cs
r3578 r3620 9 9 public class KuvaPakkaus : PhysicsGame 10 10 { 11 Image[] ajKuvat = LoadImages("Aj1", "Aj2", "Aj3","Aj4"); 12 Image pelaajanKuva = LoadImage("AjLautailee"); 13 Image pelaajanKuva2 = LoadImage("AjLautailee2"); 14 11 Image[] ajKuvat = LoadImages("Aj1", "Aj2", "Aj3", "Aj4", "Aj5", "Aj6", "Aj7", "Aj8", "Aj9", "aj10"); 12 15 13 public override void Begin() 16 14 { 17 15 Level.CreateBorders(); 18 16 Camera.ZoomToLevel(); 19 Level.BackgroundColor = (new Color( 0, 148, 255));17 Level.BackgroundColor = (new Color(28, 20, 255)); 20 18 21 19 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 22 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");23 20 Keyboard.Listen(Key.Enter, ButtonState.Pressed, VaihdaSatunnainenKuva, "Vaihtaa kuvan"); 24 21 } -
2012/26/VilleS/KuvaPakkaus/KuvaPakkaus/KuvaPakkausContent/KuvaPakkausContent.contentproj
r3578 r3620 84 84 </Compile> 85 85 </ItemGroup> 86 <ItemGroup> 87 <Compile Include="Aj10.png"> 88 <Name>Aj10</Name> 89 <Importer>TextureImporter</Importer> 90 <Processor>TextureProcessor</Processor> 91 </Compile> 92 <Compile Include="Aj5.png"> 93 <Name>Aj5</Name> 94 <Importer>TextureImporter</Importer> 95 <Processor>TextureProcessor</Processor> 96 </Compile> 97 <Compile Include="Aj6.png"> 98 <Name>Aj6</Name> 99 <Importer>TextureImporter</Importer> 100 <Processor>TextureProcessor</Processor> 101 </Compile> 102 <Compile Include="Aj7.png"> 103 <Name>Aj7</Name> 104 <Importer>TextureImporter</Importer> 105 <Processor>TextureProcessor</Processor> 106 </Compile> 107 <Compile Include="Aj8.png"> 108 <Name>Aj8</Name> 109 <Importer>TextureImporter</Importer> 110 <Processor>TextureProcessor</Processor> 111 </Compile> 112 <Compile Include="Aj9.png"> 113 <Name>Aj9</Name> 114 <Importer>TextureImporter</Importer> 115 <Processor>TextureProcessor</Processor> 116 </Compile> 117 </ItemGroup> 118 <ItemGroup> 119 <Compile Include="SimoTemplate.png"> 120 <Name>SimoTemplate</Name> 121 <Importer>TextureImporter</Importer> 122 <Processor>TextureProcessor</Processor> 123 </Compile> 124 </ItemGroup> 86 125 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 87 126 <!-- 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.