Laserwolve Games's Recent Forum Activity

  • Hi,

    I added an event to my game to ensure its being launched only on DaggerQuest.com:

    However, I missed the ending '/' in the URL string, so now my website is stuck in an refresh loop. I've fixed the URL string and pushed it live, but since the page refreshes before Construct can update, my (hypothetical) players are still stuck in this loop.

    I know I can just clear my browser cache and instruct my (totally real) playerbase to do the same, but is there a solution that doesn't involve manual intervention? I've already tried cache busting the iFrame by changing the source, to no avail:

    <iframe class="game-frame desktop-only" src="game/index.html?v=72925" allowfullscreen loading="lazy" title="DaggerQuest Game"></iframe>
    
  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi, I'm developing an ARPG in Construct, and I speak Portuguese. Send me an email: laserwolve at gmail dot com

  • Sounds like what I'm doing. https://DaggerQuest.com

  • Are you using 3D models in your Construct game? With Mikal's plugin? Or just 2D renders of said models?

  • Actually, I'm trying to do this for audio files which I can't figure out how to get with "Request URL" (can't use ../ to go up from the "Files" folder) but the following seems to be working (counting how many variations of an audio track exist, so I can play an random one)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Request URL" works because that takes a string, unlike "Request project file". I can then compare the status code to see if it exists. However, this grabs the entire file; I just want to check if it exists. I tried "Set request header" with 'Header' as 'type' and 'Value' as 'HEAD', but it still fetched the entire file. Any ideas?

    Tagged:

  • Hi all,

    I pushed an update to my game that only updated the .json of an event sheet. This still triggered the re-download of the entire project:

    Which I can confirm in my Netlify account usage insights:

    Is there any way we could compare a hash of existing files with new files, and only replace if they're different?

    If your browser game goes viral and you're using a service that charges for bandwidth, you'll be in hot water if you need to release a hotfix (entire player base has to redownload entire game)

  • I'm using ChromeDriver to run an exported NW.js executable, which looks like it'll only let me execute JavaScript in the DOM context.

    Is it possible to add a listener to the worker, which would listen for a string to be eval'd or used in a function() constructor, coming from the DOM?

    I see the PostToRuntime method in the DomHandler interface, will that work for something like this?

    My end goal is to make a method like

    getFromWorker("runtime.objects.sprite.getFirstInstance().opacity")
    

    which when executed in the DOM, would return 100.

  • Is there a way to change the JavaScript execution context of JavaScript that gets executed in a project?

    • Post link icon

    As of 5/7/2022, Microsoft Edge is also on version 113 and seems to be supporting WebGPU just fine in Construct 3 as well.