AndreasR's Forum Posts

  • You can get the plugins here <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    https://www.scirra.com/store/construct2 ... ugins-1662

  • Hi cranberrygame

    Is it possible to add to the "CordovaIAP" plugin following feature?

    Expression

    • NumberOfProducts

    This expression should contain the number of products when calling "Request store listing".

    • ProductIDAt(i)
    • ProductNameAt(i)
    • ProductLocalizedPriceAt(i)
    • ProductDescriptionAt(i)

    The CocoonInApp plugin does have those features if you want to check it.

    https://github.com/CocoonIO/cocoon-plugins-c2

    I want to loop through the list like in your example API:

    window.iap.requestStoreListing(productIds, function (result){
        /*
        [
            {
                "productId": "sword001",
                "title": "Sword of Truths",
                "price": "Formatted price of the item, including its currency sign.",
                "description": "Very pointy sword. Sword knows if you are lying, so don't lie."
            },
            {
                "productId": "shield001",
                "title": "Shield of Peanuts",
                "price": "Formatted price of the item, including its currency sign.",
                "description": "A shield made entirely of peanuts."
            }
        ]
        */
        //alert(JSON.stringify(result));
     
            for (var i = 0 ; i < result.length; ++i){
                var p = result[i];
                
                product_info[p["productId"]] = { title: p["title"], price: p["price"] };			
                
                alert("productId: "+p["productId"]);
                alert("title: "+p["title"]);
                alert("price: "+p["price"]);
            }
        }, function (error){
            alert("error: "+error);
        });
    }, false);
    [/code:vbt26syx]
    
    Thank you!
  • Just call the Cordova Powermanagement Action "Acquire Screen" on start of your layout.

    This will keep the screen from going into standby.

    But keep in mind to install this cordova plugin to your Cocoon project or whatever build tool you use.

    <plugin name="https://github.com/cranberrygame/cordova-plugin-powermanagement" />[/code:2gro7ie9]
  • Fantastic! I will gladly buy this, even though I have the firebase accounts from the seller already.

    I requested this feature, and within a week, the seller had it online. Love the fancy look to the leaderboard! It's fantastic!

    Can't stress enough how helpful the seller is with support.

    Many thanks, this is a great help!

    Thank you very much for your feedback

    I'm glad the template is helpful for you!

    best,

    Andy

  • Seems to be a problem with the database migration to another server.

    Hopefully this will be fixed soon.

  • Firebase Leaderboard — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/firebase-leaderboard-4325

    <h3>About</h3><div class="deshr"></div><p>Get a online leaderboard powered by Firebase! The template comes with a graphical (fully editable) ranking table!</p><p>Also it has a complete game account solution on board!</p><h3>Features</h3><div class="deshr"></div>

    • Optimized for HTML5 (Web) and Desktop games
    • Game Account with coin and inventory sync to a firebase database (array sync)
    • fully commented and online documentation available!

    <h3>Includes</h3><div class="deshr"></div>

    • Capx file
    • Used Firebase Addons (made by rexrainbow)
    • Asset (as .ai and .png)
    • URLs for support and documentation
    • Support & Updates

    <h3>Important</h3><div class="deshr"></div><p>1) I do not recommend this template for beginners! The firebase handling can be confusing for fresh Construct devs.</p><p>2) The game template WILL NOT work with Cocoon's Canvas+ engine. Also WebView is not tested (may work however).</p><p>3) Customization is not covered by support</p>

    Use this topic to leave comments, ask questions and talk about Firebase Leaderboard

  • New version is on upload!

    The upcoming version will include Firebase Leaderboard features!

    Please see the complete changelog here

    https://shatter-box.com/knowledgebase/f ... #changelog

  • Hi AndreasR, Its a wonderful product and I am really enjoying using it

    I did do what you have said about using the Cordova version and working a treat thanks

    I am waiting on a reply from a friend of mine who will look into porting the cocoon plugins, but he is very busy so will just have to hope he finds the time lol

    Thanks for getting back to me

    Being new, I am just trying to work out how i spawn my player at a given point/locaion withing my 'game area', I am sure a little 'google kung fu' will uncover the method lol

    Hi!

    I'm glad that this worked for you If you need any further help, don't hesitate to ask.

    It would be awesome if your friend ports the plugins to C3!

    Then I finally can purchase my Construct 3 license

    Thank you!

    All best,

    Andy

  • What gets better performance, C3 build or cocoon build service??

    I haven't tried C3 export jet. But I guess it's the same performance as Intel XDK built games had.

    If you have C3, just make the test. Build once with cocoon and once with C3. I have no C3 license do so, yet.

    Best,

    Andy

  • That's awesome! Really looking forwards to the leader board addition!

    Many thanks for listening to your customers Andy.. Best, developer, EVER!

    You're welcome! I'm always glad to help out

    Thanks!

  • Your template is amazing!

    I got it working with my own firebase account and it is updating the database in real time.. It does what it says it will perfectly. You just saved me a lot of time!

    Thank you so much

    I'm glad it helped you out! Let me know if you need any further help.

    I'll start implementing the Firebase Leaderboard this week. I'll keep you posted.

    Best,

    Andy

  • Hi, I am having the same problem as poster on the top of the page..but in Construct 3, are there cocoon addons converted from c2 to c3 any place please?

    Hi!

    Thank you very much for your purchase.

    Sadly the Cocoon plugins haven't been ported to C3 yet.

    However the Cordova Plugins are. So you can use the cordova version included in the package.

    The MGT was originally developed for Construct 2. But I want to port all to Construct 3 once Ludei has converted their plugins.

    The plugins are open source, so basically any JS developer with the needed knowledge can convert the plugins.

    https://github.com/CocoonIO/cocoon-plugins-c2

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's great! Thanks Andreas!

    I was looking at your json encryption originally, (I am a teacher, and my students would easily figure out an un-encrypted json) and then I thought I would check out your other things ~ this would be much better than saving their game locally!

    Looking at your items, I am like a kid in a candy store haha!

    So, once a user logs in, it has the ability to save the players progress using an array? I could use it for points, awards, unlocked items etc? If so, it is just what I have been looking for!

    Glad to hear that

    About the template, yes it saves data as array / dict. (at the moment an inventory) to firebase. So you easily can adjust this to save custom values in the array and submit it

    to Firebase on each change.

    Let me know if you need any help.

    Best,

    Andy

  • Hi.

    Does this work for pc / mac browser based games that are privately hosted? Many thanks.

    Been looking through your stuff on the store ~ amazing! Many of them are just what I am looking for.

    Hi adamlg

    Thank you very much for your comment. It should work on any browser aslong as you are connected to the internet.

    The template needs to connect to firebase to get the data.

    If you need any further information, feel free to ask!

    I'm gald that you like my items, thanks!

    Best,

    Andy

  • For me it's still cocoon. It's the easiest way and offers the best performance so far.

    https://shatter-box.com/knowledgebase/cocoonio/

    Also the new C3 native export is worth trying. However this needs a active Construct 3 subscription.

    Best Andy