Changeset 758
- Timestamp:
- 2010-06-11 13:17:13 (13 years ago)
- Location:
- 2010/23/vipaerpo/Chavos world
- Files:
-
- 2 added
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
2010/23/vipaerpo/Chavos world/Chavos world.csproj
r692 r758 87 87 </ItemGroup> 88 88 <ItemGroup> 89 <Content Include="chavos world kenttä 2.txt"> 90 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 91 </Content> 92 <Content Include="chavos world kenttä 3.txt"> 93 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 94 </Content> 89 95 <Content Include="Game.ico" /> 90 96 <Content Include="GameThumbnail.png" /> -
2010/23/vipaerpo/Chavos world/Content/Content.contentproj
r667 r758 68 68 </Compile> 69 69 </ItemGroup> 70 <ItemGroup> 71 <Compile Include="assassin omena.png"> 72 <Name>assassin omena</Name> 73 <Importer>TextureImporter</Importer> 74 <Processor>TextureProcessor</Processor> 75 </Compile> 76 </ItemGroup> 70 77 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 71 78 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2010/23/vipaerpo/Chavos world/Peli.cs
r692 r758 8 8 namespace Chavos_world 9 9 { 10 /// <summary> 11 /// Tekijä: Vili P. 12 /// Päivämäärä kun aloitin pelin tekemisen, ja kun sain valmiiksi: 07.06 - 11.06 13 /// Pelin juoni:Chavon vanhemmat ovat vankilassa, koska heillä ei ollut rahaa maksaa veroja, 14 /// Joten Chavo alkaa etsiä rahoja omengradin maasta, vapauttaakseen vanhempansa vankilasta 15 /// </summary> 10 16 class Tasohyppely : PhysicsGame 11 17 { … … 85 91 merkit['o'] = LisaaRaha; 86 92 merkit['v'] = lisaaVartija; 93 merkit['a'] = lisaaassassin; 87 94 //merkit['p'] = luopiikit; 88 95 … … 92 99 } 93 100 else if (kenttaNro == 2) { 94 char[,] ruudut = Tiles.ReadFromFile(" kenttä 1.txt");101 char[,] ruudut = Tiles.ReadFromFile("chavos world kenttä 2.txt"); 95 102 Tiles.Insert(this, ruudut, merkit, ruudunLeveys, ruudunKorkeus); 96 103 } 97 98 99 100 101 102 103 //lisaaMaali(); 104 //lisaaPelaajat(); 105 106 } 107 104 105 else if (kenttaNro == 3) 106 { 107 char[,] ruudut = Tiles.ReadFromFile("chavos world kenttä 3.txt"); 108 Tiles.Insert(this, ruudut, merkit, ruudunLeveys, ruudunKorkeus); 109 } 110 } 111 112 PhysicsObject lisaaassassin () 113 { 114 115 PhysicsObject assassin = PhysicsObject.CreateStaticObject(150, 90); 116 assassin.Image = LoadImage ("assassin omena"); 117 AddCollisionHandler (assassin, osuiVartijaan); 118 119 return assassin; 120 121 } 122 123 108 124 PhysicsObject LuoPalikka() 109 125 { … … 153 169 void AloitaTasoAlusta() 154 170 { 171 kenttaNro--; 155 172 seuraavaKentta(); 156 173 } -
2010/23/vipaerpo/Chavos world/kenttä 1.txt
r692 r758 7 7 8 8 xxxxxxxxxxxxxxxx o 9 x x xxxx xxxx10 x xx x x x x o11 x x 12 x x xxxxxxx 13 1 v o v v v9 x x xxx xxxx 10 x x x x x x o 11 x xxxx xxo v x x 12 x x xxxxxxx o o x x x 13 1 v o v a a 14 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx x x x x x x xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxx 15 15 x x x x x x
Note: See TracChangeset
for help on using the changeset viewer.