Search results

  1. kentaromiura

    Testing / NPM / Transpiling

    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...
  2. kentaromiura

    How to get the name of the caller of a function?!

    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...
  3. kentaromiura

    Ruby 'Each do' JS equivalent?

    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...
  4. kentaromiura

    Ruby 'Each do' JS equivalent?

    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} })
  5. kentaromiura

    menu background filter

    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
  6. kentaromiura

    menu background filter

    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 ...
  7. kentaromiura

    menu background filter

    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
  8. kentaromiura

    menu background filter

    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...
  9. kentaromiura

    'use strict' mode unreliable?

    are you opening your console? Are you sure there's nothing there?
  10. kentaromiura

    'use strict' mode unreliable?

    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...
  11. kentaromiura

    Adding JSON data temporarily.

    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...
  12. kentaromiura

    FPLE: First Person Labyrinth Explorer

    looks more like a raycaster engine than mode7, someone did implement something like that using pixi: http://lewispollard.github.io/pixi-raycast/ 
  13. kentaromiura

    Run Plugin Command on Javascripts

    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...
  14. kentaromiura

    Run Plugin Command on Javascripts

    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:
  15. kentaromiura

    Finally having working copy and paste on the OSX debugger makes a huuuuge difference...

    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
  16. kentaromiura

    ; really required after each method?

    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
  17. kentaromiura

    ; really required after each method?

    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...
  18. kentaromiura

    ; really required after each method?

    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...
  19. kentaromiura

    [Closed] Animated Sideview Enemies | Plugin Released

    Yep, that solved the issue, it's incredible how a couple of animation change the UX so dramatically:
  20. kentaromiura

    [Closed] Animated Sideview Enemies | Plugin Released

    $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

Latest Threads

Latest Posts

Latest Profile Posts

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!
Effervesce Fallacy™ - Attract Mode (proto)

Forum statistics

Threads
107,570
Messages
1,030,643
Members
139,671
Latest member
WDRS
Top