Changeset 3233
- Timestamp:
- 2012-06-26 15:04:26 (9 years ago)
- Location:
- 2012/26/EliasY/test1
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
2012/26/EliasY/test1/test1/test1/obj/x86/Debug/ContentPipeline-{BFB255A8-81A7-4A34-AF08-16AEFBF6C543}.xml
r3172 r3233 2 2 <XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 3 3 <Asset Type="Pipeline:BuildItemCollection"> 4 <Item> 5 <Source>pimeys.png</Source> 6 <Name>pimeys</Name> 7 <Importer>TextureImporter</Importer> 8 <Processor>TextureProcessor</Processor> 9 <Options>None</Options> 10 <Output>C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\pimeys.xnb</Output> 11 <Time>2012-06-26T14:52:20.9459765+03:00</Time> 12 </Item> 4 13 <BuildSuccessful>true</BuildSuccessful> 5 14 <Settings> … … 16 25 <Assemblies> 17 26 <Assembly> 27 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 28 <Value>2012-06-25T09:04:16+03:00</Value> 29 </Assembly> 30 <Assembly> 31 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.XImporter.dll</Key> 32 <Value>2011-09-01T17:22:30+03:00</Value> 33 </Assembly> 34 <Assembly> 35 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.VideoImporters.dll</Key> 36 <Value>2011-09-01T17:22:30+03:00</Value> 37 </Assembly> 38 <Assembly> 39 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.TextureImporter.dll</Key> 40 <Value>2011-09-01T17:22:30+03:00</Value> 41 </Assembly> 42 <Assembly> 43 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.FBXImporter.dll</Key> 44 <Value>2011-09-01T17:22:30+03:00</Value> 45 </Assembly> 46 <Assembly> 47 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 48 <Value>2011-09-01T17:22:30+03:00</Value> 49 </Assembly> 50 <Assembly> 51 <Key>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 52 <Value>2011-09-01T17:22:30+03:00</Value> 53 </Assembly> 54 <Assembly> 18 55 <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 56 <Value>2012-03-16T14:35:21.2332043+02:00</Value> -
2012/26/EliasY/test1/test1/test1/obj/x86/Debug/test1.csproj.FileListAbsolute.txt
r3172 r3233 8 8 C:\MyTemp\EliasY\test1\test1\test1\obj\x86\Debug\test1.exe 9 9 C:\MyTemp\EliasY\test1\test1\test1\obj\x86\Debug\test1.pdb 10 C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\pimeys.xnb -
2012/26/EliasY/test1/test1/test1/test1.cs
r3212 r3233 12 12 const int ruudunKorkeus = 50; 13 13 PhysicsObject pelaaja; 14 AssaultRifle kivaari; 15 GameObject pimeys; 14 16 15 17 public override void Begin() … … 20 22 AsetaOhjaimet(); 21 23 22 Camera.ZoomToLevel(); 24 Camera.Follow(pelaaja); 25 Camera.ZoomFactor = 1.7; 23 26 /*todo: 27 * PIMEYS!!! 24 28 * aseet 25 29 * vihut 26 * kameran zoomaus pelaajaan27 30 * pistecountteri 28 31 * tekstuurit … … 34 37 void AsetaOhjaimet() 35 38 { 36 Keyboard.Listen(Key.W, ButtonState.Down, Liiku, null, 0.0, 20.0);37 Keyboard.Listen(Key.A, ButtonState.Down, Liiku, null, - 20.0, 0.0);38 Keyboard.Listen(Key.S, ButtonState.Down, Liiku, null, 0.0, - 20.0);39 Keyboard.Listen(Key.D, ButtonState.Down, Liiku, null, 20.0, 0.0);39 Keyboard.Listen(Key.W, ButtonState.Down, Liiku, null, 0.0, 30.0); 40 Keyboard.Listen(Key.A, ButtonState.Down, Liiku, null, -30.0, 0.0); 41 Keyboard.Listen(Key.S, ButtonState.Down, Liiku, null, 0.0, -30.0); 42 Keyboard.Listen(Key.D, ButtonState.Down, Liiku, null, 30.0, 0.0); 40 43 41 44 Keyboard.Listen(Key.Left, ButtonState.Down, Kaanny, null, 2.0); … … 50 53 Keyboard.Listen(Key.Right, ButtonState.Released, LopetaKaantyminen, null); 51 54 55 Keyboard.Listen(Key.Up, ButtonState.Down, Ammu, null); 56 } 57 58 void Ammu() 59 { 60 PhysicsObject ammus = kivaari.Shoot(); 61 62 if (ammus != null) 63 { 64 ammus.Size /= 3; 65 } 66 //reload-animaatio tähän? 52 67 } 53 68 … … 80 95 pelaaja.X = 550; 81 96 pelaaja.Y = -550; 97 pelaaja.Mass = 10; 82 98 99 kivaari = new AssaultRifle(80, 20); 100 kivaari.TimeBetweenUse = TimeSpan.FromMilliseconds(700); 83 101 102 pelaaja.Add(kivaari); 103 Add(pelaaja); 84 104 85 Add(pelaaja); 105 Pimenna(); 106 } 107 108 void Pimenna() 109 { 110 pimeys = new GameObject(new Animation(LoadImage("pimeys"))); 111 // Viimeistele 86 112 } 87 113 -
2012/26/EliasY/test1/test1/test1/test1.csproj.Debug.cachefile
r3172 r3233 1 Content\pimeys.xnb 1 2 kentta.txt -
2012/26/EliasY/test1/test1/test1Content/test1Content.contentproj
r3172 r3233 44 44 <Reference Include="TextFileContentExtension" /> 45 45 </ItemGroup> 46 <ItemGroup> 47 <Compile Include="pimeys.png"> 48 <Name>pimeys</Name> 49 <Importer>TextureImporter</Importer> 50 <Processor>TextureProcessor</Processor> 51 </Compile> 52 </ItemGroup> 46 53 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 47 54 <!-- 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.