- Timestamp:
- 2015-07-21 11:26:13 (8 years ago)
- Location:
- 2015/30/ArttuH/TasoHyppely
- Files:
-
- 4 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/TasoHyppely.cs
r6819 r6834 18 18 Image pelaajanKuva1 = LoadImage("ukko"); 19 19 Image pelaajanKuva2 = LoadImage("toinenukko"); 20 Image tahtiKuva = LoadImage(" tahti");20 Image tahtiKuva = LoadImage("suklaa"); 21 21 private Animation pelihahmo1; 22 22 private Animation pelihahmo2; … … 26 26 { 27 27 Gravity = new Vector(0, -1000); 28 28 IntMeter pisteLaskuri; 29 //LuoPistelaskuri(); 29 30 Paavalikko(); 30 31 //LuoKentta(); … … 85 86 pelaaja1.AnimWalk = pelihahmo1; 86 87 AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 87 ControllerOne.Listen(Button.A, ButtonState.Down, Hyppaa, "pelaaja hypää", pelaaja1, 150.0);88 ControllerOne.ListenAnalog(AnalogControl.LeftStick, 0.1, Liikuta, "Pelaaja liikkuu vasemmalle/oikealle", pelaaja1); 88 ControllerOne.Listen(Button.A, ButtonState.Down, Hyppaa, "pelaaja hypää", pelaaja1, 300.0); 89 ControllerOne.ListenAnalog(AnalogControl.LeftStick, 0.1, Liikuta, "Pelaaja liikkuu vasemmalle/oikealle", pelaaja1); 89 90 Add(pelaaja1); 90 91 } … … 102 103 { 103 104 maaliAani.Play(); 104 MessageDisplay.Add(" Keräsit tähden!");105 MessageDisplay.Add("Sait Suklaata!"); 105 106 tahti.Destroy(); 106 107 } … … 109 110 110 111 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 112 ControllerOne.Listen(Button.Start, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 113 ControllerTwo.Listen(Button.Start, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 111 114 } 112 115 … … 150 153 Add(alkuvalikko); 151 154 } 155 //void LuoPistelaskuri() 156 //{ 157 // pisteLaskuri = new IntMeter(0); 158 159 // Label pisteNaytto = new Label(); 160 // pisteNaytto.X = Screen.Left + 100; 161 // pisteNaytto.Y = Screen.Top - 100; 162 // pisteNaytto.TextColor = Color.Black; 163 // pisteNaytto.Color = Color.White; 164 // pisteNaytto.Title = "Suklaa"; 165 166 // pisteNaytto.BindTo(pisteLaskuri); 167 // Add(pisteNaytto); 168 //} 169 152 170 } -
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/TasoHyppely.csproj.Debug.cachefile
r6819 r6834 2 2 Content\norsu.xnb 3 3 Content\tahti.xnb 4 Content\kentta1.xnb5 Content\toinenukkoanimaatio.xnb6 Content\ukkoanimaatio.xnb7 4 Content\toinenukkoanimaatio\toinenukkoanimaatio1.xnb 8 5 Content\toinenukkoanimaatio\toinenukkoanimaatio2.xnb … … 11 8 Content\toinenukko.xnb 12 9 Content\ukko.xnb 10 Content\kentta1.xnb 13 11 Content\Kentta2.xnb 12 Content\toinenukkoanimaatio.xnb 13 Content\ukkoanimaatio.xnb 14 Content\suklaa.xnb 15 Content\kentta3.xnb -
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/obj/x86/Debug/TasoHyppely.csproj.FileListAbsolute.txt
r6819 r6834 20 20 C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukko.xnb 21 21 C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\Kentta2.xnb 22 C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\suklaa.xnb 23 C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\kentta3.xnb -
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/obj/x86/Debug/cachefile-{6FC3E379-BCB4-46AD-88D8-15B242DAFE49}-targetpath.txt
r6819 r6834 2 2 Content\norsu.xnb 3 3 Content\tahti.xnb 4 Content\kentta1.xnb5 Content\toinenukkoanimaatio.xnb6 Content\ukkoanimaatio.xnb7 4 Content\toinenukkoanimaatio\toinenukkoanimaatio1.xnb 8 5 Content\toinenukkoanimaatio\toinenukkoanimaatio2.xnb … … 11 8 Content\toinenukko.xnb 12 9 Content\ukko.xnb 10 Content\kentta1.xnb 13 11 Content\Kentta2.xnb 12 Content\toinenukkoanimaatio.xnb 13 Content\ukkoanimaatio.xnb 14 Content\suklaa.xnb 15 Content\kentta3.xnb -
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppelyContent/Kentta2.txt
r6819 r6834 12 12 13 13 * 14 ########## 15 ## 16 * ## 17 ## 18 Z N 19 ######################### ############ 14 ########## 15 ## 16 * ## 17 ## 18 Z N 19 ######################### ############### 20 ### 21 ### 20 22 21 23 … … 49 51 50 52 51 52 -
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppelyContent/TasoHyppelyContent.contentproj
r6819 r6834 126 126 </Compile> 127 127 </ItemGroup> 128 <ItemGroup> 129 <Compile Include="suklaa.png"> 130 <Name>suklaa</Name> 131 <Importer>TextureImporter</Importer> 132 <Processor>TextureProcessor</Processor> 133 </Compile> 134 </ItemGroup> 135 <ItemGroup> 136 <Compile Include="kentta3.txt"> 137 <Name>kentta3</Name> 138 <Importer>TextFileImporter</Importer> 139 <Processor>TextFileContentProcessor</Processor> 140 </Compile> 141 </ItemGroup> 128 142 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 129 143 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppelyContent/obj/x86/Debug/ContentPipeline.xml
r6819 r6834 9 9 <Options>None</Options> 10 10 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\maali.xnb</Output> 11 <Time>2015-07-2 0T11:45:45.3465342+03:00</Time>11 <Time>2015-07-21T09:51:21.0660161+03:00</Time> 12 12 </Item> 13 13 <Item> … … 18 18 <Options>None</Options> 19 19 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\norsu.xnb</Output> 20 <Time>2015-07-2 0T11:45:45.3475342+03:00</Time>20 <Time>2015-07-21T09:51:21.1128161+03:00</Time> 21 21 </Item> 22 22 <Item> … … 27 27 <Options>None</Options> 28 28 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\tahti.xnb</Output> 29 <Time>2015-07-20T11:45:45.3495342+03:00</Time> 29 <Time>2015-07-21T09:51:21.2376161+03:00</Time> 30 </Item> 31 <Item> 32 <Source>toinenukkoanimaatio\toinenukkoanimaatio1.png</Source> 33 <Name>toinenukkoanimaatio\toinenukkoanimaatio1</Name> 34 <Importer>TextureImporter</Importer> 35 <Processor>TextureProcessor</Processor> 36 <Options>None</Options> 37 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukkoanimaatio\toinenukkoanimaatio1.xnb</Output> 38 <Time>2015-07-21T09:51:21.1284161+03:00</Time> 39 </Item> 40 <Item> 41 <Source>toinenukkoanimaatio\toinenukkoanimaatio2.png</Source> 42 <Name>toinenukkoanimaatio\toinenukkoanimaatio2</Name> 43 <Importer>TextureImporter</Importer> 44 <Processor>TextureProcessor</Processor> 45 <Options>None</Options> 46 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukkoanimaatio\toinenukkoanimaatio2.xnb</Output> 47 <Time>2015-07-21T09:51:21.1284161+03:00</Time> 48 </Item> 49 <Item> 50 <Source>ukkoanimaatio\ukkoanimaatio1.png</Source> 51 <Name>ukkoanimaatio\ukkoanimaatio1</Name> 52 <Importer>TextureImporter</Importer> 53 <Processor>TextureProcessor</Processor> 54 <Options>None</Options> 55 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio\ukkoanimaatio1.xnb</Output> 56 <Time>2015-07-21T09:51:21.2376161+03:00</Time> 57 </Item> 58 <Item> 59 <Source>ukkoanimaatio\ukkoanimaatio2.png</Source> 60 <Name>ukkoanimaatio\ukkoanimaatio2</Name> 61 <Importer>TextureImporter</Importer> 62 <Processor>TextureProcessor</Processor> 63 <Options>None</Options> 64 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio\ukkoanimaatio2.xnb</Output> 65 <Time>2015-07-21T09:51:21.2532161+03:00</Time> 66 </Item> 67 <Item> 68 <Source>toinenukko.png</Source> 69 <Name>toinenukko</Name> 70 <Importer>TextureImporter</Importer> 71 <Processor>TextureProcessor</Processor> 72 <Options>None</Options> 73 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukko.xnb</Output> 74 <Time>2015-07-21T09:51:21.1128161+03:00</Time> 75 </Item> 76 <Item> 77 <Source>ukko.png</Source> 78 <Name>ukko</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 <Options>None</Options> 82 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukko.xnb</Output> 83 <Time>2015-07-21T09:51:21.2376161+03:00</Time> 30 84 </Item> 31 85 <Item> … … 36 90 <Options>None</Options> 37 91 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2015-07-20T14:45:22.4059763+03:00</Time> 92 <Time>2015-07-21T09:51:21.0660161+03:00</Time> 93 </Item> 94 <Item> 95 <Source>Kentta2.txt</Source> 96 <Name>Kentta2</Name> 97 <Importer>TextFileImporter</Importer> 98 <Processor>TextFileContentProcessor</Processor> 99 <Options>None</Options> 100 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\Kentta2.xnb</Output> 101 <Time>2015-07-21T10:27:00.0048358+03:00</Time> 39 102 </Item> 40 103 <Item> … … 45 108 <Options>None</Options> 46 109 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukkoanimaatio.xnb</Output> 47 <Time>2015-07-2 0T14:32:31.8033763+03:00</Time>110 <Time>2015-07-21T09:51:21.2376161+03:00</Time> 48 111 <Request>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukkoanimaatio\toinenukkoanimaatio1.xnb</Request> 49 112 <Request>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukkoanimaatio\toinenukkoanimaatio2.xnb</Request> … … 56 119 <Options>None</Options> 57 120 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio.xnb</Output> 58 <Time>2015-07-2 0T14:32:37.8503763+03:00</Time>121 <Time>2015-07-21T09:51:21.0660161+03:00</Time> 59 122 <Request>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio\ukkoanimaatio1.xnb</Request> 60 123 <Request>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio\ukkoanimaatio2.xnb</Request> 61 124 </Item> 62 125 <Item> 63 <Source> toinenukkoanimaatio\toinenukkoanimaatio1.png</Source>64 <Name> toinenukkoanimaatio\toinenukkoanimaatio1</Name>126 <Source>suklaa.png</Source> 127 <Name>suklaa</Name> 65 128 <Importer>TextureImporter</Importer> 66 129 <Processor>TextureProcessor</Processor> 67 130 <Options>None</Options> 68 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ toinenukkoanimaatio\toinenukkoanimaatio1.xnb</Output>69 <Time>2015-07-2 0T14:37:36.8869763+03:00</Time>131 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\suklaa.xnb</Output> 132 <Time>2015-07-21T11:02:12.3691527+03:00</Time> 70 133 </Item> 71 134 <Item> 72 <Source>toinenukkoanimaatio\toinenukkoanimaatio2.png</Source> 73 <Name>toinenukkoanimaatio\toinenukkoanimaatio2</Name> 74 <Importer>TextureImporter</Importer> 75 <Processor>TextureProcessor</Processor> 76 <Options>None</Options> 77 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukkoanimaatio\toinenukkoanimaatio2.xnb</Output> 78 <Time>2015-07-20T14:37:06.8699763+03:00</Time> 79 </Item> 80 <Item> 81 <Source>ukkoanimaatio\ukkoanimaatio1.png</Source> 82 <Name>ukkoanimaatio\ukkoanimaatio1</Name> 83 <Importer>TextureImporter</Importer> 84 <Processor>TextureProcessor</Processor> 85 <Options>None</Options> 86 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio\ukkoanimaatio1.xnb</Output> 87 <Time>2015-07-20T14:34:19.4489763+03:00</Time> 88 </Item> 89 <Item> 90 <Source>ukkoanimaatio\ukkoanimaatio2.png</Source> 91 <Name>ukkoanimaatio\ukkoanimaatio2</Name> 92 <Importer>TextureImporter</Importer> 93 <Processor>TextureProcessor</Processor> 94 <Options>None</Options> 95 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukkoanimaatio\ukkoanimaatio2.xnb</Output> 96 <Time>2015-07-20T14:34:19.4499763+03:00</Time> 97 </Item> 98 <Item> 99 <Source>toinenukko.png</Source> 100 <Name>toinenukko</Name> 101 <Importer>TextureImporter</Importer> 102 <Processor>TextureProcessor</Processor> 103 <Options>None</Options> 104 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\toinenukko.xnb</Output> 105 <Time>2015-07-20T14:38:56.5289763+03:00</Time> 106 </Item> 107 <Item> 108 <Source>ukko.png</Source> 109 <Name>ukko</Name> 110 <Importer>TextureImporter</Importer> 111 <Processor>TextureProcessor</Processor> 112 <Options>None</Options> 113 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ukko.xnb</Output> 114 <Time>2015-07-20T14:41:28.8829763+03:00</Time> 115 </Item> 116 <Item> 117 <Source>Kentta2.txt</Source> 118 <Name>Kentta2</Name> 135 <Source>kentta3.txt</Source> 136 <Name>kentta3</Name> 119 137 <Importer>TextFileImporter</Importer> 120 138 <Processor>TextFileContentProcessor</Processor> 121 139 <Options>None</Options> 122 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\ Kentta2.xnb</Output>123 <Time>2015-07-2 0T14:51:29.5439763+03:00</Time>140 <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\kentta3.xnb</Output> 141 <Time>2015-07-21T11:09:53.2177527+03:00</Time> 124 142 </Item> 125 143 <BuildSuccessful>true</BuildSuccessful> … … 169 187 <Assembly> 170 188 <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> 171 <Value>2015-07-09T14: 36:28.5419346+03:00</Value>189 <Value>2015-07-09T14:29:14.6960909+03:00</Value> 172 190 </Assembly> 173 191 </Assemblies>
Note: See TracChangeset
for help on using the changeset viewer.