Changeset 6213 for 2015


Ignore:
Timestamp:
2015-06-23 21:37:26 (4 years ago)
Author:
sieerinn
Message:

Hienompaa savua (ja ison puun oksan kuva).

Location:
2015/26/ohjaajat/HillbillyRun
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun.cs

    r6212 r6213  
    7676    private Image cartWheelImage = LoadImage("cartwheel"); 
    7777 
     78    private Image smokeImage1 = LoadImage("smoke1"); 
     79    private Image smokeImage2 = LoadImage("smoke2"); 
     80 
    7881    private Animation crawl; 
    7982    private Animation blaze; 
     
    248251 
    249252        Smoke savu = new Smoke(); 
     253        savu.ParticleImage = smokeImage1; 
     254        savu.OuterParticleImage = smokeImage2; 
     255        savu.MaxLifetime = 1.0; 
     256        savu.MaxScale = 200; 
     257        savu.MinScale = 10; 
    250258        savu.Position = flame.Position; 
     259        Wind = new Vector(-10, 0); 
    251260        Add(savu); 
    252261    } 
  • 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRunContent/HillbillyRunContent.contentproj

    r6210 r6213  
    135135    </Compile> 
    136136  </ItemGroup> 
     137  <ItemGroup> 
     138    <Compile Include="smoke1.png"> 
     139      <Name>smoke1</Name> 
     140      <Importer>TextureImporter</Importer> 
     141      <Processor>TextureProcessor</Processor> 
     142    </Compile> 
     143    <Compile Include="smoke2.png"> 
     144      <Name>smoke2</Name> 
     145      <Importer>TextureImporter</Importer> 
     146      <Processor>TextureProcessor</Processor> 
     147    </Compile> 
     148  </ItemGroup> 
    137149  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    138150  <!--  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.