Ashley's Recent Forum Activity

  • If I read the API docs right, it looks like the response is just a raw binary download of the generated audio file. In that case it would probably be best to download it to a Binary Data object, using 'Set response binary' before the request. Then get the URL from the Binary Data object for the 'Add remote URL' action in the Audio object.

  • I can't reproduce any problem using that minimal project (note it does not specify an app ID, so I just put in 480). It correctly launches and gets the persona name and displays it with no error messages and nothing unusual in the browser console.

    It's a really weird problem that you've described: the Steamworks plugin always obtains the persona name from the Steamworks SDK on startup, regardless of whether your events refer to it. Then when you use the PersonaName expression it just returns the string it obtained on startup. So I cannot imagine under what circumstances it would only fail when using that expression, nor how it could have anything to do with the "missing executable" error, because using that expression just returns a string in JavaScript like any other expression.

    My best guess without knowing more is some DLL files have been mixed up. The Steamworks plugin bundles its own DLLs, so if you are trying to do something like copy DLL files like you used to have to with Greenworks, you'll might actually just paste in the wrong DLL and make it crash. Using Steamworks is much simpler - refer to the addon documentation and make sure you are only doing that, and aren't doing other steps that you don't really need.

    Other than that my best guess is something has got corrupted. Try saving a copy of the project that does not work, and start over: uninstall everything, reinstall everything again being careful to get the latest version of everything - possibly on a new system entirely - and try again. If it works, you could use a diff tool like WinMerge to compare the working version to the broken version and see what the changes are (e.g. maybe a DLL file is different). If they're identical, it would mean something else on the system was wrong - perhaps a corrupt Steam install or something.

  • If an API returns a URL directly to an MP3 file, then you should just be able to put that URL directly in the 'Add remote URL' action.

  • Inside the Cordova plugin, or inside the Construct plugin? For the former you'll have to refer to the Cordova and EOS documentation. For the latter, you don't directly integrate the EOS SDK, you just communicate with the Cordova plugin.

  • To integrate with Android you'll need to develop a Cordova plugin, and then develop a Construct plugin to talk to the Cordova plugin.

  • Does the Construct game take time to load before it’s ready to receive messages?

    It depends when you add the event listener in your code.

    You might have a race between loading the parent page and loading the iframe. If one sends a message before the other is listening, it won't work (and will fail intermittently depending on how long loading works).

    There are various strategies to deal with this - one for example might be to make sure the parent page is listening before the iframe is loaded, and then post a ready message from the iframe to the parent once the iframe is listening, after which the parent can safely post to the iframe. Another is just to post messages to the iframe regularly on a timer and send an acknowledgement back from the iframe once received, at which point the parent can stop posting.

  • I believe that is the intended functionality of cordova-plugin-purchase. It was previously discussed in this issue - in some countries people can use a "pay later" option, which counts as the purchase succeeding, but the transaction is later cancelled.

    It's not actually correct to assume a product is granted in "On purchase success" - as noted in the documentation you should be having "On transaction finished" and "On product owned" being triggered, with only the latter being the true completion of the purchase. Perhaps in the "pay later" case the other triggers only fire when the transaction is completed? I'm not sure, and it's difficult for us to test. You might also need to make use of the validator service to perform checks server-side and revoke any items that ended up cancelling the transaction.

    FWIW I don't think any of this is specific to Construct - it's just how the app store works.

  • Addons which hack new features in to the engine are an absolute compatibility catastrophe and regularly cause disasters, and it looks like the addon in question does that. The SDK v2 is probably capable of making a plugin that produces a 3D shape that is rotatable in 3 dimensions, providing the plugin implements those features itself rather than hacking in to the rest of the engine - which is a far better design and the one that really should have been used in the first place.

  • Without seeing a project all anyone can do is try to rely on telepathic debugging, which is notoriously unreliable - as ever the best way to get help is to share a project so others can try it out. My best guess is you somehow mixed up mismatched versions of DLLs/plugins causing it to crash on startup. Or maybe it's a graphics driver crash. Hard to say.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's not supported, and it's particularly tricky to support efficiently for music, because normally music streams (downloading and decoding chunks of audio at a time) using the built-in browser support. If files were obfuscated it would probably have to deoptimize that and fully download and decode music files before starting playback, causing a longer playback delay and higher memory use.

    As far as I'm aware, virtually all web games just serve audio as-is. It's not like you're providing a download button for the audio. You'd still have to use developer tools to find the URL for the audio to download, and I think you could argue that is not easy access to download a file. If that was still regarded as easy access by some legal terms, to be honest I don't think that's a reasonable restriction for a web game.

  • On most operating systems, for security reasons apps do not have write access to their own folder, and instead write storage to a separate folder. That folder corresponds to the "<current-app-data>" picker tag in the File System plugin. As the Steam Deck is based on Linux, the folder path will be something like /home/username/.local/share/com.myapp.id. So you'll need to clear that folder to clear the app-saved data like savegames and Local Storage.

  • Yeah, serving complex content like exported Construct projects requires being served normally. That means https: on the web, or in Cordova or desktop exports it internally uses a protocol like app: that works similarly. It doesn't even work properly on file:.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,536,907 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x69
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x38
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs