- Timestamp:
- 2010-07-07 14:54:07 (13 years ago)
- Location:
- 2010/27/attakorh
- Files:
-
- 7 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/27/attakorh/Pallerot/Content/Content.contentproj
r1130 r1148 1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> 2 2 <PropertyGroup> 3 3 <ProjectGuid>8c5719ca-7c48-43df-8d5a-1cdf5eb3ba70</ProjectGuid> … … 18 18 <XnaPlatform>Windows</XnaPlatform> 19 19 </PropertyGroup> 20 <ItemGroup>20 <ItemGroup> 21 21 <Compile Include="norsu.png"> 22 22 <Name>norsu</Name> … … 47 47 <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.XImporter, Version=3.1.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d" /> 48 48 </ItemGroup> 49 <ItemGroup> 50 <Compile Include="pallo1.png"> 51 <Name>pallo1</Name> 52 <Importer>TextureImporter</Importer> 53 <Processor>TextureProcessor</Processor> 54 </Compile> 55 </ItemGroup> 56 <ItemGroup> 57 <Compile Include="piikki.png"> 58 <Name>piikki</Name> 59 <Importer>TextureImporter</Importer> 60 <Processor>TextureProcessor</Processor> 61 </Compile> 62 </ItemGroup> 63 <ItemGroup> 64 <Compile Include="palikka1.png"> 65 <Name>palikka1</Name> 66 <Importer>TextureImporter</Importer> 67 <Processor>TextureProcessor</Processor> 68 </Compile> 69 </ItemGroup> 70 <ItemGroup> 71 <Compile Include="palikka2.png"> 72 <Name>palikka2</Name> 73 <Importer>TextureImporter</Importer> 74 <Processor>TextureProcessor</Processor> 75 </Compile> 76 </ItemGroup> 49 77 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 50 78 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2010/27/attakorh/Pallerot/Pallerot.csproj
r1130 r1148 90 90 <Content Include="GameThumbnail.png" /> 91 91 <Content Include="kentta1.txt"> 92 <CopyToOutputDirectory> Always</CopyToOutputDirectory>92 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 93 93 </Content> 94 94 </ItemGroup> -
2010/27/attakorh/Pallerot/Peli.cs
r1130 r1148 36 36 37 37 seuraavaKentta(); 38 MessageDisplay.Add(" Etsi iso tähti!");38 MessageDisplay.Add("Hypi tornin päälle!"); 39 39 } 40 40 … … 69 69 ruudut['*'] = LuoTahti; 70 70 ruudut['1'] = lisaaPelaaja; 71 ruudut['s'] = Sivu; 72 ruudut['p'] = Piikki; 71 73 72 74 ruudut.Insert(ruudunLeveys, ruudunKorkeus); … … 76 78 { 77 79 PhysicsObject palikka = PhysicsObject.CreateStaticObject(ruudunLeveys, ruudunKorkeus); 80 palikka.Image = LoadImage("palikka1"); 78 81 return palikka; 79 82 } … … 98 101 pelaaja1 = new PlatformCharacter(40, 40); 99 102 pelaaja1.Mass = 4.0; 100 //pelaaja1.Image = LoadImage("norsu");103 pelaaja1.Image = LoadImage("pallo1"); 101 104 pelaaja1.X = 0; 102 105 pelaaja1.Y = Level.Bottom + 120; … … 158 161 } 159 162 } 163 164 165 PhysicsObject Sivu() 166 { 167 PhysicsObject sivu = PhysicsObject.CreateStaticObject(ruudunLeveys, ruudunKorkeus); 168 sivu.Image = LoadImage("palikka2"); 169 return sivu; 170 } 171 172 PhysicsObject Piikki() 173 { 174 175 } 176 160 177 } -
2010/27/attakorh/Pallerot/kentta1.txt
r1130 r1148 1 =================================== 2 = = 3 = = 4 = = 5 = = 6 = = 7 = = 8 = = 9 = = 10 = = 11 = = 12 = = 13 = = 14 = = 15 = = 16 = = 17 = = 18 = = 19 =****1****************************= 20 =================================== 1 s=================================s 2 s s 3 s s 4 s s 5 s s 6 s s 7 s s 8 s s 9 s s 10 s s 11 s s 12 s s 13 s s 14 s s 15 s s 16 s s 17 s pppppppppppppppppps 18 s============ ==================s 19 s 1 s 20 s=================================s
Note: See TracChangeset
for help on using the changeset viewer.