Sparsha's Forum Posts

  • As the question says, is it possible to access runtime global variables and objects like runtime.globalVars or runtime.objects from an addon?

    Thank you

    Tagged:

  • Try exporting with the newest beta, should have been solved in r179

    https://github.com/Scirra/Construct-3-bugs/issues/3508

    Hi WackyToaster,

    Thank for helping,

    We are are using the latest version, and it seems Construct team haven't yet been able to fix the issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We were testing a game on Iphone X in safari browser. While typing the text in the input text field, the keyboard comes up and after focusing out of the input form, the keyboard comes down, but the display remains up at the top and does not tend to come down (leaving a black space at the bottom).

    (The actual position of sprites remains as it should be- touch events are triggered on touching at the actual position, but the display remains at top. We have to tap at the actual position which is little bit lower than the displayed sprite position)

    Used Letterbox scale

    Did anyone have this problem before?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi Sparsha

    This might be a noob question, but is the ValeryPopOff addon still needed? I thought that C3 is now able to run JS natively.

    Hello,

    You are right. Actually Scirra came up with that feature just 2 months after I made this tutorial. Unfortunately I am not getting time to update it.

    It's likely to get updated next year.

  • Awesome, thank you for this!

    You're welcome :)

  • > > Thanks I create init.js and fb.js according to your tutorial. Also, a have created capx file with described logics etc. But now I have to export my project to HTML and put the init.js and fb.js on html project's folder? Is it way to check the CAPX without exporting/uploading etc?

    >

    > Sorry I can't get your question...

    Sparsha Sorry. I forgot that this is a C3 topic... In my question I meant implementation of this code in C2

    It's ok.. I understand that you are talking about C2.. It works the same way as in C3...

    But were talking about putting your files somewhere after exporting..

    Is your file ready to be exported?

  • Thanks I create init.js and fb.js according to your tutorial. Also, a have created capx file with described logics etc. But now I have to export my project to HTML and put the init.js and fb.js on html project's folder? Is it way to check the CAPX without exporting/uploading etc?

    Sorry I can't get your question...

    First you import the js files to "Files" folder in Construct 3 editor,

    then you do the logic stuff, after that you export.

    After exporting, all files should remain in the original location...

    (Sorry for late response)

  • Sparsha, Is it way to implement this on C2? Till now I used rexrainbow's firebase IPA and Firebase Leaderboard plugins, but it's work only on WEB. On android (apk) it stop working after few connections (making some cache bugs etc)

    Yeah it will work.. ValeryPopOff's JS plugin is available for C2 too.

  • Does not work ... The login window closes automatically when you try to log in...

    I made it according to your instructions, for 0.5 seconds I thought the white screen of authorization longer and automatically closes. In debbug, the login is highlighted and I already see the login but it lasts about 0.2 seconds and also closes.

    1) Did you enable Google Sign In provider?

    2) Have you whitelisted preview.construct.net domain?

  • > Hello Madsoggytoast, in case you need help on this topic, I published a tutorial.

    > It uses JavaScript. You may also include any other API using this technique!

    > Link>>

    > Thankyou.

    Excellent! Nicely done, and this will be very useful. Will I have to add any additional JS Variables to create other DB tables/rows or can I do this inside C3 and write to the DB?

    Thank you.

    Yes you will need more variables for that... or it would be better to use an array

  • > Google's Firebase is nice & it's free upto a certain limit.

    >

    > I have made a tutorial on this. This uses JavaScript.

    >

    > LINK>>

    > The first part of this tutorial will also help if you want any other API services for your project...

    >

    > It includes-

    > Authentication- Creating Accounts using email id, and using existing Google Account, Signing Up/In/Out

    > Firebase Realtime Database

    > A Leaderboard System

    > Security Rules

    Sparsha, will this work for C2?

    Yeah! Why not? Just download Valerypopoff’s JavaScript plugin for C2..

    The Flame Plan pricing is high- $25 is too much..

    For small starting apps, the free plan itself is quite good and you can upgrade to a plan whenever you want.

    If you choose Blaze Plan, you have to pay according to your usage.. If your game does not have to store too much data you will be able to save $20..

    You may find this post useful.

    Check out the Blaze Plan Calculator section in this webpage(The desktop version of this page is more informative)...

    Here you can see how much data you can store and how much it would cost you.

    Unless you are developing a game professionally having to store lots of data, the free version may be enough..

    For hobbyists like me, it serves me my needs (till now) well and free!

    The database is secure and minimum coding is required..

  • Google's Firebase is nice & it's free upto a certain limit.

    I have made a tutorial on this. This uses JavaScript.

    LINK>>

    The first part of this tutorial will also help if you want any other API services for your project...

    It includes-

    Authentication- Creating Accounts using email id, and using existing Google Account, Signing Up/In/Out

    Firebase Realtime Database

    A Leaderboard System

    Security Rules

  • You do not have permission to view this post