M2D question
Can M2D draw text?
I am asking this because I didn't find information that PIXI can so I tought maybe it can on its own?
Can M2D draw text?
I am asking this because I didn't find information that PIXI can so I tought maybe it can on its own?
M2D is too barebones for now, it will allow to draw text in the future but for now all it can do is display sprites. I will be working on developing the API in the coming months.
PIXI.js can draw text, see https://pixijs.download/release/docs/PIXI.Text.html
I use PIXI.Text in my 'RIXI' test to show the 'Click Me' message, in case you need an example :)
Hmmm, took @gilles M2D example and added what I thought might work.
https://microstudio.dev/i/TinkerSmith/m2dtexttest/
Funny thing, I had to reverse the Y scale of the text, it showed up upside/down, LOL
The usual I don't know what I'm doing
approach, but maybe a good starting point for you to tinker with
Cheers