RPG Maker Forums

Hi!


I'm new to RPG Maker MV. I have a background in JavaScript, HTML, and SVG. Not so much with the HTML5 Canvas or Pixijs. I was hoping someone could point me in the right direction in terms of API documentation or examples. I'd like to create a custom map transition. It involves controlling the fade out (fade to about 75% black, not 100%), and creating some shapes to move around. These shapes would eventually block the player's view. When the map is loaded, the shapes would move out of the way and then be removed.


These shapes could be created and held off screen as they technically would only need to be redrawn if the resolution were to change. They would need to be drawn against the rendered resolution, not the actual resolution. Would it be a waste to drawn them for every transition? I'm sure there is a more standard term for it, I just don't know it. Consider the following situation. You have a shiny HD monitor (1920x1080). But your freshly installed game is running at 1280x768 until you change your video settings. The shapes would need to be drawn against the 1280x768 resolution to be consistent with the rest of the game.


Not all of the shapes would be moved individually, instead they would be a part of a group, and it is that group as a whole that would be moved. Why update the position of dozens of things, when you can just update the position of a few and get the same result? Rendering wise I don't imagine it would be much different, I'm thinking more of how much work the script has to do. Less work is more performance, right?


Cut scenes or events may use something else to suite the mood, but this would be used on most/all normal map to map transitions.


I have most of the script done. The math is all there. I have a proof of concept that works as desired with just HTML, I just need to draw/animate it in a way that works for the canvas / RPGM MV. I don't imagine looking up canvas methods on MDN (https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API ) will be what I need to know to get this to work.


Is the documentation available on GitHub (so we can point to specific versions of it on the forums so that conversations don't lose context?) or is it just available through the help menu in the software?


Thanks!

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top