1. Omarproductions

    RMMV [Solved] Javascript Array for Random Number Generator Without Repeats for Variables

    Hello Everyone, how are you doing? I'm developing a game for my birthday, where it will be used a as game show to quiz people on video game trivia and video game challenges. Most of the fundamental pieces of codes are working, however one is incomplete, and that's the random number generator...
  2. Can I do math in arrays

    Say I have an array set to [5,5,5] and I want to subtract from the second number in the array by one and add to the first number 2, so it's now [7,4,5]. How can I do this? I know you can directly change the numbers in the array, but for what I'm doing I actually want to be able to perform math...
  3. Random Panda

    Self Switch Script call for multiple events on a map

    Hi All, I need to use $gameSelfSwitches.setValue([$gameMap._mapId, EVENTID, 'A'], false); But for EVENTID I was hoping to use an array of multiple event IDs so I don't have to redo that code for multiple events. Something like this, but you know, done correctly: var E = [1,5,9, etc.]...
  4. _Shadow_

    Double Dimension arrays.

    I found a solution on one of my major issues I had, while I was thinking of implementing an idea into an actual game. Here goes the solution on the thread I opened for your reference...
  5. Eliaquim

    Checking any equal values inside an array

    Hi people! Well, after I see a lot of things on the internet, I can't figure that out. I see some examples with .some() and with .every() but I can't manage to put it in my code and it works. In the code below, the variables a,b,c will get a random value between 0 and 3. So, if any of them are...
  6. professorbeej

    Mark All Tiles Impassible in a Tileset

    Hey, folks! I want to get into plugin development, so I figured I'd start out by trying to alleviate an issue I have that I can't find a plugin for. Personally, I hate individually marking tiles with 0, X, * because I have far more X tiles than anything else. So I want a plugin that can either...
  7. Llareian

    Better way to add values to a $gameVariables array?

    I have variables that are used to store arrays of numbers. I want to be able to push new values onto those arrays (and splice them out when no longer needed). Currently I'm using the method below to push the value of variable 16 onto the array variable 15: var tempArray =...
  8. ZelsesWind

    Using an Array to create a highest to lowest list.

    Hello everyone. I want to make the game check the Strenght of all the characters and sort it from highest to lowest and make a queue list, so the characters will take action according to their possition in the queue. I guess this is exactly the same as who strikes first in each battle turn...
  9. Milena

    Remove a Sprite from an array

    So I made this array and added sprites on it. var lineX = 700; this._buttonList = []; for (var i = 0; i < 30; i++) { var button = new Sprite(); button.bitmap = ImageManager.loadPicture('Item'); button.x = 100; var line =...
  10. Milena

    Meta Values in Array and Note Tags in Array

    On my old topics, some of you were able to teach me how to read the values of meta and compare arrays. But I just have recently been into it and still struggling to learn the regular expressions in Rubular and Scriptular as advised. I find meta easier to do but I discovered that I still don't...
  11. Milena

    Are sprite layers handled by arrays?

    While tinkering with Sprites, I tried to add at least three sprites, and each of them in different index (z-index in rgss), for example: this.addChildAt(milenaCircle, 1);this.addChildAt(milenaCircle2, 2);and then, since I want the third circle to be at the top most part, I made it...
  12. Milena

    Array as Parameters

    In the plugin manager, we can create a function via script via Numbers and Parameters so we can change the value of a var inside the plugin manager. But that somehow only works for single number. What code should I put so I can change array values of one variable from the plugin manager?
  13. Milena

    Gaining Items via Array instead of Integers

    As I was making a tweak on making items, I have something in mind. So basically, when you make an actor / party gain an item, you would do: $game_party.gain_item($data_items[1], 2)where 1 is the item id and 2 then amount. Now, I remember Tsukihime mentioned me about using a loop. I thought of...
  14. Milena

    More Array Functions

    I have been reading a lot about arrays lately which were mainly from Stack Overflow and Ruby docs, however I seem not to be able to produce what I wanted in a script in RGSS3. Mainly the following: 1. How can I access ANY elements of the array? Let's say I am checking an array of numbers, how...

Latest Threads

Latest Profile Posts

Trailer is almost done for the game i can't wait to show it to everyone
I've got good news and bad news. The good news is, there aren't any bad news to report. The bad news is, there aren't any good news to report.

Or as others say, yesterday was uneventful.

I am curious that can you "understand/get the point" about what does this place do generally?
(ARPG game)
If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.

After 'multiple breakdowns', it's finally over. 10/10 will do this again.

Forum statistics

Latest member