- Joined
- Mar 1, 2012
- Messages
- 15,270
- Reaction score
- 15,696
- First Language
- Filipino
- Primarily Uses
- RMMZ
This topic is to teach people some nifty Tips and Tricks that helps speed up development in a Quality of Life kind of way. You can add your own as well. I'll start with a few examples. All discussions go here.
Saving Memory A
Saving Memory B
How to Setup Teleport/Transfer Locations with just One Event
My game runs at 120FPS! (Works only in RMMV 1.6.1)
Disable Window Resizing
Add the propery resizable in package.json.
Saving Memory A
Saving Memory B
How to Setup Teleport/Transfer Locations with just One Event
Normally, you copy and paste numerous events that teleport to different locations or use a parallel process to check regions to know when and where to teleport/transfer your player. Here's a more effective way to do it:
- Use a Plugin that can modify Event Hitboxes. Event Hitbox Resize by @Yanfly, Big Events by @Shaz or Orange Event Hitboxes by @Hudell will do the trick.
- Create a single event and give it the event notetag property based on which Plugin you are using. If you have a map with 5 tiles long to teleport to another location, then give your event either:
Shaz's Plugin:
Hudell's Plugin:
- Grab the x,y based of the tiles you are interested in.

- Add a conditional branch inside that event using the Script Function. We'll be using the following Script Call:
It should end up looking like this:

This tutorial doesn't just apply to Teleport/Transfer. It has multiple uses depending on your needs!
- Use a Plugin that can modify Event Hitboxes. Event Hitbox Resize by @Yanfly, Big Events by @Shaz or Orange Event Hitboxes by @Hudell will do the trick.
- Create a single event and give it the event notetag property based on which Plugin you are using. If you have a map with 5 tiles long to teleport to another location, then give your event either:
Shaz's Plugin:
Code:
<bigEvent: 5x1>
Code:
<hitboxWidth:5>
- Grab the x,y based of the tiles you are interested in.

- Add a conditional branch inside that event using the Script Function. We'll be using the following Script Call:
Code:
($gamePlayer.pos(x, y))
It should end up looking like this:

This tutorial doesn't just apply to Teleport/Transfer. It has multiple uses depending on your needs!
My game runs at 120FPS! (Works only in RMMV 1.6.1)
Go and open your project folder/package.json
Make it look like this:
Make it look like this:
Code:
{
"name": "",
"main": "index.html",
"js-flags": "--expose-gc ",
"window": {
"title": "",
"toolbar": false,
"width": 816,
"height": 624,
"icon": "icon/icon.png"
},
"chromium-args": "--limit-fps=60"
}
Disable Window Resizing
Add the propery resizable in package.json.
Code:
{
"name": "",
"main": "index.html",
"js-flags": "--expose-gc ",
"window": {
"title": "",
"toolbar": false,
"width": 816,
"height": 624,
"icon": "icon/icon.png",
"resizable": false
}
}
Last edited: