RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Quicksand

0 Members and 1 Guest are viewing this topic.

*****
Rep:
Level 27
Mr. Trivel
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 for:
<quicksand: 5>
SinkSpeed: 0.1
SlowDown: 0.05
MaxSlowDown: 0.2
MaxSink: 10
SinkReached: 0
Dash: false
CutOff: true
</quicksand>

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.
« Last Edit: February 15, 2016, 08:10:38 AM by Glasses »
 

*****
Rep:
Level 27
Mr. Trivel
Version 1.1
 - Fixed values staying false when declared as true.
 

*****
Rep:
Level 27
Mr. Trivel
Version 1.2
 - Removed redundant tags. Added Common Event execution on sink in.