Downloads containing blgrawr3.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Project RejectFeatured Download Rysice Single player 8.9 Download file

File preview

  1. void SnowFood() {
  2.  
  3.     jjANIMATION@ anim = jjAnimations[jjObjectPresets[OBJECT::DRAGONFLY].curAnim];
  4.  
  5.     anim.frameCount = 1;
  6.  
  7.     jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];
  8.  
  9.     jjPIXELMAP snowflake((10*36) + 5);
  10.  
  11.    snowflake.save(frame);
  12.  
  13.     frame.hotSpotX = -frame.width / 2;
  14.  
  15.     frame.hotSpotY = -frame.height / 2;
  16.  
  17. }
  18.  
  19. void RudeFood() {
  20.  
  21.     jjANIMATION@ anim = jjAnimations[jjObjectPresets[OBJECT::BEE].curAnim];
  22.  
  23.     anim.frameCount = 1;
  24.  
  25.     jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];
  26.  
  27.     jjPIXELMAP rude((10*36) + 4);
  28.  
  29.    rude.save(frame);
  30.  
  31.     frame.hotSpotX = -frame.width / 2;
  32.  
  33.     frame.hotSpotY = -frame.height / 2;
  34.  
  35.  
  36. }
  37.  
  38.  
  39. void WoodFood() {
  40.  
  41.     jjANIMATION@ anim = jjAnimations[jjObjectPresets[OBJECT::APPLE].curAnim];
  42.  
  43.     anim.frameCount = 1;
  44.  
  45.     jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];
  46.  
  47.     jjPIXELMAP wood((10*36) + 8);
  48.  
  49.    wood.save(frame);
  50.  
  51.     frame.hotSpotX = -frame.width / 2;
  52.  
  53.     frame.hotSpotY = -frame.height / 2;
  54.  
  55. }
  56.  
  57.  
  58. void onLevelLoad() {
  59.  
  60.     WoodFood();
  61.  
  62.     SnowFood();
  63.     RudeFood();
  64. }
  65.