Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.19 KB

README.md

File metadata and controls

54 lines (37 loc) · 2.19 KB

This project is a part of The SOOMLA Framework which is a series of open source initiatives with a joint goal to help mobile game developers do more together. SOOMLA encourages better game designing, economy modeling and faster development.

soomla-cocos2dx-core

When using the SOOMLA framework, you always start by initializing the core module:

    __Dictionary *commonParams = __Dictionary::create();
    commonParams->setObject(__String::create("ExampleCustomSecret"), "customSecret");
    soomla::CCServiceManager::getInstance()->setCommonParams(commonParams);

This sets up the local on-device database used by SOOMLA. The secret is used for encrypting the data, make sure to choose a good one.

This core library holds common features and utilities used by all other modules of the SOOMLA framework. It includes:

  • An encrypted key-value storage (SQLite based) for persisting data locally on devices.
  • Utilities for JSON and __Dictionary manipulation.
  • Utilities for Logging and encryption.
  • Reward domain objects and events - used to grant your users rewards.

SOOMLA modules internally use these features, though we encourage you to use them for your own needs as well. For example, use our key-value storage for custom game data for usage across game sessions.

Our way of saying "Thanks !"

Other open-source projects that we use:

Contribution

We want you!

Fork -> Clone -> Implement —> Insert Comments -> Test -> Pull-Request. We have great RESPECT for contributors.

Code Documentation

We follow strict code documentation conventions. If you would like to contribute please read our Documentation Guidelines and follow them. Clear, consistent comments will make our code easy to understand.

SOOMLA, Elsewhere ...

License

Apache License. Copyright (c) 2012-2014 SOOMLA. http://project.soom.la