Changeset 6210
- Timestamp:
- 2015-06-23 20:59:07 (7 years ago)
- 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 75 75 76 76 private Animation crawl; 77 private Animation blaze; 77 78 #endregion 78 79 … … 174 175 { 175 176 crawl = LoadAnimation("crawl"); 177 blaze = LoadAnimation("flame"); 176 178 } 177 179 … … 238 240 flame.CollisionIgnoreGroup = 3; 239 241 flame.Tag = "burn"; 242 flame.Animation = blaze; 243 flame.Animation.Start(); 240 244 Add(flame); 241 245 } … … 399 403 } 400 404 405 #region Camera 401 406 void UpdateCamera() 402 407 { … … 465 470 } 466 471 */ 472 #endregion 467 473 } -
2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRunContent/HillbillyRunContent.contentproj
r6207 r6210 128 128 </Compile> 129 129 </ItemGroup> 130 <ItemGroup> 131 <Compile Include="flame.anim"> 132 <Name>flame</Name> 133 <Importer>AnimationImporter</Importer> 134 <Processor>AnimationContentProcessor</Processor> 135 </Compile> 136 </ItemGroup> 130 137 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 131 138 <!-- 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.