Home Creators Posts Import Register Favorites Logout

Downloads

Content

! See bottom of post for updates !

Hi all, introducing [CGMZ] Swimming!

This plugin will allow your actor to swim through shallow water. For the swimming itself, you can have a custom bush depth, movement speed while swimming, and even a swim sprite that differs from the actor's walk sprite. You can also have a splash animation when the player first enters the water, and there are sound effect options for splash in and splash out.

Swimming uses boat passability by default, but there are also region and terrain tag passage options available for swimming to give you more control over where the player can swim. Regions can also be used to control where the player can enter/exit the water from, in case you don't want them to be able to start/stop swimming anywhere there is water.

This plugin also comes with a few different plugin commands, such as enable/disable the player's ability to swim, enable/disable the player's ability to dash while swimming, and change the player's swim image.

Here is a gif preview of how swimming looks:

As this is still Alpha, there are a few areas I want to improve before this enters Beta stage of development. These areas are:1) Diving2) Touch UI support3) Options to display a shadow under the player while swimming

Do you have any other ideas for how this plugin could be improved? Leave a comment below or in the suggestions channel of my Discord!

Happy RPG Making!

This update adds gamepad support, so you can now bind a gamepad button to start or stop swimming. This will allow your controller players to swim.This update also adds some plugin commands to help your events. The plugin command Attempt Swim allows you to try and start or stop swimming for the player. This is still subject to the normal swim rules where if your player could not previously swim this plugin command will not start or stop swimming. There is also Force Swim, which forces the player to start or stop swimming whether or not they can actually swim at their current location.

This version adds swim footsteps. You can now set it up to where the player hears a swimming sound effect while swimming around. This can also integrate with [CGMZ] Sound IDs to get a sound that varies in pitch, tone, or volume slightly so the player does not hear the exact same sound every time.

The [CGMZ] Sound IDs integration was also added for the splash in and splash out sound effects.

This update should hopefully make swimming easier to set up as the plugin commands for changing access to swimming or swim dashing were removed. Instead, these are now controlled by a simple switch you can turn ON or OFF through event commands or script calls as normal.

Files