Changeset 7485 for 2016/25


Ignore:
Timestamp:
2016-06-22 14:34:07 (7 years ago)
Author:
tesatapa
Message:

Tehty

Location:
2016/25/MatiasA/trump man XD
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • 2016/25/MatiasA/trump man XD/trump man XD/trump man XDContent/TrumpManXDContent.contentproj

    r7478 r7485  
    8888    </Compile> 
    8989  </ItemGroup> 
     90  <ItemGroup> 
     91    <Compile Include="meksikolainen.png"> 
     92      <Name>meksikolainen</Name> 
     93      <Importer>TextureImporter</Importer> 
     94      <Processor>TextureProcessor</Processor> 
     95    </Compile> 
     96  </ItemGroup> 
     97  <ItemGroup> 
     98    <Compile Include="räjähdys.png"> 
     99      <Name>räjähdys</Name> 
     100      <Importer>TextureImporter</Importer> 
     101      <Processor>TextureProcessor</Processor> 
     102    </Compile> 
     103  </ItemGroup> 
    90104  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    91105  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2016/25/MatiasA/trump man XD/trump man XD/trump man XDContent/kentta1.txt

    r7478 r7485  
    1 ############################################################# 
    2 # ***       ****      *****       ****     ******      *****#                           
    3 #####      #####      #####      #####     ######      ###### 
    4 #    *****       *****      *****     ****       *****      #                                                       
    5 #    #####       #####      #####     #####      #####      # 
    6 #****      *****       *****     *****     *****      ***** #                                                            
    7 #####      #####       #####     #####     #####      ##### # 
    8 #    *****       *****      *****     *****      *****      #                                                       
    9 #    #####       #####      #####     #####      #####      # 
    10 #****      *****      *****      *****      *****      *****#                                                     
    11 #####      #####      #####      #####      #####      ###### 
    12 #    ******     *****      *****      *****      *****      #                                                        
    13 #    ######     #####      #####      #####      #####      # 
    14 # ***      *****     *****      *****       *****      *****#                                                     
    15 #####      #####     #####      #####       #####      ###### 
    16 #    *****      *****       ****      *****       *****     #                                                      
    17 #    #####      #####      #####      #####       #####     # 
    18 # ***     *****      *****       *****      *****      *****#                                                             
    19 #####     #####      #####       #####      #####      ###### 
    20 #    *****       ****      *****      *****      *****      #                                                      
    21 #    #####      #####      #####      #####      #####      # 
    22 #           ##                                              # 
    23 #      N   ***********************************************  # 
    24 #############################################################                                                             
     1 
     2                        
     3                     
     4                                         
     5                                         
     6                                         
     7 
     8 
     9 
     10############################################################################################### 
     11#                                                                                             # 
     12#       **          **          **          **         **         **         ***          ***M# 
     13#      #####      #####       #####       #####      #####       #####      #####        ###### 
     14#                                                                                             # 
     15#  ***        **          **        **           **        **          **          **         # 
     16######       #####      #####      #####       #####      #####       #####       #####       #   
     17#                                                                                             # 
     18#       **         **           **         **          **         ***          **        ***  # 
     19#      #####      #####       #####       #####       #####       #####       #####      ###### 
     20#                                                                                             # 
     21# ##         **          **           **         ***          ***        ***         ***      # 
     22#####       #####       #####        #####       #####       #####       #####      #####     # 
     23#                                                                                             # 
     24#     ***           **          **          ***        ***          **          **         ** # 
     25#     #####       #####       #####        #####       #####       #####       #####      ##### 
     26#                                                                                             # 
     27# **          **         **          **           **          **         **         ***       # 
     28#####       #####       #####       #####       #####       #####       #####      #####      # 
     29#                                                                                             # 
     30# N          **            **              ***                ***      **     **        **    # 
     31############################################################################################### 
  • 2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r7478 r7485  
    3636      <Options>None</Options> 
    3737      <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2016-06-21T13:50:06.2259849+03:00</Time> 
     38      <Time>2016-06-22T14:11:14.18582+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    6464      <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\tonni.xnb</Output> 
    6565      <Time>2016-06-21T14:41:02.202568+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>meksikolainen.png</Source> 
     69      <Name>meksikolainen</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\meksikolainen.xnb</Output> 
     74      <Time>2016-06-21T14:49:24.3182029+03:00</Time> 
     75    </Item> 
     76    <Item> 
     77      <Source>räjähdys.png</Source> 
     78      <Name>räjähdys</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81      <Options>None</Options> 
     82      <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\räjähdys.xnb</Output> 
     83      <Time>2016-06-22T10:39:06.2061299+03:00</Time> 
    6684    </Item> 
    6785    <BuildSuccessful>true</BuildSuccessful> 
  • 2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r7478 r7485  
    66Content\trump12.xnb 
    77Content\tonni.xnb 
     8Content\meksikolainen.xnb 
     9Content\rÀjÀhdys.xnb 
  • 2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/obj/x86/Debug/trump_man_XD.csproj.FileListAbsolute.txt

    r7478 r7485  
    1414C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\trump12.xnb 
    1515C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\tonni.xnb 
     16C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\meksikolainen.xnb 
     17C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\rÀjÀhdys.xnb 
  • 2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/trump_man_XD.cs

    r7478 r7485  
    1212    const double hyppyNopeus = 750; 
    1313    const int RUUDUN_KOKO = 40; 
    14  
     14    ExplosionSystem räjähdys; 
    1515    PlatformCharacter pelaaja1; 
    1616 
    1717    Image pelaajanKuva = LoadImage("trump12"); 
    1818    Image tahtiKuva = LoadImage("tonni"); 
    19  
     19    Image räjähdyskuva = LoadImage("räjähdys"); 
    2020    SoundEffect maaliAani = LoadSoundEffect("maali"); 
    2121 
     
    2323    { 
    2424        Gravity = new Vector(0, -1000); 
    25  
     25        räjähdys = new ExplosionSystem(räjähdyskuva, 10000); 
     26        Add(räjähdys); 
    2627        LuoKentta(); 
    2728        LisaaNappaimet(); 
     
    3839        kentta.SetTileMethod('*', LisaaTahti); 
    3940        kentta.SetTileMethod('N', LisaaPelaaja); 
     41        kentta.SetTileMethod('M', LisaaMaali); 
    4042        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    4143        Level.CreateBorders(); 
     
    5052        Add(taso); 
    5153    } 
    52  
     54    void LisaaMaali(Vector paikka, double leveys, double korkeus) 
     55    { 
     56        PhysicsObject Maali = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     57        Maali.Position = paikka; 
     58        Maali.Color = Color.Purple; 
     59        Maali.Tag = "Maali"; 
     60        Add(Maali); 
     61    }    
    5362    void LisaaTahti(Vector paikka, double leveys, double korkeus) 
    5463    { 
     
    6978        AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 
    7079        Add(pelaaja1); pelaaja1.Weapon = new PlasmaCannon(30, 10); 
    71  
     80        AddCollisionHandler(pelaaja1, "Maali", paasitmaaliin); 
    7281        //Ammusten määrä aluksi: 
    7382        pelaaja1.Weapon.Ammo.Value = 1000; 
     
    7786        pelaaja1.Weapon.ProjectileCollision = AmmusOsui; 
    7887    } 
    79  
     88     void paasitmaaliin(PhysicsObject pelaaja,PhysicsObject maali) 
     89    { 
     90        ConfirmExit(); 
     91    } 
    8092    void LisaaNappaimet() 
    8193    { 
     
    116128    void AmmusOsui(PhysicsObject ammus, PhysicsObject kohde) 
    117129    { 
    118         //ammus.Destroy(); 
     130        ammus.Destroy(); 
     131        räjähdys.AddEffect(ammus.Position, 15000); 
    119132    } 
    120133    void AmmuAseella(PlatformCharacter pelaaja) 
  • 2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/trump_man_XD.csproj.Debug.cachefile

    r7478 r7485  
    66Content\trump12.xnb 
    77Content\tonni.xnb 
     8Content\meksikolainen.xnb 
     9Content\rÀjÀhdys.xnb 
Note: See TracChangeset for help on using the changeset viewer.