AndreasR's Forum Posts

  • I've try Shatter box tutorial, and yes, it works. But not for the game screen, it become like this picture when i open the game using my phone.

    Somebody can help me please?

    Thanks.

    Hi, that bug actually should be fixed.

    Can you send me your .zip file (the one you upload to the cocoonIO compiler) in a private message?

    Then I will debug it for you.

    Regards

  • Hi,

    This is how it works.

    Acquire: Starts keeping the screen awake.

    Release: Stops keeping the screen awake.

    So trigger acquire on the start of the first layout. The screen will stay awake till you release it with "Release".

    Regards

    Andy

  • Thank you, Yeah, nothing I have found has been helpful at all. Always leads to a dead-end.

    Ashley, do you have any sure-fire suggestions?

    You can download the plugins here: https://shatter-box.com/downloads/cranb ... n-package/

    Use the "Phonegap Powermanagement" plugin.

    Install it, insert it in your project and add "On start of layout - Acquire"

    Docs: https://shatter-box.com/knowledgebase/p ... anagement/

    Note that cranberrygame (the plugin author) now only makes paid updates / support. The plugins in those package are the latest free available versions, so there might be newer (premium) versions. You can get the permium plugins here: https://plus.google.com/communities/117 ... 5005605917

    But the Power Management plugin works fine <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Rhindon grigrizljac

    Thanks for letting me know. I fixed that

  • HI Andreas R.

    What would recommend.

    I have a game that I have been working on and would like to use the Modular Game Template(MGT) with it.

    What would be the best approach.

    1: uses MGT and over the game events sheet and levels by importing my game code into is.

    2: Copy to MGT events sheets into my game.

    Many thanks

    Henry

    Hi,

    well that's a difficult question. It depends of the size of your game.

    The best would be to build your game in the MGT (if you want to use all modules),

    but if you just want to use a few, like the ads or the level selection, it might be better to copy those functions in your existing game.

    So there is no general solution, you just need to find out what the "easiest" way is to achieve your goal

    Let me know if you have any other questions!

    Regards

    Andy

  • Hi,

    I'm not sure if this is an issue or not, but I don't get notifed on new comments from my tutorials.

    It would be great if this would work the same way than the notification of new replies in the forum.

    Thanks!

  • Hi,

    You have to perform a "Check item exists" before the "On item exists will be triggered.

    So add an aciton on the start of the layout "Check "Settings" exists".

    If so, it will be loaded from the LocalStorage, if not, then not.

    Regards

  • Nice! I was just about to look into building with Cocoon and testing it out, so this will help out a lot! Thank you!

    You're welcome, I'm glad to help

    Great. Thanks AndreasR.

    You're welcome

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi guys,

    I released a tutorial and free capx example showing you how to build your games with Cocoon.IO.

    Tutorial: https://www.scirra.com/tutorials/4851/c ... h-cocoonio

    Let me know if I missed something.

    Regards

    Andreas

  • this is version 200

    https://www.dropbox.com/s/4yfw5s6zmokop ... .capx?dl=0

    i'll really thankful to you for you helping hand

    I checked your capx file.

    Go to event sheet 2 and then delete "Load Save Game from Slot..."

    Then it should work.

    The Save Game function has nothing to do with localstorage.

  • Instead of restart the layout after the player had died you can just set his position back to beginning. Then the collected coins are still gone.

    Would be the easiest way I guess

  • Hi Helga

    Welcome to the community. Yes this is possible. If you want to develope an android game you can use coins and IAP (InApp Purchase).

    For HTML5 game you can use the built in IAP plugin from scirra.

    You will find a lot of tutorials here: https://www.scirra.com/tutorials/search?q=shop

    Or some examples in the Store <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Regards

  • >

    > > i have variable in sheet one

    > > but sheet 2 is not getting sheet 1's update value

    > >

    >

    > Please provide always a capx example, otherwise it's nearly impossible to say what your issue is.

    >

    > Regards

    >

    here is capx

    https://www.dropbox.com/s/yhwozpqlcbwle ... .capx?dl=0

    Hi,

    I already saw your capx example. But you are using a beta version and I use the latest stable version.

    So I'm not able to open your project. I don't want to use a beta version for my projects-

    Do you have an older version of it? Otherwise we have to wait till the stable version comes out.

    Regards

  • Ne7herM0St

    A Snapshot from the ad code is sufficient

  • > then be sure that you have set Test Mode to false

    >

    it is, i think i might have fixed the issue but now intel xdk is giving me problems.

    When it exports projects is supposed to add 6000 to the x86 version number and 2000 to the arm version number, however it isn't doing that so the version number is lower than my old one,which stops me from uploading it to google play.

    EDIT

    Nope it still doesn't work :/ everythings set up fine as far as im concered...

    Can you provide a capx example from your ads code? Otherwise it's hard to say where the issue comes from.

    Regards