- Timestamp:
- 2014-06-13 11:22:59 (8 years ago)
- Location:
- 2014/24/JuhoJ
- Files:
-
- 5 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/ShotgunJoe.cs
r5023 r5027 22 22 23 23 int kenttanumero = 1; 24 PlatformCharacter pelaaja1 ;24 PlatformCharacter pelaaja1 = new PlatformCharacter(40 , 40 ); 25 25 PlasmaCannon pelaajan1Ase; 26 26 … … 30 30 31 31 Image pelaajanKuva = LoadImage("shutter"); 32 Image tahtiKuva = LoadImage(" tahti");32 Image tahtiKuva = LoadImage("kolikko"); 33 33 Image piikkikuva = LoadImage("Piikki"); 34 34 SoundEffect maaliAani = LoadSoundEffect("maali"); … … 44 44 Image kivikuva = LoadImage("kivi"); 45 45 Image maalikuva = LoadImage("Untitled"); 46 47 46 48 public override void Begin() 47 49 { 48 50 SmoothTextures = false; 49 51 SeuraavaKentta(); 50 51 52 53 } 52 } 53 54 54 55 55 void SeuraavaKentta() … … 78 78 Camera.Follow(pelaaja1); 79 79 Camera.ZoomFactor = 4.2; 80 81 80 82 Camera.StayInLevel = true; 81 83 … … 158 160 tahti.Position = paikka; 159 161 tahti.Image = tahtiKuva; 160 tahti.Tag = " tahti";162 tahti.Tag = "kolikko"; 161 163 Add(tahti); 162 164 } … … 164 166 void LisaaPelaaja(Vector paikka, double leveys, double korkeus) 165 167 { 166 pelaaja1 = new PlatformCharacter(leveys , korkeus );167 168 pelaaja1.Position = paikka; 168 169 pelaaja1.Mass = 4.0; … … 279 280 AddCollisionHandler(vihu, "piikki", CollisionHandler.DestroyObject); 280 281 Add(vihu); 282 281 283 FollowerBrain seuraajanAivot = new FollowerBrain(pelaaja1); 282 284 seuraajanAivot.DistanceFar = 100; -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/ShotgunJoe.csproj.Debug.cachefile
r5023 r5027 17 17 Content\kentta2.xnb 18 18 Content\Untitled.xnb 19 Content\kolikko.xnb -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/obj/x86/Debug/ContentPipeline-{CF60888C-4746-4871-9D32-E8426663FBA0}.xml
r5023 r5027 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2014-06-13T1 0:35:28.0054184+03:00</Time>38 <Time>2014-06-13T11:17:48.6024527+03:00</Time> 39 39 </Item> 40 40 <Item> … … 153 153 <Options>None</Options> 154 154 <Output>C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kentta2.xnb</Output> 155 <Time>2014-06-13T11: 09:19.1595135+03:00</Time>155 <Time>2014-06-13T11:17:48.6184543+03:00</Time> 156 156 </Item> 157 157 <Item> … … 163 163 <Output>C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\Untitled.xnb</Output> 164 164 <Time>2014-06-13T11:03:31.6377648+03:00</Time> 165 </Item> 166 <Item> 167 <Source>kolikko.png</Source> 168 <Name>kolikko</Name> 169 <Importer>TextureImporter</Importer> 170 <Processor>TextureProcessor</Processor> 171 <Options>None</Options> 172 <Output>C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kolikko.xnb</Output> 173 <Time>2014-06-13T11:17:31.5027429+03:00</Time> 165 174 </Item> 166 175 <BuildSuccessful>true</BuildSuccessful> -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/obj/x86/Debug/ShotgunJoe.csproj.FileListAbsolute.txt
r5023 r5027 25 25 C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kentta2.xnb 26 26 C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\Untitled.xnb 27 C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kolikko.xnb -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/obj/x86/Debug/cachefile-{CF60888C-4746-4871-9D32-E8426663FBA0}-targetpath.txt
r5023 r5027 17 17 Content\kentta2.xnb 18 18 Content\Untitled.xnb 19 Content\kolikko.xnb -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoeContent/ShotgunJoeContent.contentproj
r5023 r5027 165 165 </Compile> 166 166 </ItemGroup> 167 <ItemGroup> 168 <Compile Include="kolikko.png"> 169 <Name>kolikko</Name> 170 <Importer>TextureImporter</Importer> 171 <Processor>TextureProcessor</Processor> 172 </Compile> 173 </ItemGroup> 167 174 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 168 175 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoeContent/kentta1.txt
r5008 r5027 3 3 ..................................NNNNNNNNNNNNNNNNNNNNNNN........................................................................................ 4 4 .......................RRR....NNN................................................................................................................ 5 ...................R...................................................... ..................RRRRRRRRRRRRRRR..........RRRRR.......................5 ...................R......................................................V.................RRRRRRRRRRRRRRR..........RRRRR....................... 6 6 ...........RRRR......................................................T................RRRRR..................RRRRRR...........R.................. 7 .J. M..T.V............................................... RRRRRRRRRRRRRRRRRRRRRRRRRRR.............................................................7 .J....T.V............................................... RRRRRRRRRRRRRRRRRRRRRRRRRRR............................................................. 8 8 RRRRRRRRRRRRRRRRRRRRRRRR................................ ###########################...............................................N............. 9 9 ########################..............T................. ###########################.....................................................RRR..... 10 ########################............RRRRRRRR. ........... ###########################.............................................................10 ########################............RRRRRRRR.V.......... ###########################............................................................. 11 11 ########################......RR..R............RRRR......###########################............................................................. 12 12 ########################PPPPPP##PP#################......###########################............................................................. 13 ##################################################...... ###########################.................. ...........................................13 ##################################################...... ###########################..................V........................................M. 14 14 ##################################################...... ##############......#######.....................................................R..RRRRR 15 15 ##################################################...... ##############.............................RRRRRRR...RRRRR...............RRRRR...PP##### -
2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoeContent/kentta2.txt
r5023 r5027 2 2 ..................................................................# 3 3 J.........V.......................................................# 4 BB...................................... ..........................#4 BB......................................V.........................# 5 5 ....BBB..BBB.........................T........B...................# 6 6 ................B..........T.........BBBBBB.....B.................# … … 10 10 ..........................................BB......................# 11 11 ..................................................................# 12 ...... .........B.B..B..B.B.B.........BB..............BBB..........#13 .............B....................T............B...........B.. ...####14 .....BBBBBBBB....................BBBBBBBBBB.BB...................... .#12 ......V........B.B..B..B.B.B.........BB..............BBB..........# 13 .............B....................T............B...........B..V..#### 14 .....BBBBBBBB....................BBBBBBBBBB.BB......................M# 15 15 BBBPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPBBBBBBB# 16 16 ######################################################################
Note: See TracChangeset
for help on using the changeset viewer.