Jump to content

Parts of text with different styling?


tonlonbe
 Share

Recommended Posts

How can I use multiple text styles in a single text layer? To be more specific on what I want, I'm trying to apply opacity to certain characters in a text.

I'm trying to replicate exactly this typewriter effect:

g4W1h6u.gif

As you can see, it makes use of opacity manipulation for each character.

From what I researched, PIXI by default does not support this. Has someone managed to accomplish something similar that would like to share how? :)

Link to comment
Share on other sites

There are a number of projects for pixi-v4 related to text, maybe something works . 

https://github.com/avgjs/pixi-richtext  - maybe it supports your thing.

https://github.com/pixijs/pixi-ui/ doesnt have proper docs but code is good and author answers questions

I think I'll port pixi-tichtext to v5 soon.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...