Changeset 6210 for 2015/26/ohjaajat


Ignore:
Timestamp:
2015-06-23 20:59:07 (4 years ago)
Author:
empaheik
Message:

Liekkejä kaikkialla.

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

Legend:

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

    r6208 r6210  
    7575 
    7676    private Animation crawl; 
     77    private Animation blaze; 
    7778    #endregion  
    7879 
     
    174175    { 
    175176        crawl = LoadAnimation("crawl"); 
     177        blaze = LoadAnimation("flame"); 
    176178    } 
    177179 
     
    238240        flame.CollisionIgnoreGroup = 3; 
    239241        flame.Tag = "burn"; 
     242        flame.Animation = blaze; 
     243        flame.Animation.Start(); 
    240244        Add(flame); 
    241245    } 
     
    399403    } 
    400404 
     405    #region Camera 
    401406    void UpdateCamera() 
    402407    { 
     
    465470    } 
    466471     */ 
     472    #endregion 
    467473} 
  • 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRunContent/HillbillyRunContent.contentproj

    r6207 r6210  
    128128    </Compile> 
    129129  </ItemGroup> 
     130  <ItemGroup> 
     131    <Compile Include="flame.anim"> 
     132      <Name>flame</Name> 
     133      <Importer>AnimationImporter</Importer> 
     134      <Processor>AnimationContentProcessor</Processor> 
     135    </Compile> 
     136  </ItemGroup> 
    130137  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    131138  <!--  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.