Black box appears when I draw text

Halimatus

  • Posts: 7
When I test game it works well for a bit, the text appears fine, but then it suddenly turns into a big black box. Im using windows and I test on HTML5.  Please help me I would really appreciate it.

Royagers

  • *
  • Posts: 40
Attach your blocks that used to display the text please.

Halimatus

  • Posts: 7
this is the screenshot of the blocks and what happens

Royagers

  • *
  • Posts: 40
What layers does a scene have?

You should add a "Drawing layer" block before the "Draw text" block.
And try adding a top tile layer in your scene with name HUD (for example) and use it to drawing text.
I've attached a screenshot.

Royagers

  • *
  • Posts: 40
And attach a screenshot with your font please.

Halimatus

  • Posts: 7
I've tried what you asked me to do, but unfortunately it still didnt work

heres the screenshot of the font i use and what i did

thanks for using you time to help me btw  :)

Royagers

  • *
  • Posts: 40
Did you try another font? For example, default font in Stencyl?

Halimatus

  • Posts: 7
yes, i've tried three different fonts

Royagers

  • *
  • Posts: 40
Are you using Stencyl version 4.0.4?
I'm just working in Stencyl 4.1.0-beta and I don't have such a problem.

Halimatus

  • Posts: 7
yes i am, is that the cause?

Royagers

  • *
  • Posts: 40
May be, I don't know.
Try ask your question in Stencyl's discord channel: https://discord.com/channels/209323692205932544


Royagers

  • *
  • Posts: 40
You can try to create a blank game with one scene and check the text drawing in it.
If the text doesn't display, then the problem is in the version 4.0.4 of Stencyl. Otherwise, there is a bug in your game.

Halimatus

  • Posts: 7
alright, thank youu