Official Gacha Plugin Edit

Discussion in 'Javascript/Plugin Support' started by Sissel Cabanela, Dec 5, 2017.

  1. Joy Diamond

    Joy Diamond Talkative Veteran

    Messages:
    135
    Likes Received:
    172
    First Language:
    English
    Primarily Uses:
    RMMV
    Archeia,
    Thanks. I'll take that to mean pretty close to the same terms as the MIT license of RPG Maker MV Corescript (i.e.: Free to use, modify, etc. ... just don't remove the original copyright).
    Not sure what you mean by that:
    • The original article by Archeia RPG Maker MV 1.1 implies the RPG Maker MV release 1.1 consisted of 3 different downloads (The UI, The plugins & the optimized resources).
    • It wasn't any part of any RPG Maker MV 1.5.1 release, as far as I can tell
    I'll take it to mean, it's "as if" a part of RPG Maker MV 1.5.1 MV release (and in the future, might again, be bundled with a RPG Maker MV release).
    • Which I would recommend, since it seems to be good sample code & does something real nice :cool:
    OOPS! So sorry ... :oops: ... I won't make that mistake again.​

    Embarrassed,

    Joy Diamond.
     
    #21
  2. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,586
    Likes Received:
    14,294
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    @Joy Diamond RPG Maker MV came out with a few official Japanese plugins. That's part of it. You paid for it along with the software. So yeah you can use it commercially and edit it. I don't understand what's hard to understand about that.
     
    #22
  3. Sissel Cabanela

    Sissel Cabanela Veteran Veteran

    Messages:
    79
    Likes Received:
    13
    First Language:
    English
    @Joy Diamond

    I would like to personality thank you very much for your help, I have finished modifying the script to my needs. As for the 1% chance, that's because I have made 3 different pull modes. 5 Stars are 1% chance on the 2 'basic' modes and a 20% chance on the very rare one. Additionally, I create a way to rate up different items at different times due to your guidance, so thank you again, this problem is solved!
     
    #23
    Joy Diamond likes this.
  4. Joy Diamond

    Joy Diamond Talkative Veteran

    Messages:
    135
    Likes Received:
    172
    First Language:
    English
    Primarily Uses:
    RMMV
    You are quite welcome & best wishes uses the Gacha plugin.
    • Also thanks for pointing to some good code to look at in the future :cool:
     
    #24
  5. ashyramoonwolf

    ashyramoonwolf Chibo's Keeper Veteran

    Messages:
    206
    Likes Received:
    142
    First Language:
    french
    Primarily Uses:
    RMMV
    (I hope the thread is not dead yet. I needed an edit on this plugin too. More to create a new thread i just come to share. So please do not blame me on this one, i am only 1 week late..)
    I had a question about gacha plugin edit but i soilved it sooo.... If you need to edit the position of the "summoned" item.
    You can edit the line JS file line 620, 621.

    Window_GachaGet.prototype.initialize = function(x, y, width, height) {
    Window_Base.prototype.initialize.call(this, x, y, width, height);
    this._item = null;
    this._itemDescEnable = true;
    this._gachaSprite = new Sprite();
    this._gachaSprite.anchor.x = 0.5;
    this._gachaSprite.anchor.y = 0;
    this._gachaSprite.x = width / 2 - 20;
    // this._gachaSprite.y = this.padding; (Original: Y)
    this._gachaSprite.y = height / 2 - 20; (Modified: Y)
    this.addChildToBack(this._gachaSprite);
    this.refresh();
    };
    2018-01-17 (2).png (Original position)
    2018-01-17 (3).png (Modified position)

    Also i found the rank line at line 471, 472
    this._rankSprite.x = this._getWindow.width / 2 + this._getWindow.x - 20;
    this._rankSprite.y = this._getWindow.contentsHeight() + this._getWindow.y;

    Hope it will help.
     

    Attached Files:

    #25

Share This Page