I read that when exporting to Intel/CocoonJS XDK there are many functions that don't work - including text objects. If I have a variable that I would normally display via text object, what would be a good workaround? Is there a way I could use sprites instead? I couldn't find a tutorial for this. I'd really like to know if there's a way, because my main goal is to develop some iOS apps. Thanks!
You can use sprite font with CocoonJS: https://www.scirra.com/manual/166/sprite-font
Here's a link to my Tutorial on Sprite fonts. I never use regular text for anything other than debugging anymore.
+1 I only ever use spritefonts, even for desktop, html5. It looks best no matter what.
Thanks for the response. I saw the thing on sprite fonts but was unsure as to whether or not it was supported. Thanks for clearing that up! You guys rock!
Develop games in your browser. Powerful, performant & highly capable.
Where did you read text objects don't work? They should work on all the platforms you mentioned. If our own docs said that then we need to update them.
Ashley, this is where I saw that Textbox doesn't work: I've realized since making this post that that's a form control and is difference from the text object, so sorry for the confusion. I still plan on following the tutorials for the sprite text, though. It adds a really nice aesthetic.
Oh I just realized my rep isn't high enough to post links - anyway, I saw it on the guide for exporting to CocoonJS, but as I said, I was confused, lol.