Rpg Maker MZ Touch Grass Plugin
A downloadable tool
- This plugin draws grass sprites based on region ID onto the game map.
- These grass sprites wriggle when the player walks on top of them
- A sound effect can be played when the grass wriggles.
Event Tags:
- <Walk On Grass> - used on event pages to allow the event to interact with the grass sprites.
Map Note Tags:
- <GrassID1:1> - used on map notes. Value references to the Grass ID set in the plugin parameters.
- <GrassID2:1>
- - GrassID3:1>
- <GrassID4:1>
- <GrassID5:1>
For example, <GrassID1> would draw id 1 grass on the region assigned to slot 1 in the parameters
Script calls:
Player and event property _canTouchGrass can be modified via scriptcall to change if the character can interact with grass
- Eg.
- $gamePlayer._canTouchGrass = true;
- $gamePlayer._canTouchGrass = false;
- $gameMap.event(1)._canTouchGrass = true;
================================================
Free to use in non-commercial and commercial projects!
Feel free to edit the code as required
Please credit Nowis-337
================================================
Version 1.0 - 26/12/23
- Finished plugin!
Download
Download
Nowis337_TouchGrass.js 14 kB
Comments
Log in with itch.io to leave a comment.
This is perfect for "encounter region tiles" like pokemon and such, they don't even need to be grass 💕
Nice for immersion, cool plugin!
Bad ass!