Aekiro's Forum Posts

  • Performance will be the least of your issues.

    As a long time user, here's my advice, C2 can be used for :

    • Prototyping games
    • making games that do not deal with: a lot of data, complex dynamic UI, animated UI or anything animated, fancy custom effects.
    • big projects: developing good practices to write maintainable event-sheets is actually harder that written code lol
    • web games; making native games with an html5 engine is funny.

    And you better have a lot of patience: a lot of stuff can be done with C2 just like you can dig a hole with a spoon, it works but so inefficient.

    All in all C2 is a great for a starter !

  • Closing projects is also slow and freezes the editor.

  • What if you modify your generation algorithm to be this way : generateLevel(difficulty) . This way you can give points according to the level's difficulty.

  • You can find some directions here :

  • Yes, use the "Request hi-score board" action.

    Then "On hi-score" event you can retrieve the info about each entry in the leaderboard (HiscoreName, HiscoreRank)

    More infos:

    https://www.scirra.com/manual/112/facebook

  • This is the official Facebook plugin + Email expression

    https://ufile.io/f1p4k

    1- You login with facebook

    2- You can retrieve the email in the "on name available" using the email expression

  • The C2 Facebook plugin cannot retrieve emails. But there's a modified version of it that can:

    https://www.scirra.com/forum/plugin-mod-to-facebook-plugin-email-and-token_t76595

  • [quote:2nzg63c4] An Addon and a plugin are two distinct things - Addons are things like Data & Storage, Form Controls etc? whereas plugins are third-party code designed to bridge specific gaps?

    Yes; but since addon and plugins are both generic terms terms that means practically the same thing, don't forget to be specific: construct add-on/plugins , phonegap plugin.

    [quote:2nzg63c4]I've not done this - where do I need to add (window.plugins.socialsharing.share) ?

    It's in the tutorial you have been following.

    [quote:2nzg63c4]just checked this url out - it's a paid service, correct? I'm guessing the $9.99p/m option is the one everyone goes for?

    Dont pay for it, there's a free tier.

    [quote:2nzg63c4].although I don't know what Cordova actually is)

    https://www.quora.com/What-is-the-diffe ... its-engine

    They both do the same thing which is wrapping your html5 game into an app ready to be published in the store. Cordova is free and you use it locally (no online build service). Phonegap is owned by Adobe, and it's basically Cordova plus some useful features.

    [quote:2nzg63c4].what it is I'm asking or where to ask.

    Implementing the share function is done in 2 steps:

    1- calling the share function in C2 in your eventsheet (as explained in the tutorial).

    The share function is part of a phonegap share plugin. So step 2:

    2- the build service has to find and add the phone gap share plugin, otherwise you function call won't work.

    So just ask how to use the social share plugin (.https://github.com/EddyVerbruggen/Socia ... Plugin.git) in construct 3

    I don't use construct 3 yet so I have no idea either. But Adobe build service is fine.

    Btw this the wrong sub forum.

  • That tutorial you read is from 2015;

    .c3addon are for Construct3 which came out only recently.

    Again, .c3addon are not Phonegap plugins. c3addon are installed to add new functionalities to Construct.

    Phonegap plugins are not installed inside of Construct.

    I think you've done everything that should be done in Construct which is calling the social-sharing function (window.plugins.socialsharing.share)

    What you downloaded is a phonegap plugin that needs to be installed by the build service inside of your final build (for example your APK) NOT into your C3 project.

    You won't be using it yourself unless you are building locally in your PC (which I think will be more confusing for your at this stage), so you can just delete it.

    Here's what I suggest:

    • You will be using build.phonegap.com to build your APK.
    • In Construct, Export your project to Cordova
    • In the export folder, find config.xml then add the following before the </widget>:

    <plugin name="cordova-plugin-x-socialsharing" spec="5.1.7" />

    This line tell the Phonegap build to install the social sharing plugin for you (like the one you downloaded)

    • In the build.phonegap.com dashboard create a new app and upload the export folder.
    • Before you hit the build button, you need to tell Phonegap how to sign your app, here's the official doc:

    http://docs.phonegap.com/phonegap-build/signing/overview/

    Sorry if this is complicated, building html5 games into mobile apps IS confusing at first, so be patient

    Scirra has made a built-in build service so that building apps can be super easy, but it's in a beta stage right now.

    Before you try build.phonegap.com, ask if it's possible to make the Scirra build service install that plugin for you (assuming you use the paid version of C3)

    If Scirra build service cannot install the social-sharing plugin then you'll have to use the build.phonegap.com

  • -Phonegap plugins has nothing to do with C3 addons (plugins and behaviors).

    -Which build service are you using: Scirra build service ? build.phonegap.com ? or locally using the Cordova CLI ?

    If you are using the Scirra build, I don't think SocialSharing is supported yet.

  • Try Construct 3

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

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

    I have already implemented facebook login+friend leaderboard before.

    You will be required to have a facebook developer account, submit your game to facebook to use their games API.

    Pm me if you are interested.

  • I think it's important to mention that you are usually only left with 50% of your revenue. The store fees on each sale are not sellers friendly !

  • Thanks for the detailed response.

  • I think this is fixed in C3, but I wish they could update C2 as well.

  • hmott

    The fact it's flipped is due to some graphics card drivers. It can be detected and corrected, but thanks to chrome and firefox updates I can no longer use webgl on my machine, so I haven't touched that portion. I'm hesitant to do a fix that I can't test.

    Sorry to bother you but,

    The issue with the Text objects still persist, they are past flipped;

    Could you please give me some insights on how I can fix it, do you think it's easy to fix ?