LGP - Better Damage Popup

Discussion in 'JS Plugin Releases (RMMV)' started by Azel, Jul 14, 2018.

  1. Jufry_A

    Jufry_A Villager Member

    Messages:
    8
    Likes Received:
    2
    Location:
    Jakarta
    First Language:
    Indonesia
    Primarily Uses:
    RMMV
    I want to show 0 damage, how to do it?
    Thanks
     
    #61
  2. Jrrkein

    Jrrkein Insert Witty Title Here Veteran

    Messages:
    131
    Likes Received:
    17
    First Language:
    Indonesia
    Primarily Uses:
    RMMV
    Hey, I got an error again its about length thing
     
    #62
  3. RespectWomen

    RespectWomen Acoustic Child Veteran

    Messages:
    57
    Likes Received:
    14
    Location:
    Brooklyn, New York
    First Language:
    English
    Primarily Uses:
    RMMV
    How exactly are elemental popups done? that's the only part I'm missing.
     
    #63
  4. Nectar

    Nectar Fried Ore0s Veteran

    Messages:
    110
    Likes Received:
    16
    First Language:
    English
    Primarily Uses:
    RMMV
    It's amazing, thank you for sharing!
     
    #64
  5. Iqus

    Iqus inVictor Member

    Messages:
    27
    Likes Received:
    11
    Location:
    England
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Any way to deactivate state popups?
     
    #65
  6. Gregaur

    Gregaur Veteran Veteran

    Messages:
    89
    Likes Received:
    11
    First Language:
    french
    It seems that LGP left the forum for a while... That's is sad as his plugin is great but miss a few function.

    Does anyone with JS skill wanna complete it ?
     
    #66
  7. Zemtax

    Zemtax Secret Open World Game Dev Veteran

    Messages:
    42
    Likes Received:
    21
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    If anyone wants to disable the state popups:

    Find the following code:
    Sprite_Damage.prototype.drawState = function() {
    var result = this._result;
    var code = LGP.Param.BDPdrawStateCode;
    this._spriteIds["state"] = this.children.length;
    if (code !== '') {
    try {
    eval(code);
    } catch (e) {
    LGP.Util.displayError(e, code, "DRAW CUSTOM STATE POPUP ERROR")
    }
    } else {
    this.drawDefaultState();
    }

    };
    Just comment out what's inside the function like so:
    Sprite_Damage.prototype.drawState = function() {
    /* var result = this._result;
    var code = LGP.Param.BDPdrawStateCode;
    this._spriteIds["state"] = this.children.length;
    if (code !== '') {
    try {
    eval(code);
    } catch (e) {
    LGP.Util.displayError(e, code, "DRAW CUSTOM STATE POPUP ERROR")
    }
    } else {
    this.drawDefaultState();
    }
    */
    };

    I'm no JS expert, but it seems to work just fine without any issues, if not, maybe someone more experienced with JS can chime in.
     
    #67
  8. BreakerZero

    BreakerZero Veteran Veteran

    Messages:
    639
    Likes Received:
    267
    First Language:
    English (USA)
    Primarily Uses:
    RMMV
    There also seems to be an issue with the popups themselves. Text is being partially cut off (specifically meaning that the top of the text is cut off) and the effect up/ineffective/critical seem to completely ignore the font size. Not sure if it's my setup or something else (this also affects the SRD version somewhat but not VE which is not as effective with Yanfly which is a requirement at this point in my project) but if someone could look into this I'd appreciate it.
     
    #68
  9. Ashfell

    Ashfell Veteran Veteran

    Messages:
    82
    Likes Received:
    28
    First Language:
    english
    Primarily Uses:
    RMMV
    awesome plugin but do you have any links to older versions or is the 1.6 the only version you made?
    if you have older versions for like 1.5.2 or older would be awesome to add to a dl list for some of us that dont want to risk updating
     
    #69

Share This Page