Downloads containing AM.j2as

Downloads
Name Author Game Mode Rating
JJ2+ Only: Ancient MuseumFeatured Download FireSworD Capture the flag 8.7 Download file
JJ2+ Only: Ancient MuseumFeatured Download FireSworD Capture the flag 8.7 Download file

File preview

  1. /* Carrots cannot be buried in the ground with toaster 1.0, by PurpleJazz
  2.    http://www.jazz2online.com/snippets/100/carrots-cannot-be-buried-in-the-ground-with-toaster/ */
  3.  
  4. void onLevelLoad() {
  5. jjUseLayer8Speeds = true;
  6.  
  7.         jjObjectPresets[OBJECT::FULLENERGY].behavior = CantBeBuried;
  8. }
  9.  
  10. void CantBeBuried(jjOBJ@ obj) {
  11.         obj.behave(BEHAVIOR::PICKUP);
  12.         if (jjMaskedPixel(obj.xPos, obj.yPos + 8)) {
  13.                 obj.state = STATE::FLOAT;
  14.         }
  15. }
  16.  
  17.