- Timestamp:
- 2014-07-01 11:04:34 (9 years ago)
- Location:
- 2014/27/OttoR/GrazyGunFighters
- Files:
-
- 11 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters.cs
r5189 r5211 7 7 using Jypeli.Widgets; 8 8 9 9 10 public class GrazyGunFighters : PhysicsGame 10 11 { 12 13 private Animation soltunkävely; 14 15 16 11 17 const double nopeus = 152; 12 const double hyppyNopeus = 5 30;18 const double hyppyNopeus = 588; 13 19 const int RUUDUN_KOKO = 40; 14 20 … … 24 30 public override void Begin() 25 31 { 32 soltunkävely = LoadAnimation("Solttu1 animaatio"); 33 26 34 Gravity = new Vector(0, -1000); 27 35 … … 30 38 31 39 32 Camera.ZoomFactor = 1.2;40 Camera.ZoomFactor = -30.0; 33 41 Camera.StayInLevel = true; 34 42 } … … 51 59 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys,korkeus); 52 60 taso.Position = paikka; 53 taso.Size = new Vector( 50, 50);61 taso.Size = new Vector(40, 40); 54 62 taso.Color = Color.Crimson; 55 63 Add(taso); … … 69 77 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys, korkeus); 70 78 taso.Position = paikka; 71 taso.Size = new Vector(50, 2 0);72 taso.Color = Color. Aqua;79 taso.Size = new Vector(50, 23); 80 taso.Color = Color.Gray; 73 81 Add(taso); 74 82 } … … 80 88 pelaaja1.Mass = 4.0; 81 89 pelaaja1.Image = pelaajankuva; 90 pelaaja1.Size = new Vector(40, 40); 91 pelaaja1.Animation = new Animation(soltunkävely); 92 93 82 94 83 95 Add(pelaaja1); … … 128 140 { 129 141 hahmo.Walk(nopeus); 142 pelaaja1.Animation.Start(); 143 pelaaja1.Animation.FPS = (10); 144 145 130 146 } 131 147 -
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters.csproj.Debug.cachefile
r5189 r5211 2 2 Content\norsu.xnb 3 3 Content\tahti.xnb 4 Content\kentta1.xnb5 4 Content\Solttu.xnb 6 5 Content\Solttu2.xnb 6 Content\kentta1.xnb 7 Content\Solttu1 animaatio.xnb 8 Content\Solttu1 animaatio\1_0.xnb 9 Content\Solttu1 animaatio\2_0.xnb 10 Content\Solttu1 animaatio\3_0.xnb -
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters/obj/x86/Debug/ContentPipeline-{DD67BAE4-E735-4BE9-A36E-568B0F9EC985}.xml
r5189 r5211 9 9 <Options>None</Options> 10 10 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\maali.xnb</Output> 11 <Time>2014-0 6-30T13:03:32.5460093+03:00</Time>11 <Time>2014-07-01T09:47:16.5914559+03:00</Time> 12 12 </Item> 13 13 <Item> … … 18 18 <Options>None</Options> 19 19 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\norsu.xnb</Output> 20 <Time>2014-0 6-30T13:03:32.5470094+03:00</Time>20 <Time>2014-07-01T09:47:16.6382559+03:00</Time> 21 21 </Item> 22 22 <Item> … … 27 27 <Options>None</Options> 28 28 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\tahti.xnb</Output> 29 <Time>2014-06-30T13:03:32.5480095+03:00</Time> 29 <Time>2014-07-01T09:47:16.6850559+03:00</Time> 30 </Item> 31 <Item> 32 <Source>Solttu.png</Source> 33 <Name>Solttu</Name> 34 <Importer>TextureImporter</Importer> 35 <Processor>TextureProcessor</Processor> 36 <Options>None</Options> 37 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu.xnb</Output> 38 <Time>2014-07-01T09:47:16.6850559+03:00</Time> 39 </Item> 40 <Item> 41 <Source>Solttu2.png</Source> 42 <Name>Solttu2</Name> 43 <Importer>TextureImporter</Importer> 44 <Processor>TextureProcessor</Processor> 45 <Options>None</Options> 46 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu2.xnb</Output> 47 <Time>2014-07-01T09:47:16.5758559+03:00</Time> 30 48 </Item> 31 49 <Item> … … 36 54 <Options>None</Options> 37 55 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2014-0 6-30T15:02:18.0975527+03:00</Time>56 <Time>2014-07-01T10:11:35.463336+03:00</Time> 39 57 </Item> 40 58 <Item> 41 <Source>Solttu.png</Source> 42 <Name>Solttu</Name> 59 <Source>Solttu1 animaatio.anim</Source> 60 <Name>Solttu1 animaatio</Name> 61 <Importer>AnimationImporter</Importer> 62 <Processor>AnimationContentProcessor</Processor> 63 <Options>None</Options> 64 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio.xnb</Output> 65 <Time>2014-07-01T10:43:03.7333825+03:00</Time> 66 <Request>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\1_0.xnb</Request> 67 <Request>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\2_0.xnb</Request> 68 <Request>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\3_0.xnb</Request> 69 </Item> 70 <Item> 71 <Source>Solttu1 animaatio\1.png</Source> 43 72 <Importer>TextureImporter</Importer> 44 73 <Processor>TextureProcessor</Processor> 45 74 <Options>None</Options> 46 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu .xnb</Output>47 <Time>2014-0 6-30T13:44:37.4746116+03:00</Time>75 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\1_0.xnb</Output> 76 <Time>2014-07-01T10:20:20.2473233+03:00</Time> 48 77 </Item> 49 78 <Item> 50 <Source>Solttu2.png</Source> 51 <Name>Solttu2</Name> 79 <Source>Solttu1 animaatio\2.png</Source> 52 80 <Importer>TextureImporter</Importer> 53 81 <Processor>TextureProcessor</Processor> 54 82 <Options>None</Options> 55 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu2.xnb</Output> 56 <Time>2014-06-30T14:41:38.7575527+03:00</Time> 83 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\2_0.xnb</Output> 84 <Time>2014-07-01T10:38:36.1729998+03:00</Time> 85 </Item> 86 <Item> 87 <Source>Solttu1 animaatio\3.png</Source> 88 <Importer>TextureImporter</Importer> 89 <Processor>TextureProcessor</Processor> 90 <Options>None</Options> 91 <Output>C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\3_0.xnb</Output> 92 <Time>2014-07-01T10:24:14.9742535+03:00</Time> 57 93 </Item> 58 94 <BuildSuccessful>true</BuildSuccessful> … … 103 139 <Assembly> 104 140 <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> 105 <Value>2014-04-22T1 7:03:24.3525294+03:00</Value>141 <Value>2014-04-22T15:35:21.4590502+03:00</Value> 106 142 </Assembly> 107 143 </Assemblies> -
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters/obj/x86/Debug/GrazyGunFighters.csproj.FileListAbsolute.txt
r5189 r5211 13 13 C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu.xnb 14 14 C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu2.xnb 15 C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio.xnb 16 C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\1_0.xnb 17 C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\2_0.xnb 18 C:\MyTemp\OttoR\GrazyGunFighters\GrazyGunFighters\GrazyGunFighters\bin\x86\Debug\Content\Solttu1 animaatio\3_0.xnb -
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFighters/obj/x86/Debug/cachefile-{DD67BAE4-E735-4BE9-A36E-568B0F9EC985}-targetpath.txt
r5189 r5211 2 2 Content\norsu.xnb 3 3 Content\tahti.xnb 4 Content\kentta1.xnb5 4 Content\Solttu.xnb 6 5 Content\Solttu2.xnb 6 Content\kentta1.xnb 7 Content\Solttu1 animaatio.xnb 8 Content\Solttu1 animaatio\1_0.xnb 9 Content\Solttu1 animaatio\2_0.xnb 10 Content\Solttu1 animaatio\3_0.xnb -
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFightersContent/GrazyGunFightersContent.contentproj
r5189 r5211 81 81 </Compile> 82 82 </ItemGroup> 83 <ItemGroup> 84 <Compile Include="Solttu1 animaatio.anim"> 85 <Name>Solttu1 animaatio</Name> 86 <Importer>AnimationImporter</Importer> 87 <Processor>AnimationContentProcessor</Processor> 88 </Compile> 89 </ItemGroup> 83 90 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 84 91 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2014/27/OttoR/GrazyGunFighters/GrazyGunFighters/GrazyGunFightersContent/kentta1.txt
r5189 r5211 2 2 3 3 4 5 B R 6 ############################## 4 5 6 # 7 ##### ## #### # 8 # ## # 9 #- # ##### 10 ## # ####--- ---###### 11 # ## 12 ## #### --## ## 13 ## B R # # 14 ############---- ############ 15 # #
Note: See TracChangeset
for help on using the changeset viewer.