Bl4ckSh33p's Recent Forum Activity

  • I make an app and need landscape and portrait and just "hacked" this together and it seems to work so far.

    This does not work for games with levels cause you had to make all levels again but I think it will work for my App. I just rearrange the objects on the landscape layout so it fits better on wide screens. Or any other ideas how to do this? (I thought about showing different layers with UI elements on different positions, too).

  • Hi. I added some wallpapers to my app and let users download/open them. It seems to work on mobile where Browser: Invoke Download (filename) just opens the image to save it and then use it as wallpaper. But when I try it on Win10 (Visual Studio) the image replaces the entire app and the user cant interact with it to save it.

    I downloaded the latest beta of C2 to enable the Back Button and added a "Browser: On Mobile Back Button" action but its not executed when the image is shown cause it seems to replace the entire app/c2 code. Any ideas how I can fix this?

    Can I use "Browser: Open in new Window" for local files instead of a web address too?

    If this works its still something to fix to allow saving of canvas snapshots with Invoke Download.

    /Edit: Tried to open new window with just "filename.jpg" as URL but I get this error in Visual Studio:

    [quote:1bpv0cpb]SCRIPT87: Unhandled exception at line 348, column 184 in ms-appx://02928669-06b8-42a9-a2ba-576529eb0129/c2runtime.js

    0x80070057 - JavaScript runtime error: Falscher Parameter.

    "logo-burst-standard.jpg" ist kein gültiger absoluter URI.

    WinRT information: "logo-burst-standard.jpg" ist kein gültiger absoluter URI.

    c2runtime.js (348,184)

  • Cortana would be nice for speech commands or talking to the user. Any plans to add support for this?

    Right now speech recognition only works on Chrome or Firefox? (cant remember)

    https://developer.microsoft.com/de-de/cortana

  • Hi. Does anyone have an example how I can use a loop on AJAX.LastData with JSON like below to get a list of all realm names and the realm data for each of the realms?

    example for a single realm:

    {"realms":[{"type":"rp","population":"medium","queue":false,"wintergrasp":{"area":1,"controlling-faction":1,"status":0,"next":1462710723768},"tol-barad":{"area":21,"controlling-faction":0,"status":1,"next":1462710700949},"status":true,"name":"Zirkel des Cenarius","slug":"zirkel-des-cenarius","battlegroup":"Embuscade / Hinterhalt","locale":"de_DE","timezone":"Europe/Paris","connected_realms":["zirkel-des-cenarius","todeswache"]}]}
    [/code:t1iilrg9]
    
    example for multiple realms:
    [code:t1iilrg9]{"realms":[{"type":"pvp","population":"high","queue":false,"wintergrasp":{"area":1,"controlling-faction":0,"status":0,"next":1462710732001},"tol-barad":{"area":21,"controlling-faction":0,"status":0,"next":1462712427270},"status":true,"name":"Aegwynn","slug":"aegwynn","battlegroup":"Misery","locale":"de_DE","timezone":"Europe/Paris","connected_realms":["aegwynn"]},{"type":"pve","population":"medium","queue":false,"wintergrasp":{"area":1,"controlling-faction":1,"status":0,"next":1462710724874},"tol-barad":{"area":21,"controlling-faction":1,"status":1,"next":1462710703055},"status":true,"name":"Aerie Peak","slug":"aerie-peak","battlegroup":"Reckoning / Abrechnung","locale":"en_GB","timezone":"Europe/Paris","connected_realms":["bronzebeard","aerie-peak"]},{"type":"pvp","population":"medium","queue":false,"wintergrasp":{"area":1,"controlling-faction":0,"status":0,"next":1462710910703},"tol-barad":{"area":21,"controlling-faction":0,"status":1,"next":1462710887883},"status":true,"name":"Agamaggan","slug":"agamaggan","battlegroup":"Reckoning / Abrechnung","locale":"en_GB","timezone":"Europe/Paris","connected_realms":["agamaggan","crushridge","bloodscalp","twilights-hammer","hakkar","emeriss"]}
    [/code:t1iilrg9]
    
    I tried  but I get an error when I try to load the AJAX data.
  • Hi. When I try to load json data from AJAX.LastData I get this error:

    Javascript error!

    invalid character

    http://myIP/JSON_plugin.js, line 472 (col 9)

    this is the data from AJAX.Last Data:

    test({"realms":[{"type":"rp","population":"medium","queue":false,"wintergrasp":{"area":1,"controlling-faction":1,"status":0,"next":1462710723426},"tol-barad":{"area":21,"controlling-faction":0,"status":0,"next":1462709800605},"status":true,"name":"Zirkel des Cenarius","slug":"zirkel-des-cenarius","battlegroup":"Embuscade / Hinterhalt","locale":"de_DE","timezone":"Europe/Paris","connected_realms":["zirkel-des-cenarius","todeswache"]}]});

    OR:

    {"realms":[{"type":"rp","population":"medium","queue":false,"wintergrasp":{"area":1,"controlling-faction":1,"status":0,"next":1462710723768},"tol-barad":{"area":21,"controlling-faction":0,"status":1,"next":1462710700949},"status":true,"name":"Zirkel des Cenarius","slug":"zirkel-des-cenarius","battlegroup":"Embuscade / Hinterhalt","locale":"de_DE","timezone":"Europe/Paris","connected_realms":["zirkel-des-cenarius","todeswache"]}]}

    what invalid character?

    even if I remove "({"realms":" at the start and "});" at the end I get an error.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So this does only work with a .json Textfile not with a String?

    I am looking for something to parse JSON data I get from a server (via AJAX).

  • Name: Lost Falcon Assault

    Publisher: Bl4ckSh33p-Soft

    Download: https://www.microsoft.com/store/apps/9nblggh4p4xr

    Price: FREE

  • PubCenter has no ad URL. You enter 2 IDs to display a banner.

    Is it possible to change the options to display the banner on a fixed position (of a sprite or image point)?

  • Can't wait until #Overwatch is here? Our Countdown app tells you when it is happening and offers links to official websites.

    https://www.microsoft.com/store/apps/9nblggh4vhfk

  • Hi. What about games in the Microsoft Windows Store? Thats PC too?

  • Hi! I used the PubCenter Plugin for my Win10 exports but when a portrait app is displayed on PC in Fullscreen the ads are not in the right position (corner of the app). They appear in the blank area around the game. Is it possible to align the ads to the viewport/game area instead of just the window somehow? Would look much better if you have control where it is displayed.

  • Ok, I will contact them if it happens again. Sometimes the right banner is shown but most times not.

    And what about the images? When I export a C2 Project I cant upload it cause the proper images are missing. Maybe the exported images should be updated?

Bl4ckSh33p's avatar

Bl4ckSh33p

Early Adopter

Member since 20 Jul, 2013

Twitter
Bl4ckSh33p has 5 followers

Connect with Bl4ckSh33p

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x7
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x2
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies