AndreasR's Forum Posts

  • Hi!

    I'm trying to access the "Text" from an input field via it's instance variable.

    But it doesn't work as expected.

    I have two input fields (same object, but a diffrent Instance Variable ("InputType").

    If I press login it logs following:

    "Email: " & input(input.InputType = "Email").Text & " / Password: " & input(input.InputType = "Password").Text[/code:1ijvrw6u]
    
    But the output is like this.
    [img="https://shatter-box.com/wp-content/uploads/2016/07/input_fields_test_error.png"]
    
    So the [code:1ijvrw6u]input(input.InputType = "Email").Text[/code:1ijvrw6u] returns the password and the [code:1ijvrw6u]& input(input.InputType = "Password").Text[/code:1ijvrw6u] returns the email.
    I double checked my input fields. I do not know what to do at this point. Maybe @ashley has an idea?
    
    I uploaded the capx file on my dropbox account.
    [url=https://www.dropbox.com/s/5zn7pfwyad5mx7l/testcase_expression_issue.capx?dl=1]https://www.dropbox.com/s/5zn7pfwyad5mx ... .capx?dl=1[/url]
    
    Thank you!
  • Hi Andy,

    can you link my game ?

    here link page

    Hi sandronize

    Sure, the game has been added to the list

    Thank you!

  • Nevermind, got it working

  • Or you could put all data of a user into a JSON structure, then save it by rex_firebase plugin.

    Hi,

    Thanks for the hints <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    I'm using the Firebase plugin, Authentifaction plugin, Query Plugin and the Firebase API 3 plugin. I try to access the Database after the login was successfully.

    {
      "rules": {
        "users": {
          "$user_id": {
            // grants write access to the owner of this user account
            // whose uid must exactly match the key ($user_id)
            ".write": "$user_id === auth.uid",
            ".read": "auth != null && auth.uid == $user_id"
          }
        }
      }
    } [/code:u5dtybg2]
    This are my rules, but with this rules the access will be denied.
    [url=https://firebase.google.com/docs/database/security/user-security]https://firebase.google.com/docs/databa ... r-security[/url]
    
    Any idea why this happens?
    
    Thank you!
  • Hi!

    I'm using rexrainbow 's firebase plugins. But I only can save data global in the database. But I want to save them individually for each player (combined with Auth Login)

    For Example

    Database

    USER1

    • COINS: 235; INVENTORY: JSON

    USER2

    • COINS: 265135; INVENTORY: JSON

    is there any example file?

    thanks

  • Is there any documentation for getting cocoon.io to work on iOS?

    Hi,

    I'm currently working on a new documentation for CocoonIO and iOS.

    You'll find the guides here

    https://shatter-box.com/article-categories/ios/

    If you miss any specific part, let me know.

    Moreover you'll find some guides about CocoonIO and Construct 2 here.

    https://shatter-box.com/article-categories/cocoonio/

    Free code examples can be downloaded here

    https://shatter-box.com/download/

    (Licensed under Personal Use only)

    The wiki isn't complete yet, so if you miss anything, let me know here or use the feedback button on shatter-box.com

    Thank you!

  • Hi everyone, this is my new game, Numbers Game. Is it a simple block puzzle numbers game. Would appreciate it being on the list. Thanks Andy.

    https://play.google.com/store/apps/details?id=com.WuzkoStudio.NumbersGame

    Hi rekjl

    Your game has been added to the list

    Regards

    Andy

  • Hello! This is my first game made with CocoonIO. I'd appreciate if you try it out and put it on your list

    Link to MULTI on Google Play

    Hi,

    Your game has been added to the list

    Regards

    Andy

  • Hi guys this is my third game made with cocoon!

    Hi,

    please provide a link to the store as well...

    Regards

    Andy

  • ~

    Hi,

    1920x1080 is a 16:9 screen ratio, so it should fit on most devices as well. However for tablest I personally recommend you to use a 16:10 screen ratio (1920x1200). Moreover it's not needed to built your mobile games in full hd, hd is sufficient. But this is up to you

    Yes CocoonJS did support Letterbox scale, but CocoonIO doesn't.

    Thank you for your feedback!

    Regards

    Andy

    You recommedn 1920x1200 but in your blog post it says 1280x800, is that the same aspect ratio?

    I recommend the user 1920x1200 because he has built his game in 1920x1080. But generally 1280x800 is sufficient.

    Regards

    Andy

  • Hello, Can you please add my game "Cannons Warfare" to the collection ? I'll be very appreciated

    Google Play: https://play.google.com/store/apps/deta ... fare&hl=en

    Hi!,

    Sure, I just have added your game to the list, thank you! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys this is my new game, Core Blocks. It's a sliding Block puzzle game.

    https://play.google.com/store/apps/details?id=com.WuzkoStudio.CoreBlocks Core Blocks on Google Play

    Thank you for your submission Your game has been added to the list!

    Regards

    Andy

  • AndreasR

    I have done a purchase in your game! Nice work btw.

    Thank you very much

  • Hi guys, this is Whiteman, powered by Cocoon IO

    Google Playe:

    https://play.google.com/store/apps/details?id=com.ludeku.whiteman

    Hi yojona

    Your game has been added to the list.

    Thank you!

    Regards

    Andy

  • AndreasR

    Thanks!

    I will do the same with your game after work!

    Thank you