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.
Discussion Thread
Saving Memory A
SpoilerDo you have too many facesets and preloading too much into memory and sometimes they still get delayed? You can stack them like this and still be usable in the editor. Just try to keep it under the height of 1024 to avoid loading issues:
Saving Memory B
Spoiler
If you have a lot of animations, I recommend using this. It will save you a lot of space. Or use
@KanaX 's
Spriter Plugin.
How to Setup Teleport/Transfer Locations with just One EventSpoilerNormally, 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 @Shazor
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>
Hudell's Plugin: 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)
SpoilerGo and open your project folder/package.json
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 } }
本贴来自国际rpgmaker官方论坛作者:Archeia处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/rmmv-rmmz-tips-and-tricks-tutorial-ver.97011/