This is a library for cocos2d-x 3.x applications. It provides UI elements in Material Design, such as Paper, InkButton, PaperDialog, etc. In additional, it has a set of animation utilities to simplify the use of cocos2d-x actions, such as SequenceBuilder, AnimationUtils, etc.
This library depends on cocos2d-x version 3.0 and over. In addition, Floreto library is required.
Steps to install the library and its accompanying resources:
- Put the library directory in the same parent directory of cocos2dx library, along with Classes, proj.android, etc.
- Copy all files in library Resources directory to application Resources directory. These files are used to create UI elements.
- In
AppDelegate.cpp, include the following file:
#include <Pyro/Common.h>- In
AppDelegate::applicationDidFinishLaunching, put the following line before creating the scene:
Pyro::Common::initResources();