rbvjr81's Recent Forum Activity

  • As the title says - is it possible to have transparent background for windows/macOS exported game?

    Wherein player can see their desktop screen.

    Thanks

  • As far as I know, getting whitelisted is the only requirement. In my own testing that was the only thing I needed to do. I wasn't too clear in whether the process is fully automated or if there is some form of manual reviewing going on though.

    I don't know if you strictly need to have existing traffic, but I think it weights in the review process, that is what I meant in the first post when I mention you need a "real" website. I am not sure what would happen in the case of submitting a brand new website that looks nice but has little to no exposure.

    As for iframes, I tried this out myself to be sure what was going to happen. I did this by placing my whitelisted website in an iframe in another website I made which is not whitelisted.

    The results where, interesting...

    Initially it didn't work, as expected because the website iframing the original content was not whitelisted. But I found out that if I navigated in the iframe to other parts of the contained website, then ads started to work in it. I mentioned this to people at Google and they told me that shouldn't have worked. So I am thinking that at one point or another they will fix it.

    DiegoM - is your whitelisted website in Wordpress? afaik Adsense only accept sites with the usual blog structure (with About Us, Contact, Privacy etc). Since C3 is not a site builder, then we all have to iframe it on a CMS?

    H5AdsEngineer - would Adsense recognise if the site is submitted as a game rather than a blog website for whitelisting?

  • Hi - Want to know how to apply unique sprites on each animation frame. I was only able to do it on Animation Frame 0 via child.

    Appreciate your help in advance

  • thank you both!

  • I want chat room to be limited to host and 2 players only - are there any ways to do that?

    thanks

  • I figured out the issues. CORS was not configured on the API to accept calls from preview.construct.net. This resulted in the the browser rejecting the OPTIONS call. Once I fixed that, construct then completed the OPTIONS call and followed it up with the POST call.

    Mind sharing how you configured your API to accept calls from preview.construct.net?

  • Hi - I'm receiving dynamic JSON data from API endpoint

    sample response:

    { "success": true, "error": null, "data": [{ "id": 9164, "name": "Gilberto", "name_short": "Class Clown", "desctription": "Graduated 2004", "picture": "https//:imgur.gif", "link": "https://www.google.com", }, { "id": 2149, "name": "Jose", "name_short": "Captain Virtue Signal", "desctription": "Graduated 2000", "picture": "https//:imgur.gif", "link": "https://www.bing.com", }, { "id": 6666, "name": "hAcKerMans", "name_short": "White Knight of Keyboard", "desctription": "Graduated Whenever he wants", "picture": "https//:imgur.gif", "link": "https://www.facebook.com", } ] }

    Questions is, how do I parse select data to C3 Objects (eg. "name" to text, "link" to button/sprite, & "picture" to sprite.) if they constantly change?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sorted - thanks Laura

  • How did you fix it? - got one failed purchase too

  • thank you both for replying

    dop2000 - is it possible to select only parts of json and pass it to text?

    tia

    Latitude and longitude are not very useful. If you need to know which country the player is currently in, you'll need to use some online services, for example:

    > https://freegeoip.app/json/
    https://ipapi.co/json
    
  • Hi - sorry I'm still new to C3 and not much versed with coding either. Is there a way to redirect a user based on his location?

    thanks

  • Hey there, it can but you'll have to design it in specifics ways, and there are a lot of methods, but a good start point is to use AJAX to retrieve the txt content from project files and "inject" it in a variable, then tokenat/tokecount can be used to localise the numbers in the text, with the help of another variable to change the selected token;

    What result are you looking for ideally? Do you have a gif or video example?

    Thanks Tom - currently experimenting with a quiz with sprite. I'm not versed with arrays and I have a template using .txt that's why I asked.

    So let me understand what you've just said - AJAX -> Variable (as an on/off switch?) -> tokenat/tokecount to localize the tag of the sprite frame?

rbvjr81's avatar

rbvjr81

Member since 11 Nov, 2019

None one is following rbvjr81 yet!

Trophy Case

  • 5-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies