Message log à la Visual Novel-display issue

Do you mind that italics display bug?

  • Fix it!

    Votes: 2 100.0%
  • Don't bother.

    Votes: 0 0.0%

  • Total voters
    2
Status
Not open for further replies.

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,356
Reaction score
2,553
First Language
French
Primarily Uses
RMVXA
Hello,

I'm not sure if this is the right place, but I have a display problem and I was wondering if people would really mind it or not.

I have set up a message backlog system (similar to what Visual Novels do) but I encountered a bug: the italics don't stay that way.
upload_2017-5-6_11-49-0.png
The way I'm making my game (multi-language support that requires an external text file and a text processing script) doesn't allow me to tweak too much. It displays all right in the game message box, the issue only appears in the backlog.

I don't know if it's worth spending too much time trying to fix it. I seldom use italics in my game.
What should I do?
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,634
Reaction score
1,457
First Language
French
Primarily Uses
RMMV
Hello,

I'm not sure if this is the right place, but I have a display problem and I was wondering if people would really mind it or not.

I have set up a message backlog system (similar to what Visual Novels do) but I encountered a bug: the italics don't stay that way.
View attachment 63726
The way I'm making my game (multi-language support that requires an external text file and a text processing script) doesn't allow me to tweak too much. It displays all right in the game message box, the issue only appears in the backlog.

I don't know if it's worth spending too much time trying to fix it. I seldom use italics in my game.
What should I do?
you can easy setup pixi.text to get more rich text
basic style are this
and for italitc , fontStyle
Code:
{
        align: 'right',
        breakWords: false,
        dropShadow: false,
        dropShadowAngle: Math.PI / 6,
        dropShadowBlur: 0,
        dropShadowColor: '#000000',
        dropShadowDistance: 5,
        fill: 'black',
        fillGradientType: TEXT_GRADIENT.LINEAR_VERTICAL,
        fontFamily: 'Arial',
        fontSize: 26,
        fontStyle: 'normal',
        fontVariant: 'normal',
        fontWeight: 'normal',
        letterSpacing: 0,
        lineHeight: 0,
        lineJoin: 'miter',
        miterLimit: 10,
        padding: 0,
        stroke: 'black',
        strokeThickness: 0,
        textBaseline: 'alphabetic',
        wordWrap: false,
        wordWrapWidth: 100,
    }
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,356
Reaction score
2,553
First Language
French
Primarily Uses
RMVXA
@Jonforum - I guess you're talking about MV? I use VX Ace and have never heard about this pixi.text file.
And the problem is not that is it not displaying italics at all, just that only the first line until the automatic return carriage is in italics. The rest of the text is then displayed as normal text.
At least, I was able to make it auto-wrap!
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,356
Reaction score
2,553
First Language
French
Primarily Uses
RMVXA
After a good part of the night :stare: I managed to add a routine that reapplies the italics effect to each new line that should be displayed as such while leaving untouched "normal" lines.
Jc5CeSJ.png


Reporting for closure, all is well!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,511
Reaction score
11,995
First Language
English
Primarily Uses
RMVXA
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Sneak peak of my upcoming update! Who's holding her, you may ask? Find out tonight!
10.PNG
BCj
Finished another GUI! Turn indicator wasn't made by me.

ff981f8dc50b03cf58038c644334b454.jpg


3cb092fdc00087acfa0a190fd891f0ed.jpg
Added a small refining scene to my game.

It makes sense that you try to focus on the squishy mages at the back of the party first, right? If the mage can out-DPS the enemy DPS before the latter can kill the tank in front, the fight becomes boring.

Forum statistics

Threads
115,258
Messages
1,088,399
Members
149,858
Latest member
updateddlc
Top