So I saw this thread since it has been bumped, since my https://github.com/kentaromiura/RPGMV-Plugins already did part of what the OP asked, I though it could be useful to extend it into https://github.com/kentaromiura/RPGMV-BASE
I added ES2015 support (through babel), and configured it to...
The reason is merely because it's very slow as it prevents optimizations, for this reason trying to access it will throw a TypeError.
in Chrome/Webkit there's a console.trace method which can be invoked like console.log but contains the stacktrace,
this plus the fact that you can name your...
In EcmaScript 2015 there's a couple of new addition to the Array.prototype:
Array#findIndex and Array#find
the latter is what you're looking for in your inner logic, now your logic is more complicated that finding an element if an expression returns true,
as you've nested arrays so...
Just to add that a functional equivalent of this code can be achieved using `Array#some` in this way:
$dataActors.some(function(actor){
if(cond) {return true}
})
I feel like this may conflict with other plugins setting filters when all the filters has been removed, I'll look into it better later in the week and fix that problem
Oh, now I understand what you mean, no this plugin changes the background of menus only,
the textbox window doesn't use any menu window so you cannot do this using this plugin, sorry!
Edit:
What you want can be done with ...
Yes, in the case of your example you can call
AppendMenuBackgroundFilter Blur
AppendMenuBackgroundFilter Gray
if you want to remove all previous filters you can just call
RemoveAllMenuBackgroundFilters
before that, it should look like this
Have you ever notice how the default menu background has a very faint, almost annoying around the text, blur?
Would you prefer having a proper 'frosted glass' effect blur?
What if my game is takes places in the past?
Or what if I want to give a 8bit atmosphere?
Well, I guess you've...
Strict mode is a tool for the developer, when you're writing your code it will notify you that something is wrong so you can 'fix' your code,
the fixed code 99% of the times work as it is on older browsers not supporting strict mode,
there are some exceptions, as strict mode changes the way...
If you want to save to a file look at StorageManager.saveToLocalFile which just use node.js fs to save the file,
if instead you are happy to add your data to the savefile just do something like https://github.com/kentaromiura/RPGMV-Plugins/blob/master/Plugins/Battle/EnemyStats.js#L80-L90...
I think he asked how to run a plugin command from JavaScript.
Well, I tried and it worked.
If the function doesn't use this inside you can safely call it, in this particular case the original pluginCommand is just an empty function that does nothing, but of course, if any plugin that patch it...
I think
Game_Interpreter.prototype.pluginCommand('OpenNewWindow', ['http://www.google.com'])should work
EDIT:
for full compatibility with other scripts I suggest though to use something like this:
Finally having working copy and paste on the OSX debugger makes a huuuuge difference: https://github.com/kentaromiura/RPGMV-Plugins/blob/master/Plugins/Generic/Debug.js#L24-L26
No, the for loop is defined in the spec http://www.ecma-international.org/ecma-262/5.1/#sec-12.6.3 as for ( ExpressionNoInopt ; Expressionopt ; Expressionopt ) Statement
This is not true anymore, any good minifier nowadays transform your code in an AST and when doing so any not meaningful semicolon is just ignored, this may have been true in the past when people just concat together different files and sometime one ended in an expression and the following...
JavaScript has ASI (Automatic Semicolon Insertion), the set of rule where ASI applies are not exactly straightforward for someone that start using JS,
it's possible to avoid semicolon in most cases, basically the rule is that if the parser can understand you intended to break the line there for...
$gameTroop.requestMotionRefresh is undefined in your Game_Party.prototype.requestMotionRefresh patch,
I only have the battle engine core and this plugin as per your instruction
A part of me wants to return back to the beginning and first two chapters and remake them with parallax map. But I have decided not to. Every chapter is just another step in the journey. No need to walk back unless I have to revise dialouge.
Hey guys! Good news!
I just released the Games from Brazil - Part 2 on my Youtube Channel! I am really happy that part 1 had 100 views and I hope more people will be interested to see the potencial of Brazilian Game Devs!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.