Access main display canvas/image? [MV]

grimofdoom

Villager
Member
Joined
Jul 18, 2017
Messages
12
Reaction score
2
First Language
English
Primarily Uses
Other
How can I access the main canvas or image that the RPG Maker MV is rendering to. I am not entirely sure of most things with RPG Maker MV, as I am rather new to it. But, there is some stuff that I want to try to do that requires modifying the the object that the game is rendering to. I would like to modify the core game engine to do this, but would rather design a plugin for it (if it actually turns out to be useful or not; which I think it will). I have minor experience in Javascript, but most my experience is in PHP, C#, C and C++.
 

Alice's hat trick

Abraca....what was that again...?
Veteran
Joined
Jul 10, 2017
Messages
63
Reaction score
29
First Language
Cantonese
Primarily Uses
RMMV
I'm sorry, but I can't quite understand what do you mean by "the main canvas or image that RPGMaker MV is rendering to".
Can you try changing it into another saying, or take a picture of it?
 

grimofdoom

Villager
Member
Joined
Jul 18, 2017
Messages
12
Reaction score
2
First Language
English
Primarily Uses
Other
From snooping around in the files [Programs(86)->KODAKAWA-> RPGMV -> NewData-> RPG_Core.js][Line: 1107 , Graphics.Initialize] , I learned that the rendering is done by pushing pixels to an image. I currently do not know where the file is that actually uses RPG_Core.js , so I do not even know what the rendered image's class or ID is to specifically modify using Javascript.

I can kind of read it from my past skills in programming (C, C++, C#, PHP), but am unsure how I can use this knowledge to simply apply a CSS3 transform/rotate to the image that is being rendered (I want to try to see if I can make some nice animations like I think I can in my head). I want to use CSS3 because it will not affect performance, since the transform/rotate applies after the image is rendered and mapped to the square (and is only done once, unless done in an animation, but am unsure without testing).
 

grimofdoom

Villager
Member
Joined
Jul 18, 2017
Messages
12
Reaction score
2
First Language
English
Primarily Uses
Other
Idiot me just realised that I could simply compile and run in a web browser, and find the ID. Turns out it is multiple ones too[ GameCanvas, VideoCanvas, UpperCanvas ] I am not sure though the difference between GameCanvas and UpperCanvas; but I am guessing that UpperCanvas is the filter effects. (purely guess, probably wrong). However using DOM, nothing happened.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top