How is MV "drawing" text in game?

● ARCHIVED · READ-ONLY
Started by Guanto 6 posts View original ↗
  1. I mean specifically what is it using in the end, like ctx, pixi, html/css?

    Assuming someone who has been intimate with the js would be my best bet.
  2. Pixi I believe. Haven't peeked much at the Pixi library or the Core plugin, but I assume it's Pixi.

    Be nice if someone can confirm, because I'm really not sure lol.
  3. No, MV doesn't draw text via pixi. It draws text on a new bitmap via canvas2d and then blits it onto the window contents. Blitting like this can also be seen when mv makes a window.
  4. Poryg said:
    No, MV doesn't draw text via pixi. It draws text on a new bitmap via canvas2d and then blits it onto the window contents. Blitting like this can also be seen when mv makes a window.

    So you are saying, when all is said and done I am seeing text on my screen because of:
    Code:
    ctx.font
    Et al.

    And then it is using something (javascript again?) to blit (which I haven't done since the FLash days, lol).

    Correct?
  5. That's it.