AndreasR's Forum Posts

  • Hi guys,

    I'm working on a full guide E-Book (pdf) for all CocoonJS relevant features (also admob and mopub).

    I think I'll finish it in about 2 weeks. So now you have the chance to tell me what you want in this guide <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    The Preview Release is online: http://shatter-box.com/downloads/constr ... ull-guide/

    So feel free to download it, just choose the 'Full Free Download' during checkout.

    Up to now I'll add (all with capx examples):

    • Installation & Update of the new, external Plugin
    • Complete Ads Setup (Banner & Fullscreen)
    • IAP Purchase for Google Play Store (I don't have an Itunes Acc. but if someone can share this part with me, I'll add it too)
    • Google Play Games Service (Leaderboard with Achievements)
    • Some basic stuff about CocoonJS Plugin

    What do you guys think about this? Do you want this guide? <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Tom

    Is it possible to pay with the deposit/balance in the store? If no, this would be a great feature

  • Hey AndreasR, I'd send you a message but I'm not able to. I've got a game I'd like a leader board and achievements and I was wondering if your offer is still good? My email is

    Hi samuelnoonan13

    Thanks for your message <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> Have you tried my tutorial already?

    https://www.scirra.com/tutorials/1010/g ... hievements

    There you can download the example capx and try to implement it in your game. If you still stuck, you can drop me a line over this contact form.

    http://shatter-box.com/add-question/

    Select 'CocoonJS' as categorie (no registration needed)

  • Please try to enable the sandbox mode, compile the game, upload it on the store (in beta phase or something like that) install it on your device and trigger a purchase. But do not confirm it with 'ok' and make a screen shot for me.

    There should be a text saying you 'Test: this will not charge you' or something like that. You also should get a google wallet invoice. There you also can read that it was just a for testing (it worked for me).

    https://wallet.google.com/manage/?refer ... filter=ALL

    Google will cancle the transaction after a few days/weeks of the test purchase. Then you'll get your money back.

  • Google play plugin ?

    Yes I know this plugin. But Ashley told us that it doesn't work with crosswalk. Or has this changed now?

  • A topic to read and take into account in regards to the current state of the cocoonJS plugin / C2.

    Sad to read this. But Ludei's CocoonJS Plugin is the onliest way to use the Google Play Game Service on mobile devices. Or did i miss something?

  • I'll have a look this weekend, shouldn't be too hard, I've already uses invite+share with ludei's facebook plugin (basically a simple FB.ui command)

    That sounds great! Keep us posted

  • Just set 'Store Sandbox' enable and set up your Items and prepare your game with this tutorial https://www.scirra.com/tutorials/645/in ... g-cocoonjs

    Then upload it to your Play Store Account and DOWNLOAD it via the Play Store (Otherwise IAP doesn't work). And you can purchase your items without getting charged. If you feel ready deactivate the Sandbox Mode and store is live <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Much cheaper Version here <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    http://shatter-box.com/download/codecan ... 35756.html

    139$ is just to much!

  • Try Construct 3

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

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

    I need to help a friend to connect my game with AJAX to get some states back. I've never worked with AJAX and he isn't familiar with Construct 2. Maybe some of the community can help us out.

    Information

    [quote:3t65jpsd]What we need to do at the start is go to a file on our server and do an AJAX call ( which I'm told is easy to do in Construct 2) for the function getState(). Then if our program returns a state, the game should use that reconstruct the state of the program our student left it at. Our program will know which student the state is for, all the game needs to do is load up the saved state. If it gets nothing in return then it starts a new game.

    The game needs to save the state of itself often, so disconnecting randomly doesn't cause lost of major progress. To do this the game just calls the function in the same file called setState(state). doing this the game should give all the variables that are needed to recreate the progress of the game to our program. Such as how many levels where competed and which what score, stars, etc.

    Lastly, the game should kick a player out after about 7 minutes minutes. On your end all we need is for the game to decide after about 7 minutes of play time to end the game. If the player is in a level, it should wait until they either complete the level or lose. When either one of these events happen the game should go to the same file and (after saving the state) call the function gameBreak(). Then our side will handle taking the student out of the game and back into the rest of our program. Also if a player wants to voluntarily leave the game there should be an exit button which executes setState(state) and gameBreak()

    So to recap in a simpler way:

    To do this:

    1) On start the game should go to our php file and do a simple AJAX call. It should call the function getState(). This should get all the variables from our system.

    2) The game should do the call setState(state) often so progress isn't lost. This should save all the variables on our system.

    3) The game should call gameBreak() to tell our program it is time to kick a player out. Our program will handle kicking them out.

    Summary

    "/student/game/getstate"

    "/student/game/setstate/(statestring without "/"s)" OR "student/game/setstate" where AJAX passes the state string as POST data with name "state"

    and /"student/game/gamebreak"

    These will return a raw string.

    Can anyone help with the AJAX Part?

    Thanks a lot!!

    We give away a free redeem Code for our Mobile Game UI PSD File for the helpers

  • Description

    Get our next free Mobile Game UI for your free games!

    Download: http://shatter-box.com/downloads/modern-game-ui-hud/

    Note: You can checkout without an account. Just enter your name and your Email.

    Screenshot

    Want to share your free stuff?

    Just register an account and start uploading your stuff (only free stuff at the moment).

    IMPORTANT:

    Everyone who has opend and uploaded a free account at shatter-box will get a free redeem code for our Mobile Game UI's in the Scirra store!

    Note the license of this file!

    This Game UI is free for free games (available for free, monetizing via ads is also counting as a free game), but if you use it in commercial project (charge player for playing the game or sell it in one of your products) you need to purchase the commercial-license.

  • I'm not sure, but your demo shows another game then the screen shots? Which game do you sell? The Infinity Jumper Template or the Jungle Run game?

    I also would be carefully with your chalkboard game, because you sell the same at the envato marketplace too and your are an exclusive author as far as I can see.

    http://codecanyon.net/item/chalk-hangman/6693486

    Just be carefull with that;)

  • Mobile Game User Interface (PSD) — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-graphics/mobile-game-user-interface-psd-35

    <p>You need a cool style for your menu and game ui? Then check out this game UI. You can modify it or use it 'as-is' for your game.</p>

    Use this topic to leave comments, ask questions and talk about Mobile Game User Interface (PSD)

  • Mobile Game UI (PSD) - Scirra — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-graphics/mobile-game-ui-psd-scirra-58

    <p>You will get a complete Game UI as an Photoshop file. Just edit it like you want and extract the sprites you need ;)</p>

    Use this topic to leave comments, ask questions and talk about Mobile Game UI (PSD) - Scirra

  • I have tried this game

    https://play.google.com/store/apps/deta ... terbuttons

    And i also see ads. what phone do you use?