Skip to content

pixowl/soomla-cocos2dx-core

 
 

Repository files navigation

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 design, economy modeling, social engagement, and faster development.

soomla-cocos2dx-core

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

    soomla::CCSoomla::initialize("customSecret");

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.

You can start by using the more common features in core by including the Cocos2dxCore.h header.

  #include "Cocos2dxCore.h"

Download

####Pre baked zip:

soomla-cocos2dx-core 1.3.0

From sources:

  • Clone this repository recursively: git clone --recursive https://github.com/soomla/soomla-cocos2dx-core.git
  • Run ./build_all from project directory
  • Take created binaries from build directory and use it!

Our way of saying "Thanks !"

Other open-source projects that we use:

Contribution

SOOMLA appreciates code contributions! You are more than welcome to extend the capabilities of SOOMLA.

Fork -> Clone -> Implement -> Add documentation -> Test -> Pull-Request.

IMPORTANT: If you would like to contribute, please follow our Documentation Guidelines. Clear, consistent comments will make our code easy to understand.

SOOMLA, Elsewhere ...

License

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

About

Core library for all SOOMLA open source projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • C++ 20.3%
  • Objective-C 4.0%
  • Java 3.6%
  • Objective-C++ 3.0%
  • C 0.9%
  • Other 0.7%