[RMMV] Split source files for plugin development.

xhh2a

Villager
Member
Joined
Nov 2, 2015
Messages
7
Reaction score
0
First Language
English
The latest version's download is missing rpg_core/JsExtensions. You can use the one from 1.0.0
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
The latest version's download is missing rpg_core/JsExtensions. You can use the one from 1.0.0
Oh dear! I should get that fixed!

Though I do sort of understand the issue with it, it's still a little bit odd that ti didn't export anything for it... Oh well, I'll get that fixed when I get the chance. Thanks for the find!
 

Fox536

Veteran
Veteran
Joined
Nov 5, 2015
Messages
173
Reaction score
60
Primarily Uses
Hey Zalerinian you are amazing, this is how the files should of come in the first place. I swear your a lifesaver!
 

Rafael_Sol_Maker

Almighty God Jabu
Veteran
Joined
May 8, 2012
Messages
122
Reaction score
36
First Language
Portuguese
Primarily Uses
RMMV
It didn't downloaded in MS Edge, it's warning that there's a virus or something else. Boo hoo, too bad.

So, I've downloaded it in Firefox. Thanks man, I was looking badly forward something like this. You're a life saver!
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
It didn't downloaded in MS Edge, it's warning that there's a virus or something else. Boo hoo, too bad!
Did you try downloading the separated files, or just the zip?
 

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
209
First Language
English
This looks like an interesting project ... 
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
First Language
English
Primarily Uses
RMMV
Any way to download them all at once?
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
Any way to download them all at once?
You can download a zip file, which contains them all, or I believe Google Drive lets you download a folder at once by right clicking it, but I'm not sure.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,030
Reaction score
335
First Language
indonesian
thank you... if only i found this sooner... learning the class would be easier... i hate when i use ctrl+f then search for text in a class... it goes to other class,

this is really helpful. thanks for making this.
 

JohnnyR

Dungeon Master
Restaff
Joined
Mar 27, 2013
Messages
275
Reaction score
135
First Language
English
Primarily Uses
RMMV
This is amazing! Thanks a lot!

I'll take a better look at it once I'm home, but it looks great so far!  :D
 

Chocobo

Villager
Member
Joined
Jan 18, 2016
Messages
29
Reaction score
47
First Language
German
Hello Zalerinian,

thanks for splitting the source files. I just yesterday started to tinker around with RMMV scripting and was glad I found this thread. Since I'm new to this, I'd like to ask you a question -- I don't know if this is a bug or some kind of intended behavior :)

What's the reason for adding the p#ErrorPrinter, canvas#GameCanvas, etc. to the index.html file?

I just browsed a bit through the code of the class Graphics and saw the following lines:

