Looking for HELP solving a projectile event bug!

Discussion in 'Javascript/Plugin Support' started by OktoberLove, Feb 11, 2019.

  1. OktoberLove

    OktoberLove Villager Member

    Messages:
    15
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    Ok! My fellow game devs, I have a challenge for you! So just for context let me explain what I'm trying to do:

    1. Keybind Button Common Events Plugin will make a button press = shoot a projectile event from the player across the screen
    2. Terrax Lighting attached to the projectile event itself *(basically shoot a lit up spell from the player)
    I've it gotten to work...for the most part.

    Here are the two bugs I've encountered:

    1. When the event button is pressed only once the projectile is fired but leaves the terrax lighting behind stuck to the player. However when the button is held down it works properly and terrax lighting stays attached to the projectile event as it is moving.

    2.The shooting event works fine when it is done using RMMV default IF Button is Pressed options. However when binding it through the plugin to a different key (ex. the A key) it seems to be delayed and sometimes not activate.

    This seems like something really simple that I'm just overlooking. If anyone would be kind enough to help me debug this I would be super grateful.
    I would scrap the idea but when its working it looks amazing and fits into my project perfectly. Thanks in advanced!

    XD
     
    #1
  2. mlogan

    mlogan Global Moderators Global Mod

    Messages:
    13,795
    Likes Received:
    7,616
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMMV

    I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #2
  3. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    734
    Likes Received:
    260
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    Hi! I will accept the challenge xD hauahauah
    Can you show some screenshot of the events you made? And the configuration with button common events?
    Or pherhaps a copy of project?
     
    #3
    OktoberLove likes this.
  4. OktoberLove

    OktoberLove Villager Member

    Messages:
    15
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks for the response!
    Here are some screenshots of the common event and the projectile event. Let me know if you need anything else!
    P.S. I solved the delay problem. Just need help with keeping the terrax light attached to the projectile when the key is pressed only once.
    CommonEss1.png CommonEventSS2.png CommonEventSS3.png CommonEventSS4.png ProjectileSS1.png ProjectileSS2.png
     
    #4
    Eliaquim likes this.
  5. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    734
    Likes Received:
    260
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    Ok! I will try to reproduce that and give you a answer! :)

    [EDIT] Hi!
    I try with the terrax light but same result: The light dont follow the projectile.
    But i manage to get it to work with other plugin that also uses light.

    https://forums.rpgmakerweb.com/index.php?threads/lighting-and-time-editor-continued.86409/

    its pretty simple. You put a notetag in the projectile event with the light.
    Then you can use plugin commands to turn the light off and on.
    You can configure radius, flick and pulse speed...
    I made it in another computer, as soon as i get to it again i send to you some screenshots. But i think if you try you can make it :)
     
    Last edited: Feb 13, 2019
    #5
    OktoberLove likes this.

Share This Page