Visual-only water

Version:

1.0

Added on:

19 Apr 2015 23:31

Tags:

Description:
Draws water in the background of the level without causing any swimming, altered gravity, etc.
  1. void onLevelLoad() {
  2.   jjWaterLayer = 6;
  3. }
  4. void onDrawLayer6(jjPLAYER@ play, jjCANVAS@ screen) {
  5.   jjSetWaterLevel(-32, true);
  6. }
  7. void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ screen) {
  8.   jjSetWaterLevel(16000, true);
  9. }