Bl4ckSh33p's Forum Posts

  • Hi! Is it possible to create notifications (push/popup) or marker on the app/game icon to show there is something new? Is there some plugin to make this possible?

  • Thanks. Found it.

    Does this work with the Scirra build service? Docs mention Cordova export but I usually make signed apks with the build service. 🤔

  • Thanks. Found this one already but the author said it doesn't work on Android. Just html5 exports. 😢

  • Hi. Is there a plugin for Google analytics or another service to track custom actions like start of game, game over, hitting button x etc or how often a layout is viewed?

  • Hi. Thanks for the reply.

    I tried to export as debug APK and just entered file.pdf from project files as URL for iFrame but I get this error:

    [GreenAndroidRobot]

    Webseite nicht verfügbar

    Die Website unter file:///android_asset/www/file.pdf konnte nicht geladen, weil:

    net::ERR_FILE_NOT_FOUND

    So is it working for NW.js or other exports but not Android?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. I export to Android APK not to my server. so its not https to https?

    I will try to test it with this php code but I just checked the old project and it has the same "code" and loads the text file without any issues. But the new project does not load it. Both are made in C3, the old one is just a few weeks old.

    So did something change in the last updates of Construct or the AJAX plugin?

    If it works in the old project it should be the same in the new one? Ashley

    /update: I try the code from the old project in the new one to see if the new construct update changed it.

    /update2: I copied the code from the old project to load the working .txt file in my new project and it does not work. So it's a change in Construct to require HTTPS? :(

    Thats the code for it:

    + System: On start of layout

    -> AJAX: Request "http://www.mysite.com/folder/home.txt" (tag "url")

    + AJAX: On "url" completed

    -> iframe: Navigate to AJAX.LastData

  • Hi! Is it possible to load a local project file like .html or maybe .pdf into an iframe?

    Using the filename in URL did not work.

  • Thanks. I got a SSL cert but could not install it on my 1&1 Server yet. The instructions they linked were confusing and the config files mentioned were not there. Still trying to figure it out.

    Right now I only use the AJAX plugin to load text files from my server to load news headlines or other information text. But I want to use PHP for some MySQL actios soon. (get data from DB or post data)

    I will take a closer look at your instructions and try to implement it.

    But I dont understand why it seems to work fine on the other project. Its http://, same server, same .htaccess, both load a text file. Its just one line On Start of Layout > Get from URL and then using the returned string to display as text or this time I tried json data for loading a save state.

  • Hi. It works fine in my old project but in the new one it's broken again.

    Its the same server, just another directory. It has the same .htaccess as the folder where it works. (with the allow origin * line) But it does not work. Any ideas why? I tried changing access rights for the file, changing .json to .txt but its not loading. :(

  • Hi. Is it possible to make a link to open Android font display settings? If you use large fonts construct games and apps often look broken. Would be great if you could add a button to Android settings.

  • Thank you very much! I'll try it when I'm back. 🙂

    Update: it's working! 😁

    Maybe you can add this little example code to the manual so beginner users can easily add Screenshot sharing? Ashley

  • Hi. With the new share plugin and binary data it should be possible to share a image of the canvas, right?

    I tried to putt the canvas snapshot into the binary data plugin but could not find aa way to do it yet. Do Any ideas how to do this?

    (PS: Instead of making a complete snapshot of the screen you can put specific sprites on a canvas and only copy/post the elements on the canvas?)

  • Hi. If I remember right you can get params from a url like yourdomain.com/folder/index.htm?param1=bla in construct. Is it possible to open an Android APK somehow while passing params to do things like jumping to specific layouts etc.?

    And can you open another installed app with a command in construct?

  • Hi. I tried to use Brower invoke download and open in new window to show the screenshot but it does not seem to do anything in exported APKs. Only works in preview on PC?

    Is there a way to make screenshots in Android exports?

  • Hi! In remote preview I could download images from an iframe but in debug and signed APK (android) it does not seem to download a picture from an opened link. I tried allow-scripts in allow (sandbox disabled) but this did not help either. Is there a way to allow downloads in iframes on android?