Graphics.initialize = function(width, height, type) { ... this._modifyExistingElements(); // line A this._updateRealScale(); this._createAllElements(); // line B ...};I saw that the line A, in the end, changes the zIndex attribute of all elements in the document to 0. This means, your p#ErrorPrinter

<p id="ErrorPrinter" style="text-align: center; text-shadow: rgb(0, 0, 0) 1px 1px 3px; font-size: 20px; z-index: 99; ...></p>has set its zIndex to 0 after this, too.

Then, in line B, a "p" element with zIndex 99 is created (subsequent calls to _createErrorPrinter and _updateErrorPrinter).

Now, there are two "p" elements, both having the same id ErrorPrinter, but document.getElementById does only select the first one:

http://postimg.org/image/7207trdub/

I don't know if this may cause any trouble at some point or if this is even indented. That's why I'm asking :)
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
Hello Zalerinian,

thanks for splitting the source files. I just yesterday started to tinker around with RMMV scripting and was glad I found this thread. Since I'm new to this, I'd like to ask you a question -- I don't know if this is a bug or some kind of intended behavior :)

What's the reason for adding the p#ErrorPrinter, canvas#GameCanvas, etc. to the index.html file?

I just browsed a bit through the code of the class Graphics and saw the following lines:

Graphics.initialize = function(width, height, type) { ... this._modifyExistingElements(); // line A this._updateRealScale(); this._createAllElements(); // line B ...};I saw that the line A, in the end, changes the zIndex attribute of all elements in the document to 0. This means, your p#ErrorPrinter

<p id="ErrorPrinter" style="text-align: center; text-shadow: rgb(0, 0, 0) 1px 1px 3px; font-size: 20px; z-index: 99; ...></p>has set its zIndex to 0 after this, too.

Then, in line B, a "p" element with zIndex 99 is created (subsequent calls to _createErrorPrinter and _updateErrorPrinter).

Now, there are two "p" elements, both having the same id ErrorPrinter, but document.getElementById does only select the first one:

http://postimg.org/image/7207trdub/

I don't know if this may cause any trouble at some point or if this is even indented. That's why I'm asking :)
The only modifications I made to index.html were changes to the scripts it loaded so that all the separate files were properly included. All the rest of it was part of the file by default, and as such was left alone. The error printer element is used by Graphics.printError (or whatever the function is, I don't have it up at the moment), and is used to display a game-crashing error to the screen. Keep in mind that that function won't pause the game itself, it will just display the error with the blurred background.
 

Chocobo

Villager
Member
Joined
Jan 18, 2016
Messages
29
Reaction score
47
First Language
German
Thanks for answering. Mh, that's odd. When I create a project with RMMV (still using the trial version, though), the index.html comes without said extra elements like the ErrorPrinter. I downloaded a few games out of the "Completed Games" section of this website and they also do not have the extra elements. The RMMV preorder demo also did not have them (https://s3-us-west-1.amazonaws.com/rmmvfiles/index.html).
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
Well, I made a new project with MV and lo and behold, all that error printer stuff indeed was not there. Not sure why it was in the index file to begin with, I suppose it could have been an error I made. Either way, I've gone and uploaded a new copy of the index file to both versions of the files. Sorry it took so long to get fixed, but as always, if there are any issues, please just let me know and I'll fix them as soon as I can.
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
856
First Language
German
Primarily Uses
ErrorPrinter (along with other elements) get added to the DOM at runtime:

Code:
Graphics._createErrorPrinter = function() {
    this._errorPrinter = document.createElement('p');
    this._errorPrinter.id = 'ErrorPrinter';
    this._updateErrorPrinter();
    document.body.appendChild(this._errorPrinter);
};
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
The download link has been updated with the split files for RPG Maker MV version 1.1.0! Please download your updated files at your earliest convenience so that you're using the most up-to-date version of the editor's files.


Please keep in mind that this version of the files was split automatically using a script. Any issues with it should be resolved, however if there are any problems with the files, please let me know so that I can fix them as soon as possible.
 
Last edited by a moderator:

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
The download link has been updated with the split files for RPG Maker MV version 1.2.0! Please download your updated files at your earliest convenience so that you're using the most up-to-date version of the editor's files.


Please keep in mind that this version of the files was split automatically using a script. Any issues with it should be resolved, however if there are any problems with the files, please let me know so that I can fix them as soon as possible.
 
Last edited by a moderator:

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
924
First Language
English
Primarily Uses
N/A
The download link has been updated with the files for RMMV 1.3.0! There have been a number of classes missing from the uploads due to a change in format that the scripts have now, so if any are found to be missing, please let me know and I'll fix them manually.
 

masterlobo

Veteran
Veteran
Joined
Mar 14, 2012
Messages
146
Reaction score
77
Primarily Uses
This is the best.


It's been incredibly useful :)


Any good IDEs you recommend?


I've been living with Notepad++ which is good for syntax highlighting, but there's no such thing as auto-complete or highlighting errors, etc.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

TFW: You get a text from someone and a long conversation--but you have no idea who this person is and don't wanna be that guy that asks "Who is this by the way?" I have no clue who this person is... but they seem to know me quite well. :rswt
You know, after all these years of using RM I've never played To The Moon. With being busy with life and then after my mom died I was too emotionally fragile to play something that heavy. Has anyone played the Switch version? Is there any big differences between that and the RM version?
Today I finished my Lets Play. Gonna have the videos scheduled for daily uploads now. Woo I finished something ^^
*tries to study Emergence of Bangladesh: Ancient Bengal* Matsyanyayam- When the law of punishment is kept in abeyance... okay what? *searches dictionary* oh! Ok. In abeyance, it gives rise to such disorders as is implied in the proverb of fishes i.e the larger fish swallows a small one- wait fishes eat each other!? Is that like... fishy cannibalism!?...Oh! It's 8:30! Time for dinner! *throws book on floor*
Babbaditch Finster and the Seven-Sided Cube has got to be one of my favorite classic games that didn't exist when I was kid, or ever

Forum statistics

Threads
93,403
Messages
912,014
Members
122,909
Latest member
lls27
Top