Downloads containing Toxicity.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 21 Levels Jazz2Online Multiple N/A Download file
JJ2+ Only: Toxicity Electric Ir Battle 6.7 Download file

File preview

  1.  
  2. void onLevelBegin() {
  3. jjLAYER@ toxicity = jjLayers[7];
  4. toxicity.xAutoSpeed += 15;
  5. toxicity.yAutoSpeed -= 0;
  6.  
  7.  
  8. }
  9.  
  10. int TileX = 4;
  11. int doSwitch = 1;
  12. const string serverMessage = "\ Welcome aboard... Where do you want to go?";
  13.  
  14. void onMain() {
  15.  
  16.  
  17. if (TileX == 4) {
  18.  
  19. int x,y,cx,cy;
  20.     cx = jjResolutionWidth - 780;
  21.     cy = jjResolutionHeight - 380;
  22.     x = int(p.cameraX) + cx;
  23.     y = int(p.cameraY) + cy;
  24.  
  25.                 jjDrawRectangle(p.xPos+jjSubscreenWidth/2 + jjSubscreenWidth/6*1,p.yPos-jjSubscreenHeight, jjSubscreenWidth, jjSubscreenHeight*3, 0, SPRITE::NORMAL, 0, doSwitch);
  26.                 jjDrawRectangle(p.xPos-jjSubscreenWidth,p.yPos+jjSubscreenHeight/3- jjSubscreenHeight/6*1, jjSubscreenWidth*2, jjSubscreenHeight*4, 0, SPRITE::NORMAL, 0, doSwitch);
  27.                 jjDrawRectangle(p.xPos-jjSubscreenWidth*3.25 + jjSubscreenWidth/6*1,p.yPos-jjSubscreenHeight, jjSubscreenWidth, jjSubscreenHeight*4, 0, SPRITE::NORMAL, 0, doSwitch);
  28.                 jjDrawRectangle(p.xPos-jjSubscreenWidth,p.yPos-jjSubscreenHeight*1.25+ jjSubscreenHeight/6*1, jjSubscreenWidth*2, jjSubscreenHeight, 0, SPRITE::NORMAL, 0, doSwitch);
  29.         if(!p.isSpectating) {   jjDrawString(x, y, serverMessage, STRING::MEDIUM, STRING::BOUNCE, 1, 1); }
  30.  
  31.  
  32.         }
  33.  
  34. }
  35.  
  36. void onFunction1(jjPLAYER@ play) {
  37.  
  38. doSwitch++;
  39. TileX++;
  40.         jjMusicLoad("toxic_sinope.mod");
  41.  
  42. jjLAYER@ toxicity = jjLayers[7];
  43.         play.warpToID(0);
  44. toxicity.xAutoSpeed = 0;
  45. play.lighting = 80;
  46.  
  47. p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
  48. }
  49.  
  50. void onFunction2(jjPLAYER@ play) {
  51. doSwitch++;
  52. TileX++;
  53.         jjMusicLoad("toxic_sinope.mod");
  54.  
  55. jjLAYER@ toxicity = jjLayers[7];
  56. play.warpToID(1);
  57. toxicity.xAutoSpeed = 0;
  58. play.lighting = 80;
  59.  
  60. p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
  61.        
  62. }
  63.  
  64. void onFunction3(jjPLAYER@ play) {
  65. doSwitch++;
  66. TileX++;
  67.         jjMusicLoad("toxic_sinope.mod");
  68.  
  69. jjLAYER@ toxicity = jjLayers[7];
  70.         play.warpToID(2);
  71. toxicity.xAutoSpeed = 0;
  72. play.lighting = 80;
  73.  
  74. p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
  75. }
  76.  
  77. void onFunction4(jjPLAYER@ play) {
  78. doSwitch++;
  79. TileX++;
  80.         jjMusicLoad("toxic_sinope.mod");
  81.  
  82. jjLAYER@ toxicity = jjLayers[7];
  83.         play.warpToID(4);
  84. toxicity.xAutoSpeed += 15;
  85. toxicity.yAutoSpeed -= 0;
  86. play.lighting = 37;
  87.  
  88. p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
  89.  
  90. }
  91.