luismat's Forum Posts

  • 8 posts
  • In case this is helpful for others.

    I was about to file a bug but then decided to try one last thing, which was helped by what dop2000 wrote in his message.

    This works and I get the right response from firebase.

    Why sending a json doesn't and this does I don't understand...

    regards

  • Many thanks dop2000 !

    that is really weird. Why do you think this happens in Construct ?

    must be a bug right ?

    bummer

    Do I need to encode the "at" symbol in some way inside a string ??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Many thanks dop2000 !

    that is really weird. Why do you think this happens in Construct ?

    must be a bug right ?

    bummer

  • Forgot to add what I get back as a I response if I use construct3

    where you can see the message, missing email. But the email is there and if I copy and paste the same data to postman I get a valid response.

    thanks in advance

  • Hi guys, first of all I wanted to say I love construct 3.

    I've only started to work on it but I think it's a great product.

    I need to build a mobile game that uses firebase.

    If I use postman or go to any REST API testing site and POST the exact same string to firebase it responds correctly.

    Using construct 3 I get "Email Missing".

    I've added the preview.construct.net domain to firebase so that is not the issue.

    I would really appreciate some help here. It only takes 2 minutes to reproduce this.

    This is the event sheet. very simple just add an AJAX object, Json and text.

    If you use postman or go to reqbin.com you will get:

    Here is the text of what I'm sending using AJAX, in case you want to copy&past into Construct 3:

    URL "https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyBPAFvzKk9vZjHcm_uYb3JBw8_70_rOLYk"

    Data "{""email"":""test@test.com"",""password"":""test123""}"

    Thanks in advance

  • Many thanks for the quick response.

    very helpful.

  • Hi guys, first of all thanks for a fantastic product ! love it although have only been working on it for a few days.

    I am creating a tile based game and I place several enemies on the "board" at the start.

    After the player moves I call a function to move the enemies (it's a turn-based game)

    This is the block I'm using.

    The problem is , after I destroy all the enemy sprites (after they get killed) the block doesn't trigger, i.e. the player sprite doesn't move

    what happens to the MoveTo.is Moving condition after all the sprites get destroyed ? I assumed nothing is moving because no sprites exist !

    Thanks in advance

  • 8 posts