- Timestamp:
- 2015-07-21 11:04:32 (6 years ago)
- Location:
- 2015/30/CamillaT
- Files:
-
- 18 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/30/CamillaT/YouCombat/YouCombat/YouCombat/YouCombat.cs
r6825 r6831 9 9 public class YouCombat : PhysicsGame 10 10 { 11 11 12 PhysicsObject rauski; 12 PhysicsObject vihollinen; 13 PhysicsObject miisas; 14 15 Image tubecon = LoadImage("TubeCombat - tausta"); 16 Image rauskinKuva = LoadImage("TubeCombat - Rauski"); 17 Image miisasinKuva = LoadImage("TubeCombat - Miisas"); 13 18 14 19 public override void Begin() … … 20 25 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 21 26 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 27 28 Level.Width = Screen.Width; 29 Level.Height = Screen.Height; 30 31 GameObject tausta = new GameObject(Level.Width, Level.Height); 32 tausta.Image = tubecon; 33 Add(tausta, -3); 34 35 22 36 } 23 37 24 38 void Hahmot() 25 39 { 26 PhysicsObject rauski = new PhysicsObject(50, 80); 27 PhysicsObject vihollinen = new PhysicsObject(50, 80); 40 rauski = new PhysicsObject(270, 400); 41 miisas = new PhysicsObject(270, 350); 42 43 rauski.X = Level.Right; 44 rauski.Y = -200.0; 45 46 miisas.X = Level.Left; 47 miisas.Y = -200.0; 48 49 rauski.Image = rauskinKuva; 50 miisas.Image = miisasinKuva; 28 51 29 52 Add(rauski); 30 Add(vihollinen); 31 32 33 34 35 rauski.Shape = Shape.Heart; 36 37 38 53 Add(miisas); 39 54 } 40 55 41 56 42 43 57 void HahmojenOhjaus() 58 { 59 //Keyboard.Listen(Key. A, ButtonState.Pressed, Liikuta, "Liiku Vasemmalle"); 60 61 62 63 64 65 66 } 44 67 45 68 … … 49 72 { 50 73 51 vihollinen.Destroy();74 miisas.Destroy(); 52 75 53 76 -
2015/30/CamillaT/YouCombat/YouCombat/YouCombat/obj/x86/Debug/YouCombat.csproj.FileListAbsolute.txt
r6825 r6831 6 6 C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\obj\x86\Debug\YouCombat.exe 7 7 C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\obj\x86\Debug\YouCombat.pdb 8 C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\obj\x86\Debug\YouCombat.csprojResolveAssemblyReference.cache 9 C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\bin\x86\Debug\Content\TubeCombat - tausta.xnb 10 C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\bin\x86\Debug\Content\TubeCombat - Rauski.xnb 11 C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\bin\x86\Debug\Content\TubeCombat - Miisas.xnb -
2015/30/CamillaT/YouCombat/YouCombat/YouCombatContent/YouCombatContent.contentproj
r6825 r6831 45 45 <Reference Include="AnimationExtension" /> 46 46 </ItemGroup> 47 <ItemGroup> 48 <Compile Include="TubeCombat - tausta.png"> 49 <Name>TubeCombat - tausta</Name> 50 <Importer>TextureImporter</Importer> 51 <Processor>TextureProcessor</Processor> 52 </Compile> 53 </ItemGroup> 54 <ItemGroup> 55 <Compile Include="TubeCombat - Rauski.png"> 56 <Name>TubeCombat - Rauski</Name> 57 <Importer>TextureImporter</Importer> 58 <Processor>TextureProcessor</Processor> 59 </Compile> 60 </ItemGroup> 61 <ItemGroup> 62 <Compile Include="TubeCombat - Miisas.png"> 63 <Name>TubeCombat - Miisas</Name> 64 <Importer>TextureImporter</Importer> 65 <Processor>TextureProcessor</Processor> 66 </Compile> 67 </ItemGroup> 47 68 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 48 69 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2015/30/CamillaT/YouCombat/YouCombat/YouCombatContent/obj/x86/Debug/ContentPipeline.xml
r6825 r6831 2 2 <XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 3 3 <Asset Type="Pipeline:BuildItemCollection"> 4 <Item> 5 <Source>TubeCombat - tausta.png</Source> 6 <Name>TubeCombat - tausta</Name> 7 <Importer>TextureImporter</Importer> 8 <Processor>TextureProcessor</Processor> 9 <Options>None</Options> 10 <Output>C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\bin\x86\Debug\Content\TubeCombat - tausta.xnb</Output> 11 <Time>2015-07-21T10:09:24.7358707+03:00</Time> 12 </Item> 13 <Item> 14 <Source>TubeCombat - Rauski.png</Source> 15 <Name>TubeCombat - Rauski</Name> 16 <Importer>TextureImporter</Importer> 17 <Processor>TextureProcessor</Processor> 18 <Options>None</Options> 19 <Output>C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\bin\x86\Debug\Content\TubeCombat - Rauski.xnb</Output> 20 <Time>2015-07-21T10:27:37.0809192+03:00</Time> 21 </Item> 22 <Item> 23 <Source>TubeCombat - Miisas.png</Source> 24 <Name>TubeCombat - Miisas</Name> 25 <Importer>TextureImporter</Importer> 26 <Processor>TextureProcessor</Processor> 27 <Options>None</Options> 28 <Output>C:\MyTemp\CamillaT\YouCombat\YouCombat\YouCombat\bin\x86\Debug\Content\TubeCombat - Miisas.xnb</Output> 29 <Time>2015-07-21T10:56:24.1850681+03:00</Time> 30 </Item> 4 31 <BuildSuccessful>true</BuildSuccessful> 5 32 <Settings> … … 15 42 <Assemblies> 16 43 <Assembly> 44 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 45 <Value>2015-02-09T20:18:44+02: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.XImporter.dll</Key> 49 <Value>2010-08-23T12:41:18+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.VideoImporters.dll</Key> 53 <Value>2010-08-23T12:41:18+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.TextureImporter.dll</Key> 57 <Value>2010-08-23T12:41:18+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.FBXImporter.dll</Key> 61 <Value>2010-08-23T12:41:18+03:00</Value> 62 </Assembly> 63 <Assembly> 64 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 65 <Value>2010-08-23T12:41:18+03:00</Value> 66 </Assembly> 67 <Assembly> 68 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 69 <Value>2010-08-23T12:41:18+03:00</Value> 70 </Assembly> 71 <Assembly> 72 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 73 <Value>2015-02-17T22:27:18+02:00</Value> 74 </Assembly> 75 <Assembly> 17 76 <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> 18 77 <Value>2015-07-07T20:25:22.0280455+03:00</Value>
Note: See TracChangeset
for help on using the changeset viewer.