I want to share my high score as a image in Facebook.
So,How can I add text to an image or sprite?
Thank you
Develop games in your browser. Powerful, performant & highly capable.
pcgun007
you need to add a Drawing Canvas object, then paste the text object into it...
Can you please show me an example?
I can't find any option to paste
use the Drawing Canvas's "Paste Object" action, which is in the "Drawing: general" section.
then you have to "Save image" which will trigger an event when the image is ready. My sample just downloads the image, but that is where you would send it to facebook...
https://www.rieperts.com/games/forum/save_image.c3p
how to save to gallery on Android or iPhone?