Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17083

cocos2d-x Label Load Image like Sticker-Smile..(by html or …)[SOLVED]

$
0
0

@HadiAbbasi wrote:

hi and sorry for my english..
i am using cocos2d-x (c++)...
can i load sticker (smile) in my Label(a text mixed by image)?
i know that we can load bitmap fonts by:

Label::createWithBMFont

also i know many frameworks like flash can load html texts by textbox which can contains img tags...
but what is the best way for adding smile image in the text of label in cocos2d-x??
can cocos2d Label load html text like :

"hello<br>How Are You<img src="..." width=".." height=".." alt="..">"???

thanks...

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>