Skip to content

Extensions for Cocos2dx: Dynamic Font Management, HTML Widget, Powerful Asset Management...

Notifications You must be signed in to change notification settings

11lin/cocos2dx-ext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cocos2dx-ext

By https://github.com/happykevins/cocos2dx-ext

Thanks kevins.

  1. supprot cocos2d-x 2.2.5
  2. supprot ios 64bit
  3. support android
  4. support lua
  5. fix bugs

Extensions for Cocos2dx: Dynamic Font Management, HTML Widget, Powerful Asset Management...

  • CCHTMLLabel Sample:

luaCode

create font:

FontFactory:instance():create_font("fontSizeBorder16", "fonts/FZYiHei-M20S.ttf", 0xffffffff, 16, e_border, 1, 0xff000000, 0,72);

use:

local label=CCHTMLLabel:createWithString(<font face=\"fontSizeBorder16" color=\"#ff0000\">red</font>)
self.rootNode:addChild(label)

About

Extensions for Cocos2dx: Dynamic Font Management, HTML Widget, Powerful Asset Management...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.2%
  • C 6.6%
  • Makefile 2.2%