You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just want to point out that the code below works if your component has DOM, but not Canvas (and obviously not WebGL, which doesn't seem to support text yet):
Crafty.e("Text").text("hi\nthere")
Renders in Canvas as hi there and in DOM as:
hi
there
Tested with v0.9.0.
The text was updated successfully, but these errors were encountered:
Just want to point out that the code below works if your component has DOM, but not Canvas (and obviously not WebGL, which doesn't seem to support text yet):
Crafty.e("Text").text("hi\nthere")
Renders in Canvas as
hi there
and in DOM as:Tested with v0.9.0.
The text was updated successfully, but these errors were encountered: