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

Latest Threads

Latest Posts

Latest Profile Posts

SA57Face.pngSA57_IDLE.gifThis is just a "Chinese opera actor" who is totally not a serial killer. Now, we just need to clean up a pile of dead bodies found in his backyard. :kaojoy:
E7DsT3VXsAInVpu

working on my avatar, because i couldn't stand looking at it anymore :D
still not finished though...
alpacaraptors = love!
''Finds icons that fits the game you're making'' Only covers 20% of what you need :p

Forum statistics

Threads
113,585
Messages
1,076,013
Members
147,569
Latest member
justinecaila
Top