Show Text

Discussion in 'JS Plugin Requests' started by jackken123, Dec 10, 2017.

  1. jackken123

    jackken123 Veteran Veteran

    Messages:
    81
    Likes Received:
    7
    First Language:
    Chinese
    Primarily Uses:
    RMMV
    Hi,
    I got a question about show text.

    Hello World!

    How can I do this.
    Cross the text.
    In show text.

    Thank you.
     
    #1
  2. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,167
    Likes Received:
    10,322
    First Language:
    English
    Primarily Uses:
    RMVXA

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

     
    #2
  3. Shaz

    Shaz Veteran Veteran

    Messages:
    37,184
    Likes Received:
    11,053
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    You can't, without a plugin.
     
    #3
  4. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,167
    Likes Received:
    10,322
    First Language:
    English
    Primarily Uses:
    RMVXA
    In that case, I shall move this again to

    JS Plugin Requests

     
    #4
    Joy Diamond and Shaz like this.
  5. JGreene

    JGreene Dogs? They're all puppers Veteran

    Messages:
    359
    Likes Received:
    271
    First Language:
    English
    Primarily Uses:
    RMMV
    Tried editing Yanfly's message core to include strike through, but that didn't register at all.

    Also tried using JS syntax in a variable, but it just returned:
    " <strike>Hello World</strike> "

    So far haven't found any clues on how to do this properly, but I'll keep looking.
     
    #5
  6. Ruiran

    Ruiran Veteran Veteran

    Messages:
    78
    Likes Received:
    29
    First Language:
    English
    I did some digging in the Js code, and from what I can gather text is drawn using the canvas fillText() function, which means the only way to get strike though text would be to draw a line over the text you want to strike through something like this . It would probably work via special characters for Show Text.
     
    #6
  7. Ruiran

    Ruiran Veteran Veteran

    Messages:
    78
    Likes Received:
    29
    First Language:
    English
    Here you go :

    This plugin will allow you to use strikes in Text from the Show Text Event Command, to have the text with a strike on it use the format
    (including the space between \Se and the TEXT). n stands for the strike thickness, with 9 being the maximum value. It is really quirky at the moment, and I'll try to improve it when I have the time.
     
    #7
    Joy Diamond likes this.

Share This Page