Cocos Helper (Simplifies the process of adding external frameworks)

  • Sonar Systems admin
    Likes 0

    Problem Description

    A huge amount of your time is spent integrating external frameworks again and again using the same process which is annoying and laborious. Less time is therefore spent making your awesome game be as awesome as it could be.

    Solution Description

    Introducing; Cocos Helper (v1) by Sonar Systems.

    Simplify the process of implementing external frameworks in to your Game/Project, with this detailed guide: http://bit.ly/1JSLGz3

    No longer will you struggle and now you can spend more time on the important aspects, actually creating your Games.

    Frameworks this guide covers:

    • Google Play Services (Android)
    • Facebook (iOS and Android)
    • Twitter (iOS and Android)
    • AdMob (iOS and Android)
    • iAds (iOS)
    • RevMob (iOS and Android)
    • Chartboost (iOS and Android)
    • Gamecenter (iOS)
    • Google Analytics (iOS and Android)
    • MoPub (iOS and Android)

    Plus we have much more planned for the future.

    Good luck with your future endeavours. 

    #cocos2dx   #cocos2d   #cocos   #gamedev   #indiedev   #development   #gamedevelopment  


  • oronbz
    Likes 1

    Hi,

    This is great!

    Will you develop an API to call your Cocos Helper from Cocos2d-JS?


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

    It is on our list of tasks for the Helper, we have no ETA ATM but stay tuned to our social media for more updates.


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

    Cocos2d-JS version has begun :D


    This reply has been verified.
  • barabasandras1
    Likes 0

    I managed to create a project in JS and add Cocos Helper files to it. However my game crashes without a word when I implement Twitter and touch on the default button.

    Sometimes it just writes: JS: /data/data/org.cocos2dx.PrebuiltRuntimeJs/files/debugruntime/src/app.js:21:ReferenceError: SonarCocosHelper is not defined


  • Sonar Systems admin
    Likes 0

    Have you followed the tutorial?

  • aqeeliqbal
    Likes 0

    can i use cocos helper in my pro ject which i have created in cocos2d-x v2.2.6 ?

  • Sonar Systems admin
    Likes 0

    What feature do you want to use?

  • aqeeliqbal
    Likes 0

    i want it to use for ads networks.

    but its giving me error for #include UI/CocosGUI.h (which i think is in cocos2d-x v3.x not in v2.2.6)

    How do i integrate it?

  • Sonar Systems admin
    Likes 0

    Comment it out and anything linked to that aka the UI class

  • aqeeliqbal
    Likes 0

    its compiled .

    but i get this crash. – i am trying to show revmob ads. 

     

    2015-09-18 18:41:00.929 DiceHard[23044:946309] +[RevMobAds startSessionWithAppID:withSuccessHandler:andFailHandler:]: unrecognized selector sent to class 0xb8649c

    2015-09-18 18:41:01.038 DiceHard[23044:946309] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[RevMobAds startSessionWithAppID:withSuccessHandler:andFailHandler:]: unrecognized selector sent to class 0xb8649c'

    *** First throw call stack:

    (

        0   CoreFoundation                      0x05a3b746 __exceptionPreprocess + 182

        1   libobjc.A.dylib                     0x055fba97 objc_exception_throw + 44

        2   CoreFoundation                      0x05a435a5 +[NSObject(NSObject) doesNotRecognizeSelector:] + 277

        3   CoreFoundation                      0x0598a287 ___forwarding___ + 1047

        4   CoreFoundation                      0x05989e4e _CF_forwarding_prep_0 + 14

        5   DiceHard                            0x00206a8b -[IOSHelper initialise] + 283

        6   DiceHard                            0x001a8797 _ZN12IOSCPPHelper5SetupEv + 55

        7   DiceHard                            0x000ee810 _ZN5GTAds18initWithDictionaryEv + 32

        8   DiceHard                            0x000ee72b _ZN5GTAds10initializeEv + 235

        9   DiceHard                            0x00217fe1 _ZN11AppDelegate29applicationDidFinishLaunchingEv + 2449

        10  DiceHard                            0x0063b7a2 _ZN7cocos2d13CCApplication3runEv + 34

        11  DiceHard                            0x00219e48 -[AppController application:didFinishLaunchingWithOptions:] + 664

        12  UIKit                               0x0217af87 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 287

        13  UIKit                               0x0217bd71 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2938

        14  UIKit                               0x0217f3d2 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1639

        15  UIKit                               0x021988ee __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 59

        16  UIKit                               0x0217dffa -[UIApplication workspaceDidEndTransaction:] + 155

        17  FrontBoardServices                  0x0b837c9e __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71

        18  FrontBoardServices                  0x0b83772f __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54

        19  FrontBoardServices                  0x0b849d7c __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 30

        20  CoreFoundation                      0x0595d050 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16

        21  CoreFoundation                      0x05952963 __CFRunLoopDoBlocks + 195

        22  CoreFoundation                      0x059527bb __CFRunLoopRun + 2715

        23  CoreFoundation                      0x05951a5b CFRunLoopRunSpecific + 443

        24  CoreFoundation                      0x0595188b CFRunLoopRunInMode + 123

        25  UIKit                               0x0217d9b2 -[UIApplication _run] + 571

        26  UIKit                               0x021810b6 UIApplicationMain + 1526

        27  DiceHard                            0x002209cf main + 95

        28  libdyld.dylib                       0x09264ac9 start + 1

        29  ???                                 0x00000001 0x0 + 1

    )

    libc++abi.dylib: terminating with uncaught exception of type NSException

  • Sonar Systems admin
    Likes 0

    Any reason you cant use the latest version of Cocos2d-x


    This reply has been verified.

Login to reply