Changeset 9226 for 2017


Ignore:
Timestamp:
2017-07-28 12:49:59 (2 years ago)
Author:
npo17_57
Message:

Räjähdys myös reunaosumasta ja 4 asteroidia.

Location:
2017/30/SamuliR/SpeedFloat/SpeedFloat
Files:
6 added
11 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloat/SpeedFloat.cs

    r9205 r9226  
    1414 
    1515    Image EsteenKuva2 = LoadImage("asteroidi2"); 
     16 
     17    Image EsteenKuva3 = LoadImage("asteroidi3"); 
     18 
     19    Image EsteenKuva4 = LoadImage("asteroidi4"); 
    1620 
    1721    EasyHighScore topLista = new EasyHighScore(); 
     
    4751        alareuna.Tag = ylareuna.Tag = "reuna"; 
    4852        Camera.Follow(timantti); 
    49         AddCollisionHandler(timantti, CollisionHandler.ExplodeBoth(740, true)); 
     53        AddCollisionHandler(timantti, CollisionHandler.ExplodeObject(740, true)); 
    5054        AddCollisionHandler(timantti, delegate (PhysicsObject p1, PhysicsObject p2) 
    51  
     55           //AddCollisionHandler(timantti, CollisionHandler.DestroyTarget()); 
    5256 
    5357 
     
    5761 
    5862        { 
     63            p2.Destroy(); 
    5964            Explosion28matala.Play(); 
     65            Explosion räjähdys = new Explosion(740); 
     66            räjähdys.Position = timantti.Position; 
     67            Add(räjähdys); 
    6068 
    6169            PysaytaAjastin(); 
     
    97105        
    98106        Add(este); 
    99         este.Image = RandomGen.SelectOne(EsteenKuva, EsteenKuva2); 
     107        este.Image = RandomGen.SelectOne(EsteenKuva, EsteenKuva2, EsteenKuva3, EsteenKuva4); 
    100108        
    101109    } 
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloat/SpeedFloat.csproj.Debug.cachefile

    r9205 r9226  
    33Content\asteroidi.xnb 
    44Content\asteroidi2.xnb 
     5Content\asteroidi3.xnb 
     6Content\asteroidi4.xnb 
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloat/bin/x86/Debug/Data/_score.xml

    r9183 r9226  
    4141          </Field> 
    4242          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    43             <Value>1</Value> 
     43            <Value>2</Value> 
    4444          </Field> 
    4545        </Item> 
    4646        <Item Index="5" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    4747          <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    48             <Value>-</Value> 
     48            <Value>Samuli</Value> 
    4949          </Field> 
    5050          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    51             <Value>0</Value> 
     51            <Value>1</Value> 
    5252          </Field> 
    5353        </Item> 
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloat/obj/x86/Debug/ContentPipeline-{B99D0029-6FDC-4C1A-8A27-A8B7C455E2A7}.xml

    r9205 r9226  
    3737      <Output>C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi2.xnb</Output> 
    3838      <Time>2017-07-28T10:52:45.377691+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>asteroidi3.png</Source> 
     42      <Name>asteroidi3</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi3.xnb</Output> 
     47      <Time>2017-07-28T12:12:13.673479+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>asteroidi4.png</Source> 
     51      <Name>asteroidi4</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi4.xnb</Output> 
     56      <Time>2017-07-28T12:27:23.3727892+03:00</Time> 
    3957    </Item> 
    4058    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloat/obj/x86/Debug/SpeedFloat.csproj.FileListAbsolute.txt

    r9205 r9226  
    1111C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi.xnb 
    1212C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi2.xnb 
     13C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi3.xnb 
     14C:\MyTemp\SamuliR\SpeedFloat\SpeedFloat\SpeedFloat\bin\x86\Debug\Content\asteroidi4.xnb 
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloat/obj/x86/Debug/cachefile-{B99D0029-6FDC-4C1A-8A27-A8B7C455E2A7}-targetpath.txt

    r9205 r9226  
    33Content\asteroidi.xnb 
    44Content\asteroidi2.xnb 
     5Content\asteroidi3.xnb 
     6Content\asteroidi4.xnb 
  • 2017/30/SamuliR/SpeedFloat/SpeedFloat/SpeedFloatContent/SpeedFloatContent.contentproj

    r9205 r9226  
    7373    </Compile> 
    7474  </ItemGroup> 
     75  <ItemGroup> 
     76    <Compile Include="asteroidi3.png"> 
     77      <Name>asteroidi3</Name> 
     78      <Importer>TextureImporter</Importer> 
     79      <Processor>TextureProcessor</Processor> 
     80    </Compile> 
     81  </ItemGroup> 
     82  <ItemGroup> 
     83    <Compile Include="asteroidi4.png"> 
     84      <Name>asteroidi4</Name> 
     85      <Importer>TextureImporter</Importer> 
     86      <Processor>TextureProcessor</Processor> 
     87    </Compile> 
     88  </ItemGroup> 
    7589  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    7690  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.