RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Quicksand

Started by Glasses, January 12, 2016, 07:22:46 AM

0 Members and 1 Guest are viewing this topic.

Glasses

Name: Quicksand
Version: 1.2
Author: Mr. Trivel
Created: 2015-11-27


What does it do?
Allows regions to sink players and events in. If player sinks in completely - game over screen or common event can be executed.


Screenshots:



How to use?
Set up tags Map Note.
Full setup looks like this:
<quicksand: [ID]>
SinkSpeed: [FLOAT]
SlowDown: [FLOAT]
MaxSlowDown: [FLOAT]
MaxSink: [INT]
SinkReached: [Common Event ID/0/-1]
Dash: [true/false]
CutOff: [true/false]
</quicksand>

What each of those do:
<quicksand: [iD]> - start of region data, [iD] is for which region will it apply
</quicksand> - end of region data
SinkSpeed: [FLOAT] - How fast characters sink in
SlowDown: [FLOAT] - How slower characters move per sink in
MaxSlowDown: [FLOAT] - Slowest characters can move E.g. 0.5
MaxSink: [INT] - Lowest possible sinking point (E.g. 30)
SinkReached: [Common Event ID/0/-1] - What happens after player sinks in. 0 - nothing, -1 - Game Over, >0 calls Common Event of that ID.
Dash: [true/false] - Is player allowed to Dash while in this region
CutOff: [true/false] - Cut off part of sprite depending on sink in?

Is it possible to set multiple regions on same map? Yes.

Settings I used for the screenshot:
[spoiler]
<quicksand: 5>
SinkSpeed: 0.1
SlowDown: 0.05
MaxSlowDown: 0.2
MaxSink: 10
SinkReached: 0
Dash: false
CutOff: true
</quicksand>
[/spoiler]

Can I make events unsinkable? Yes.
Just add <Unsinkable> to Event's note field.


Plugin: <Link: Github>
How to download the Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.


Terms of Use:
Don't remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.

 

Glasses

Version 1.1
- Fixed values staying false when declared as true.

 

Glasses

Version 1.2
- Removed redundant tags. Added Common Event execution on sink in.