Gium's Recent Forum Activity

  • Hi, I tested the functions by popping up some test texts here and there, the function works. The problem remains that the ads don't start I don't know how to solve it.

  • I put some items to try(or console logs).

    As for test mode I have already tried it but ad mob gives you the option to put test devices by giving them your device id for advertising in such a way that you don't risk banning.

    you can reach it from the admob control panel in "settings, test devices"

  • I am testing on my android phone, previously listed on admob as a device for testing.

    Whether it is standard or not I honestly don't know but my idea in the workflow was:

    At layout startup create it, at action x show it and after showing it recreate it.

    I can put console logs to see if it works but underneath there is another function "stop to show video" and the button works obviously the advertisement doesn't start but the button works.

  • Hello everyone, it's been a while that in my little game the ads don't appear.I've been trying to fix it for a while but still they keep not appearing.How can I fix it?

    I have tried either putting them as global variables or directly in the event sheet but nothing.

    I have them preload at startup but they do not appear.The ad id is correct. The msg pre loaded by admob to accept cookies loads it but the rest does not. how can i solve it?thanks a lot

    Tagged:

  • with the syntax you suggested with adding the full path works great! thank you so much for the support!!!

    i leave the snippet of the code i used.

    rgbex255(JSON.Get(".message.content.background_r"), JSON.Get(".message.content.background_g"), JSON.Get(".message.content.background_b"))

  • Hi, thanks for reposting. i tried as you said but it doesn't set anything. I will try to get the response set with: "rgbex255(4, 170, 109)" and see if it sets it. Anyway the snippent of the code is in the screen I attach the answer is as follows:

    {

    "message": {

    "content": {

    "title": "Tutto ok!",

    "title_color": "#00000",

    "title_dim": "1.2em",

    "descr": "Fallo passare va!",

    "descrColor": "#00000",

    "descr_dim": "0.8em",

    "background_hex": "#04aa6d",

    "background_rgb": "rgb(4, 170, 109)"

    }

    }

    }

    thank you very much!

  • Hello everyone, I have the following problem.

    I try to set the color of an asset dynamically, I set the ajax, the server in the json passes me some values which I also pass in a global variable to see if it passes and passes them, but the color does not set. it turns black for me.

    I used the following syntax: JSON.Get(".background_rgb").

    i also had two response types set:

    1) background_hex"

    2) background_rgb.

    despite i choose either way it doesn't set the color. how can i fix it?

    Thank you very much.

    Tagged:

  • Guys, I finally succeeded! thank you all so much for the great support you gave me!

    I leave a snippet, for all those who will run into these problems and maybe support them! Thank you very much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • now pass the string correctly, thank you very much!!!

    only now it keeps making the post still with the empty string -.-'

  • I was finally able to print the message on the response screen from the server.

    But despite several attempts I can't set the string I get inside the json file before posting it.

    {

    "payload":{

    "qr_data":"string must be entered here",

    "get_var":{

    "get1": "valueGet1",

    "get2": "valueGet2"

    }

    }

    }

    any suggestions?

    With the code I entered it inserts it but inserts it in the wrong place.

    thank you very much

  • You're right, I didn't pay attention. I edited the snippet screen in English, I thank you for the effort you made to give me an answer. and I thank you for the advice you are giving me. I will try in the day and give feedback. Thank you very much :)

  • i tried but it doesn't set or set anything. i'm not understanding where i'm going wrong.

Gium's avatar

Gium

Member since 2 Feb, 2021

None one is following Gium yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies