brent_hamel's Recent Forum Activity

  • If you're using tilemaps for the maze sections, then you've got empty spaces for the player to move through, which means an empty tile. Depending on what you're going for, you can programmatically set the empty tiles to a "coin" tile (contained in the tilemap with everything else) and then keep checking which tile the player is over, and if its still a coin, then swap the tile to an "empty" tile, and increase player score etc.

  • If I recall, Scirra's plan is to abandon NW.js and Electron entirely, as they're apparently very similar, and just use WebView2 for windows exports... my issue is that all the features I need aren't available in WebView2... I haven't even begun to check the other exporters yet, but will need all the functionality missing in WebView2, to be present for them as well...

  • Hi all,

    Just wondering if anyone has found a way to replicate the behaviour of min, max/restore, close buttons when exporting with WebView2. I have a custom titlebar I need to use for my app, and NW.js makes replicating this behaviour with a frameless window, easy, however:

    - a) WebVeiew2 doesn't seem to facilitate frameless windows ( I sure hope this is just something Scirra hasn't implemented yet, I've made an official feature request... I've noticed Ashley has mentioned in other posts about highlighting NW.js features that haven't been translated to other plugins yet, and this is definitely one of them... )

    - b) Nothing else seems to facilitate the min, max/restore, close behaviour. I can approximate it by toggling fullscreen for max/restore, but haven't managed to replicate min yet.

    Note: if frameless isn't an option for some reason, then I'll be hiding my titlebar when NOT in fullscreen, but will then show it during fullscreen, so I still need the control button behaviours to work... any ideas?

  • I tried loading a test "project" up to itch (essentially a random number generator) and then using the "main" program on my end, load it into a window.open() "popup", and have been trying to see if I can get messages to send back and forth... no luck yet unfortunately... It's also not working when both projects are hosted on itch, so I suppose the next attempt down this road would be to get my own hosting and try it there... Ultimately I want this to be an offline Desktop app, rather than a website app, however, I want all the web communication aspects, as eventually I want to try and support multi-user live project editing, similar to how the Google Suite works.

    So far, my biggest hurdles have been:

    1. Fully styled and controlled titlebar

    a. NW.js:

    - allows me to hide the titlebar and replace it with my own

    - but only on the main window

    b. WebView2:

    - no ability to hide the titlebar, or style it

    2. Popups as undockable UI that can move accross multiple monitors

    a. NW.js:

    - window.open() opens a popup

    - generally gives a browser out of date error

    b. WebView2:

    - window.open() opens a full browser tab

    If I can solve these, then I feel like there really isn't anything I can't accomplish for this project using C3. UNFORTUNATELY, Construct is all I've ever used, as far back as Classic (before it was called Classic lol), so the thought of having to learn a different language, platform, SDK, etc is INCREDIBLY daunting. I've been really hoping Ashley might have seen my posts and possibly weighed to help me determine if want I want to achieve is even remotely possible, possible but not implemented yet (in terms of WebView2), or already possible and I just need to keep working it to get there... either way, its starting to cause a lot of frustration on me end...

    Have I outgrown C3? At least as far as this project goes?

  • I'm doing everything I can to facilitate a multi-monitor, undockable UI for my project, and I'm trying to find the best way to transfer a given UI componenet from the main window, to a popup, and back. I'd prefer to use layouts and C3 plugins if possible, purely for speed and my own comfort/experience level, but I'm not sure if that's even possible... thoughts?

  • I'm using window.open() to allow for undockable UI elements in my current project, and while it works as expected in browser, when I export to WebView2, I get no popup, and instead get a Microsoft Store popup saying "You need a new app to open this about link"... thoughts?

  • You do not have permission to view this post

  • Thanks for the feedback, feature-request it is!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No one has any ideas on this I gather? This does tend to force me to continue to use NW.js... I sure hope this can be resolved before NW.js gets removed entirely...

  • Like a dork, I'd completely forgotten about the FileSystem plugin, which 100% solves my binary writing needs... Still no luck figuring out how to remove the title bar for WebView2 exports though... anyone? Pretty please?

  • That's an awesome solution! I hadn't considered the Video Recorder at all. I'll have to remember that for my own project lol

  • I don't think C3 has a way to "record" audio, only to play it back... I'm willing to bet that you can do it using the WebAudio API in the JS side of C3. I'm going to guess it likely has something to do with what kind of output node you use... either way its a non-trivial task. I could be wrong though...

    You can always read through this and see if it'll get you closer to where you wanna be. https://stackoverflow.com/questions/21234902/record-sound-of-a-webaudio-apis-audio-context/53069676#53069676

    There might also be a way to do it by parsing the altered sounds into a BinaryData object, and then saving it out as a .wav, though I'm not sure how you'd capture the audio output as binary information in the first place.

brent_hamel's avatar

brent_hamel

Member since 31 Dec, 2009

None one is following brent_hamel yet!

Trophy Case

  • 15-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies