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

headshot_headshot.jpg
The theory has been proved. Based on an invisible image's data(the big red dot in the previous image), RM can identify different parts of an enemy and do something respectively. :kaojoy:
Ok.. coding what should be a simple "everyone is petrified and therefore dead, now go to game over screen" shouldn't involve needing to become Dr. J and dunking from the free throw line(my way of saying "jumping through hoops").
Hmmmm... how many xrays til I get super powers?
..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).
headshot_headinfo.jpg
Time to add the "headshot" concept into the game so that people may actually aim at the heads when shooting zombies and get massive damage and armor-pen bonus as rewards. :kaojoy:
(The red area is just for visually debug purposes right now. But, it's possible that I will add something that displays the weak spots of enemies in the future.)

Forum statistics

Threads
115,381
Messages
1,089,419
Members
150,096
Latest member
sanriosimp
Top