Bl4ckSh33p's Forum Posts

  • Hi. Just noticed that there is no "is visible" condition for the File Chooser plugin. By default I set it to invisible and it would be nice to have a toggle button to show/hide it.

    Without this I have to use a variable to check if it was set to visible/invisible.

  • Hi.I just tried to use the UserMedia object to get a camera screenshot into my app but it iOS returns that it is not supported. Is there no way to capture a photo on iOS with Construct 2? It seems to work fine on Edge/Win10 (great! )

    /edit: just found it seems to work with FileChooser plugin. It allows you to take a image but its not properly aligned. I took a photo with my iPhone (portrait) and the image was 90° rotated until I rotated my phone to compensate this. Is this some kind of bug maybe or is this just how it works? Ashley

    Same happens to some pics in "Selfies" category. I added 2 rotate clockwise/counter-clockwise by 90° buttons as a workaround.

  • Hi. Is it possible to update the WinStore plugin and add some new things like an action to open the feedback hub?

    https://msdn.microsoft.com/windows/uwp/ ... m-your-app

    This allows you to manage bug reports and suggestions in the win dev Center.

    Other things like custom data/metrics for analytics seem to be more complicated but this could be easy to add Ashley ? <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Thank you very much!

    Next step is to get the achievement data.

    It may work with a separate regex action for each achievement but one which gets all of them at once would be much faster/better.

    Any hints or a link to good/easy tutorial for regex would be great.

    The unfinished achievements have the div class "m-disabled" and I need to get all achievements (all lines with "data-tooltip="achievement-"?) and then get the achievement id (data-tooltip) and if it has "m-disabled" as class or not. This should be possible with regex, right?

    Here are 2 examples from the code:

    <div class="column xs-6 sm-6 md-4 lg-3 xl-2"><div class="media-card m-hoverable m-clickable u-margin-bottom-md" data-tooltip="achievement-0x0E60000000000192"><div class="container"><img class="media" src="https://blzgdapipro-a.akamaihd.net/game/achievements/0x0E60000000000192.png"><div class="content">The Friend Zone</div></div></div><div class="tooltip-media-card" id="achievement-0x0E60000000000192"><span class="arrow"></span><h6 class="h5">The Friend Zone</h6><p class="h6">Play a Quick or Competitive Play game in a group with a friend.</p></div></div>
    
    <div class="column xs-6 sm-6 md-4 lg-3 xl-2"><div class="media-card m-disabled m-clickable u-margin-bottom-md" data-tooltip="achievement-0x0E6000000000015E"><div class="container"><img class="media" src="https://blzgdapipro-a.akamaihd.net/game/achievements/0x0E6000000000015E.png"><div class="content">The Path Is Closed</div></div></div><div class="tooltip-media-card" id="achievement-0x0E6000000000015E"><span class="arrow"></span><h6 class="h5">The Path Is Closed</h6><p class="h6">Destroy 3 of Symmetra's Teleporters in a single Quick or Competitive Play game.</p></div></div>[/code:3t6jc4j4]
  • Hi. When I try to run a preview to test my app I get errors and nothing is shown.

    IAP and WinStore Plugin are set to Testmode and this is in the browser console:

    HTML1300: Navigation wurde ausgeführt.

    192.168.2.109:50000

    Applying loader : openWebLoader to load libraries

    Amazon-Web-App-API.min.js (14,138)

    HTTP404: NICHT GEFUNDEN: Der Server hat keine Übereinstimmungen für den angeforderten URI (Uniform Resource Identifier) gefunden.

    (XHR): GET - http://192.168.2.109:50000/amazon.sdktester.json

    HTTP404: NICHT GEFUNDEN: Der Server hat keine Übereinstimmungen für den angeforderten URI (Uniform Resource Identifier) gefunden.

    (XHR): GET - http://192.168.2.109:50000/amazon.sdktester.json

    HTTP404: NICHT GEFUNDEN: Der Server hat keine Übereinstimmungen für den angeforderten URI (Uniform Resource Identifier) gefunden.

    (XHR): GET - http://192.168.2.109:50000/static/amazon.sdktester.json

    SCRIPT5007: Unable to get property 'connect' of undefined or null reference

    cws-buy.js (1,262)

    Why is this amazon stuff missing?

    I use latest stable build 227

    after deleting the IAP plugin it works again.

  • Hi. I publish my apps as Win10 Universal and so far on most devices it seems the scaling works fine and the entire layout is on the screen (Fullscreen Letterbox Scale). But some phones seem to hide a part of the screen at the bottom and show back/home buttons there. Is it possible to prevent this and scale the app to fit in every time without having to leave an empty space at the bottom which is visible on many other resolutions?

    Example:

    http://www.bilder-upload.eu/show.php?fi ... 312039.png

    No navigation at bottom visible:

    http://www.bilder-upload.eu/show.php?fi ... 311998.png

  • And it would be great if you could update/support more ad sizes like: 300 x 50 or 480 x 80

    this sizes are used in Windows app campaigns but not available in the PubCenter Plugin. Ashley

  • Right, I changed it a lot and ended up with this mess. But it was much worse before.

    I have another inverted "is in touch" to set the default values for every object (max speed, accel). I think I will rework it with the next update but its strange that it very often is sooooo slow on Safari (in browser and on "home screen" as app). After reloading it 10 times sometimes it works fast as expected (same as on pc). But I could not find a reason why it is so slow most of the time on iOS. I hope it runs smooth on Edge since its a Win10 app. I have the web export just for me cause my WinPhone is broken.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. I just noticed something strange. In Preview when I open the local IP on my iPhone the touch controls feel good and responsive but when I export as HTML5 page and upload it to my server the scrolling is very bad and does not move very much at all when I drag/swipe. How can it be that Preview behaves differently on same phone/browser?

    Here is the code:

    http://www.bilder-upload.eu/show.php?fi ... 990664.jpg

    you can test the exported version here:

    http://www.playbird.at/sites/Bl4ckSh33p/apps/overwatch/

    (cant upload the capx sorry)

  • Hi. I searched for some regex examples and after reading a while my head was about to explode.

    I want to get a string from a html page which is inside a specific tag (but the tag exists multiple times).

    I will need to take some time to dig into it but is there anyone experienced with regex who could help me with this little problem?

    I have html like this:

    [quote:258bnbi6]MORE HTML ABOVE

    <ul>

    <li><a href="//imgur.com/2AtmKfw">Weekly Brawl: SHOW YOUR SUPPORT</a></li>

    <li><a href="//reddit.com/r/Overwatch/comments/4rjn28/patch_1051b_on_pc/">[PC] Patch 1.0.5.1B Notes</a></li>

    </ul></li>

    </ul>

    MORE HTML BELOW

    and the regex should get the text behind "Weekly Brawl: " so I can read the weekly changing brawl from the website to show it in the app. The text is different each week (shorter/longer).

    the href (link) changes everytime too and should be ignored, just the text behind weekly brawl is important.

    Just getting all "li" tags would have too many results so it should just find the line with weekly brawl with a <li> at the start.

    I will try to read more tutorials about it but any help would be very appreciated.

  • And allowing more params or multiple PubCenter plugins would allow to show a normal banner on PC and another like interstitial on phone. Right now I can only use one for all platforms.

    Other topic with update suggestion and a reply from Ashley

  • Hi. I tried to use intertitial ads because the default ads are covering 50% of the screen on some phones permanently but when I load an interstitial ad the "OnError" is triggered and shown on my debug text object. But how can I see what error so I can try to fix it? The Visual Studio console just shows this:

    [quote:3myn58y2]'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.

    Exception was thrown at line 27, column 3 in ms-appx://58213bl4cksh33p-soft.overwatchcompanion/start.js

    0x800a138f - JavaScript runtime error: Unable to get property 'trySetDisableLayoutScaling' of undefined or null reference

    Exception was thrown at line 306, column 404 in ms-appx://58213bl4cksh33p-soft.overwatchcompanion/c2runtime.js

    0x800a03ea - JavaScript runtime error: Syntax error

    'WWAHost.exe' (Script): Loaded 'Script Code (WebView/1.0)'.

    The normal banners work. Any ideas?

  • An update would be great! And Interstitial just has one parameter right now but you need to add two to make it work?

    It asks for a ad ID but if you create a new banner in the win dev Center you get a new app id and banner id at the same time so both values need to be changed for it to work?

    (but different banner id only useful to track where this banner is shown e.g. to see if more banners are shown on specific layout?)

  • Hi. since my last update I noticed that the app on iOS (Safari) often just shows a blank page with the input object in the upper right. When I reload the same appears until I click on the address bar and hit ENTER to load the site. But hitting the refresh/reload arrow does not fix it.

    Does anyone know why this happens or how it could be fixed? Is it a problem with the input object? I cant remember having this issue before I added it to the first layout.

    Thats what I see:

    http://fs5.directupload.net/images/160706/n29qxizp.png

    Instead of this:

    http://fs5.directupload.net/images/160706/wrx4dzao.png

  • It seems to work but I have another problem now.

    With PubCenter / Ads I cant use "any CPU" build anymore and need to tick x86, x64 and ARM separately. I tried to create 3 separate packages to make the download for each CPU type smaller but it does not allow me to upload separate packages. I have to tick all 3 at once and now get a huge file with about 3x the size of the app (cause it has all 3 in a bundle). Is it possible to prevent this somehow and make smaller packages?

    My App has about 40MB but in the 3 CPU bundle I have to upload its 120 MB.