ChesVCF's Recent Forum Activity

  • It's called "Interstitial Ads."

    https://www.scirra.com/manual/184/admob

    Are you sure? I think what he is asking for are rewarded intersticials (Videos) and I am not sure if you can load them with the admob plugin, as rewarded intersticials are not exactly the same as normal intersticials (you have to setup mediation in Admob etc...). I use third-party plugins to show rewarded intersticials.

  • Hi!

    I am making a game where a player (with Physics behaviour) has to advance and, on the background, there are other objects (also with Physics behaviour). My problem is, the player's phyisics interacts with the background object's physics (which shouldn't happen, as background objects are far away in the z axis).

    So, is there any way to turn off the solid behaviour that comes with the phyisics behaviour by default? Or is there any way to go through any of these background objects?

    Thank you!

    Note: I already tried with Platform behaviour, but it isn't what I want. It is really necessary that the player behaves "physically".

  • It should be a setting on your host rather than anything you do in your project.

    Yes, on HTML5 games the setting will probably be on the host, but what if you want to export to Android? I'm sure there is a way to allow http connexions, but I imagine you have to change something in the apk's code and explicity allow such connexions.

  • Anyway, I'm sure there has to be a way to allow exported projects to request not only https URL's but also http URL's. By default, http are blocked.

  • Yes! It works!

  • Make sure you can access the URL in a normal browser first, i.e. just type in the AJAX url into your browser and see what happens.

    I did, and it works perfectly.

    Second observation, and probably why it is not working. Your "Access-Control-Allow-Origin: *" header never made it into your response headers. So your PHP is bad.

    I think the PHP is good because it works in the preview, on every browser I tried and on the Intel XDK's simulator. I used the net tab of the debug tools and I found this

    I'm going to upload the PHP to a https server and check if it works in HTML5 (hopefully!)

  • I have tried but I still have the same problem. I have a sample capx and I exported it to a HTML5 version.

    The project requests a PHP on a server that gets some values from a database. As you can see, when you run the capx, you can successfully see those values. If you run it on the exported version, there is an error. The requested PHP opens with

    <?php
    header('Access-Control-Allow-Origin: *');[/code:xrjb1mhz]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I already tried with the first option and it didn't work. I'm going to try with the scroll-to behaviour, hopefully it works

  • Hi!

    I am trying to export a project, but I am having some problems with the AJAX. "Post to URL" and "Request URL" actions don't work in the exported version (I did already export to HTML5 and Cordova). I think this is strange, because "Request project file" action works perfectly. I have already checked it on multiple devices and with different Internet connexions, but it simply doesn't execute this two actions. Any clue?

    Also, if anyone could help me with this problem it would be great.

    Thank you for your help!

  • Hi! I totally agree with jobel

    I liked your tutorial but I would add some things:

    • attach a sample capx to the tutorial (it is easier to understand it if you have the capx and this way nobody will miss any step or do anything wrong)
    • if you do a tutorial on Firebase API, it is very important to explain how to set up the Firebase account and the Firebase database etc.
    • I think it is easier to follow a tutorial if you hear the instructions than if you have to read them, but that's only my opinion
  • Fine

  • You are beginning to see why I consider dedicated servers 'normal' though.

    Yes

    You need two server-side programs running. One is the webserver which runs your C2 application and one is the browser on the server which talks to the webserver (over the localhost, presumably) and acts as the 'host' client.

    Ok... So, I have the first one (the server that hosts my C2 application) but I don't have the second one, I guess... And what do I have to do in order to get the second one to work? I have looked up many tutorials but I didn't find nothing interesting.

ChesVCF's avatar

ChesVCF

Member since 15 Aug, 2016

None one is following ChesVCF yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies