javascript

  1. LyonBuster

    Scripts open external windows RPG Maker MV.

    It is something as simple as to open another window with these comands inside the script in-game boxes, using the prebuilt pdf lector of chrome, or the mp3 lector: window.open('url') window.open('book.pdf') window.open('music.mp3') As you can see, it is not necessary to use...
  2. Amarok

    move picture script call with wait until finish?

    hey there, been searching for this for days, but nothing i found actually works. I just want to be able to use the wait command in my own javascript functions, mainly so i can handle animations and all that. The reason why i need this is because i use way more than 100 pictures at once and thus...
  3. aporokizzu

    [SOLVED] GALV_BasicEventShadows.js: Sprite_BasicShadow

    Greetings, Boils and Ghouls! I am trying to amend the following function from the GALV_BasicEventShadows.js plugin: I created another JS file- dismal_GALV_BasicEventShadows_Extended.js- which I have placed below aforementioned plugin in the Plugin Manager window): And within it, is the...
  4. Xyonel

    Strange behavior of .match() function..

    hey I'm here again asking for infos: this is the first common event script call that works well: function makeid(length) { var result = ''; var characters = 'LETTERS'; for ( var i = 0; i < length; i++ ) { result += characters.charAt(Math.floor(Math.random() *...
  5. Xyonel

    how to insert automatically a bunch of data with "for" into an array?

    wordList = [] for ( i=0; i<16; i++){ actorName = $gameActors.actor(i).name.toUpperCase(); wordList.push(actorName(i)); } this does not work, someone have a solution? i'm beginner in javascript for now, still learning. cannot read property " name " of null.
  6. Black Pagan

    Needed help with a Javascript / Event Function

    So, I came across this thread : https://forums.rpgmakerweb.com/index.php?threads/eventing-a-place-able-crafting-system.83283/ Its about Crafting something using 3 Ingredients. Could someone tell me how could i make it so I could craft (Cook) with only 1 Ingredient ? I figured i would just...
  7. Dreadshadow

    Javascript: I want to turn a csv into an array and play with it.

    This is kinda noobish question really. Imagine we got a file at the same folder with the game. Let's say we got a CSV file named ab.csv with a line on it being: STR STR STR STR STR INT INT INT text1, text2, text3, text4, text5, 9, 4, 1 Now imagine 500 lines like that. I want to...
  8. Xyonel

    .isStateAffected(N)

    how do i check for multiple states without flooding note space of a state? With my frozen state i'm checking if the battler have one of my other states, then removing it this is a template i made: <Custom Apply Effect> if (target.isStateAffected(2) === true){ target.removeState(2); } if...
  9. Raexxar

    Command Menu instead of Normal Menu RPG Maker MV (PLEASE HELP)

    Hello, i was trying to replace normal menu with my own command menu, and that command menu would have option to push normal menu, yanfly journal, options, saves and to title command. For now i have 2 problems: 1. I don't know how to exactly replace that, when i make input.keyMapper[27] (which is...
  10. SrOscuro

    Window_MenuCommand example?

    Can someone show a source example about how to make a new scene with a list of choices? I am not getting how to use Window_MenuCommand to create my own menu/callbacks.
  11. [Updated] Can this camera effect be achieved with an scroll movement?

    I want the camera to vertically show always more screen in the player-faced direction. UPDATE 1: UPDATE 2: I achieved it! No exactly what I want but it works quite well. var sc_oldmarg=0; Game_Player.prototype.centerY = function() { var sc_zoom=1, sc_distance=1...
  12. SrOscuro

    Where are the 'pictures' pixijs sprites stored? [solved]

    I am working on a very simple plugin, and need access the pixijs sprite of pictures. That's the sprite shown on screen when using "Show picture" command. I need to modify the mask of that sprite. I looked into $gameScreen._pictures[picture_id] but its not a sprite object, doesnt has a 'mask'...
  13. LyonBuster

    How to Transform actor to actor... but with YEP and no custom plugins? (RMMV)

    My question, as I am a total novice in JavaScript, is for YANFLY's engine plugins, exactly the ones that allow you to transform is how to write inside <Custom Apply Effect> inside the Transform state: to change actor Id to another actor id; and remember its level. For example, i would like to...
  14. Uzuki

    [Yanfly Item Synthesis] How to make multiple items with just one item?

    Hey gang, I'm using Yanfly's Item Synthesis plugin and it's worling fine. What caught my interest was this line in the help section: <Custom Synthesis Effect> var bottle = $dataItems[123]; $gameParty.gainItem(bottle, 2); </Custom Synthesis Effect> For this notetag, the 'item' variable will...
  15. Parallax Panda

    Yanfly's EventTimerControl question (Lunatic code)

    With Yanfly's "EventTimerControl" there's a parameter for "expire code" which runs when the timer reaches zero. What kind of JavaScript would I have to write in there to trigger Common Event 1?
  16. _Soysauce_

    Need help with a plugin to show pictures on item menu

    Hi everybody, A close friend of mine is trying to work on a plugin to show images on screen when scrolling the key items in the key item menu. He's relatively new to programming, and rather new at JavaScript - so he has taken as a reference this thread from 2018...
  17. nathanlink169

    QSight with QCollisionMaps

    Hi all, I've been using Quxios's QSight plugin for a while now, which is used to add vision to NPC's or other events. When I added and implemented QCollisionMaps (allowing a separate file to determine the collisions in the game), QSight stopped working for any map that had a collision map...
  18. KingKraken

    Displaying variables like states and resistances?

    Hey everyone, I'm pretty much a Javascript newbie, and I'm trying to take the plunge to learn a little bit about the language and how it relates to MV in order to tweak a plugin that's almost perfect in presentation, but displays information I don't need. So I'm using an old character select...
  19. aporokizzu

    Moving Platforms

    Greetings- I am trying to script a moving platform, that the player must try to land on. I have the following code: var Imported = Imported || {}; Imported.PE_JumpMan = true; var PE = PE || {}; PE.JumpMan = PE.JumpMan || {}; (function($){ var JumpMan_Game_CharacterBase_jump =...
  20. Poppie360

    Help with swapping bitmaps

    So I have no Idea at all how the game engine goes about something Basically, how it goes about loading images is a whole batch of functions that vary little between eachother. Here is the function that controls how events and all that are loaded in graphics wise; ImageManager.loadCharacter =...

Latest Threads

Latest Profile Posts

There's another Humble Bundle available now for RPG developer assets, this time focused somewhat more towards pixel art style games.
Ive got a long lost half uncle. Thats real cool.
I forget what is bumping rule in this forum. Is anyone know? Thank you.
BCj
Ew, why does my blogpost on the rpgmaker.net site look like a garbled mess? Are html codes disabled or something?
I feel that I should cut down on my order queue so I can get some more time for my projects, its been quite a longggg while since I worked on them LOL

Forum statistics

Threads
97,899
Messages
947,704
Members
129,129
Latest member
TimmyChapman
Top