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,512
Reaction score
11,998
First Language
English
Primarily Uses
RMVXA
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Anyone going to talk about Chris Pratt Mario?
My friend just gave me chocolate milk at lunch today! My day is now 1000x better. Yay, choco milky!! :kaojoy:
RivalRamen_Games wrote on jacobv1014's profile.
I really like your profile picture! Who is that in it? is she an OC?
Making his first game

Forum statistics

Threads
115,331
Messages
1,089,077
Members
149,999
Latest member
Nasciturus
Top