Changeset 5027 for 2014/24


Ignore:
Timestamp:
2014-06-13 11:22:59 (5 years ago)
Author:
juonoljo
Message:
 
Location:
2014/24/JuhoJ
Files:
5 added
15 edited

Legend:

Unmodified
Added
Removed
  • 2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/ShotgunJoe.cs

    r5023 r5027  
    2222 
    2323    int kenttanumero = 1; 
    24     PlatformCharacter pelaaja1; 
     24    PlatformCharacter pelaaja1 = new PlatformCharacter(40 , 40 ); 
    2525    PlasmaCannon pelaajan1Ase; 
    2626     
     
    3030 
    3131    Image pelaajanKuva = LoadImage("shutter"); 
    32     Image tahtiKuva = LoadImage("tahti"); 
     32    Image tahtiKuva = LoadImage("kolikko"); 
    3333    Image piikkikuva = LoadImage("Piikki"); 
    3434    SoundEffect maaliAani = LoadSoundEffect("maali"); 
     
    4444    Image kivikuva = LoadImage("kivi"); 
    4545    Image maalikuva = LoadImage("Untitled"); 
     46 
     47 
    4648    public override void Begin() 
    4749    { 
    4850        SmoothTextures = false; 
    4951        SeuraavaKentta(); 
    50          
    51          
    52          
    53     } 
     52    } 
     53 
    5454 
    5555    void SeuraavaKentta() 
     
    7878        Camera.Follow(pelaaja1); 
    7979        Camera.ZoomFactor = 4.2; 
     80         
     81         
    8082        Camera.StayInLevel = true; 
    8183 
     
    158160        tahti.Position = paikka; 
    159161        tahti.Image = tahtiKuva; 
    160         tahti.Tag = "tahti"; 
     162        tahti.Tag = "kolikko"; 
    161163        Add(tahti); 
    162164    } 
     
    164166    void LisaaPelaaja(Vector paikka, double leveys, double korkeus) 
    165167    { 
    166         pelaaja1 = new PlatformCharacter(leveys , korkeus ); 
    167168        pelaaja1.Position = paikka; 
    168169        pelaaja1.Mass = 4.0; 
     
    279280        AddCollisionHandler(vihu, "piikki", CollisionHandler.DestroyObject); 
    280281        Add(vihu); 
     282 
    281283        FollowerBrain seuraajanAivot = new FollowerBrain(pelaaja1); 
    282284        seuraajanAivot.DistanceFar = 100; 
  • 2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/ShotgunJoe.csproj.Debug.cachefile

    r5023 r5027  
    1717Content\kentta2.xnb 
    1818Content\Untitled.xnb 
     19Content\kolikko.xnb 
  • 2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/obj/x86/Debug/ContentPipeline-{CF60888C-4746-4871-9D32-E8426663FBA0}.xml

    r5023 r5027  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2014-06-13T10:35:28.0054184+03:00</Time> 
     38      <Time>2014-06-13T11:17:48.6024527+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    153153      <Options>None</Options> 
    154154      <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> 
    156156    </Item> 
    157157    <Item> 
     
    163163      <Output>C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\Untitled.xnb</Output> 
    164164      <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> 
    165174    </Item> 
    166175    <BuildSuccessful>true</BuildSuccessful> 
  • 2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoe/obj/x86/Debug/ShotgunJoe.csproj.FileListAbsolute.txt

    r5023 r5027  
    2525C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\kentta2.xnb 
    2626C:\MyTemp\JuhoJ\ShotgunJoe\ShotgunJoe\ShotgunJoe\bin\x86\Debug\Content\Untitled.xnb 
     27C:\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  
    1717Content\kentta2.xnb 
    1818Content\Untitled.xnb 
     19Content\kolikko.xnb 
  • 2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoeContent/ShotgunJoeContent.contentproj

    r5023 r5027  
    165165    </Compile> 
    166166  </ItemGroup> 
     167  <ItemGroup> 
     168    <Compile Include="kolikko.png"> 
     169      <Name>kolikko</Name> 
     170      <Importer>TextureImporter</Importer> 
     171      <Processor>TextureProcessor</Processor> 
     172    </Compile> 
     173  </ItemGroup> 
    167174  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    168175  <!--  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  
    33..................................NNNNNNNNNNNNNNNNNNNNNNN........................................................................................ 
    44.......................RRR....NNN................................................................................................................ 
    5 ...................R........................................................................RRRRRRRRRRRRRRR..........RRRRR....................... 
     5...................R......................................................V.................RRRRRRRRRRRRRRR..........RRRRR....................... 
    66...........RRRR......................................................T................RRRRR..................RRRRRR...........R.................. 
    7 .J.M..T.V............................................... RRRRRRRRRRRRRRRRRRRRRRRRRRR............................................................. 
     7.J....T.V............................................... RRRRRRRRRRRRRRRRRRRRRRRRRRR............................................................. 
    88RRRRRRRRRRRRRRRRRRRRRRRR................................ ###########################...............................................N............. 
    99########################..............T................. ###########################.....................................................RRR..... 
    10 ########################............RRRRRRRR............ ###########################............................................................. 
     10########################............RRRRRRRR.V.......... ###########################............................................................. 
    1111########################......RR..R............RRRR......###########################............................................................. 
    1212########################PPPPPP##PP#################......###########################............................................................. 
    13 ##################################################...... ###########################............................................................. 
     13##################################################...... ###########################..................V........................................M. 
    1414##################################################...... ##############......#######.....................................................R..RRRRR 
    1515##################################################...... ##############.............................RRRRRRR...RRRRR...............RRRRR...PP##### 
  • 2014/24/JuhoJ/ShotgunJoe/ShotgunJoe/ShotgunJoeContent/kentta2.txt

    r5023 r5027  
    22..................................................................# 
    33J.........V.......................................................# 
    4 BB................................................................# 
     4BB......................................V.........................# 
    55....BBB..BBB.........................T........B...................# 
    66................B..........T.........BBBBBB.....B.................# 
     
    1010..........................................BB......................# 
    1111..................................................................# 
    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# 
    1515BBBPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPBBBBBBB# 
    1616###################################################################### 
Note: See TracChangeset for help on using the changeset viewer.