Changeset 6681
- Timestamp:
- 2015-07-01 14:52:05 (7 years ago)
- Location:
- 2015/27/TapaniS
- Files:
-
- 52 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/27/TapaniS/ProjectStar/ProjectStar/ProjectStar/ProjectStar.cs
r6660 r6681 9 9 public class ProjectStar : PhysicsGame 10 10 { 11 int kenttaNro = 1; 11 12 IntMeter pisteLaskuri; 12 13 … … 31 32 Reset(); 32 33 34 //SeuraavaKentta(); 33 35 34 36 } … … 80 82 Add(pisteNaytto); 81 83 pisteNaytto.Title = "Pisteet"; 84 pisteLaskuri.MaxValue = Paloja(); 85 pisteLaskuri.UpperLimit += SeuraavaKentta; 86 } 82 87 83 88 void SeuraavaKentta() 89 { 90 kenttaNro++; 91 Reset(); 84 92 } 85 93 … … 88 96 pisteLaskuri.Value++; 89 97 piste.Destroy(); 98 } 99 100 int Paloja() 101 { 102 return 23 - 3 * kenttaNro; 90 103 } 91 104 … … 129 142 AddCollisionHandler(ukko, palkki, CollisionHandler.DestroyObject); 130 143 131 for (int i = 0; i < 20; i++) 144 145 146 for (int i = 0; i < Paloja(); i++) 132 147 { 133 148 Vector kentanPiste = Level.GetRandomPosition(); … … 154 169 155 170 Level.Background.Image = taustaKuva; 171 156 172 //Camera.ZoomToLevel(); 157 173 Level.CreateBorders(1, 1, 2, 1.0, Color.Transparent); -
2015/27/TapaniS/ProjectStar/ProjectStar/ProjectStar/ProjectStar.csproj.Debug.cachefile
r6660 r6681 1 1 Content\Kentta.xnb 2 Content\monttu.xnb3 2 Content\Pemppe2.xnb 4 3 Content\pemppe3.xnb -
2015/27/TapaniS/ProjectStar/ProjectStar/ProjectStar/obj/x86/Debug/ContentPipeline-{F977AF6D-8086-4A71-9FEE-75BE75429D56}.xml
r6660 r6681 8 8 <Processor>TextureProcessor</Processor> 9 9 <Options>None</Options> 10 <Output>C:\Users\Kukkeli\Desktop\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\Kentta.xnb</Output> 11 <Time>0001-01-01T00:00:00</Time> 12 </Item> 13 <<<<<<< .mine 14 <Item> 15 <Source>monttu.jpg</Source> 16 <Name>monttu</Name> 17 <Importer>TextureImporter</Importer> 18 <Processor>TextureProcessor</Processor> 19 <Options>None</Options> 20 <Output>C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\monttu.xnb</Output> 21 <Time>2015-06-30T09:57:38.8415095+03:00</Time> 10 <Output>C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\Kentta.xnb</Output> 11 <Time>2015-06-30T09:54:01.4629095+03:00</Time> 22 12 </Item> 23 13 <Item> … … 85 75 </Item> 86 76 <BuildSuccessful>true</BuildSuccessful> 87 =======88 <BuildSuccessful>false</BuildSuccessful>89 >>>>>>> .r665890 77 <Settings> 91 78 <ContentProjectGUID>{F977AF6D-8086-4A71-9FEE-75BE75429D56}</ContentProjectGUID> … … 94 81 <BuildConfiguration>Debug</BuildConfiguration> 95 82 <CompressContent>false</CompressContent> 96 <RootDirectory>C:\ Users\Kukkeli\Desktop\TapaniS\ProjectStar\ProjectStar\ProjectStarContent\</RootDirectory>97 <LoggerRootDirectory>C:\ Users\Kukkeli\Desktop\TapaniS\ProjectStar\ProjectStar\ProjectStar\</LoggerRootDirectory>98 <IntermediateDirectory>C:\ Users\Kukkeli\Desktop\TapaniS\ProjectStar\ProjectStar\ProjectStar\obj\x86\Debug\</IntermediateDirectory>99 <OutputDirectory>C:\ Users\Kukkeli\Desktop\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\</OutputDirectory>83 <RootDirectory>C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStarContent\</RootDirectory> 84 <LoggerRootDirectory>C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\</LoggerRootDirectory> 85 <IntermediateDirectory>C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\obj\x86\Debug\</IntermediateDirectory> 86 <OutputDirectory>C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\</OutputDirectory> 100 87 </Settings> 101 88 <Assemblies> 102 89 <Assembly> 103 90 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 104 <Value>201 5-06-27T04:27:48+03:00</Value>91 <Value>2014-11-26T00:23:34+02:00</Value> 105 92 </Assembly> 106 93 <Assembly> … … 130 117 <Assembly> 131 118 <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\AnimationExtension.dll</Key> 132 <Value>201 5-06-27T04:27:48+03:00</Value>119 <Value>2014-11-26T00:23:36+02:00</Value> 133 120 </Assembly> 134 121 <Assembly> 135 <Key>C:\W INDOWS\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key>136 <Value>201 5-06-29T11:09:01.1175605+03:00</Value>122 <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> 123 <Value>2014-04-23T00:22:29.3372049+03:00</Value> 137 124 </Assembly> 138 125 </Assemblies> -
2015/27/TapaniS/ProjectStar/ProjectStar/ProjectStar/obj/x86/Debug/ProjectStar.csproj.FileListAbsolute.txt
r6660 r6681 16 16 C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\obj\x86\Debug\ProjectStar.pdb 17 17 C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\Kentta.xnb 18 C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\monttu.xnb19 18 C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\Pemppe2.xnb 20 19 C:\MyTemp\TapaniS\ProjectStar\ProjectStar\ProjectStar\bin\x86\Debug\Content\pemppe3.xnb -
2015/27/TapaniS/ProjectStar/ProjectStar/ProjectStar/obj/x86/Debug/cachefile-{F977AF6D-8086-4A71-9FEE-75BE75429D56}-targetpath.txt
r6660 r6681 1 1 Content\Kentta.xnb 2 Content\monttu.xnb3 2 Content\Pemppe2.xnb 4 3 Content\pemppe3.xnb
Note: See TracChangeset
for help on using the changeset viewer.