javascript

  1. 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...
  2. _Shadow_

    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...
  3. 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...
  4. 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...
  5. 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.
  6. ScSWinter

    [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...
  7. 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'...
  8. 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...
  9. 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...
  10. 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?
  11. _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...
  12. 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...
  13. 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...
  14. 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 =...
  15. 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 =...
  16. DeadlyEssence01

    Yanfly's Plugins and Text Colors

    So I have a little bit of a conundrum with displaying text colors through yanfly's plugins. Specifically these two plugins: Yanfly Message Core; Yanfly Item Core First, if I designate the text color through item core, like <Text Color: 3> and I display the item name through message core's text...
  17. Ink Dialogue System in RMMV

    Hello! I'm trying to introduce a scripting language called ink—it's described as an interactive narrative engine, mainly used to write and create choose-your-own-adventure games—into RPG Maker MV. It's a great tool used to create dialogue-heavy, story-rich games. Paired with RMMV, I thought it...
  18. How to detect when player is in dialogue?

    I am coding a different menu for my game, which activates when pressing escape, but I realized, that you could open the menu when in dialogue. How do I detect when I'm talking to someone? The default menu somehow accomplishes this, but I couldn't find the code for it.
  19. SrOscuro

    Saving and loading into specific file?

    I am trying to implement in my game my own load/save mechanic. I want to save into a file the current game status everytime the player interacts with a savepoint event. When the player dies, loses one live and in case lives>1 a list of previous savepoints is presented on screen to choose one...
  20. SrOscuro

    Running code on each map load ?

    Hi, I am working on a custom lighting/parallax plugin, currently the parallax is done via a simple PluginCommand in an autorun event. Now trying to trigger my plugin everytime a map is loaded instead of using a plugin command. I tried with Game_map.prototype.setup() Game_Map.prototype.setupOld...

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
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

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top