Visual-only water

Version:

1.0

Added on:

19 Apr 2015 21:31

Tags:

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