AlexFrancois's Forum Posts

  • Still searching for a solution to this, been trying to build a plugin with no prior knowledge but I'm not even sure the runtime.forceCanvasAlpha flag exists any more as it doesn't appear here https://www.scirra.com/manual/26/runtime

    Could really use your help Ashley , my whole app is pretty much made redundant without alpha exported images.

  • Paster, or Canvas plugs will do what you are wanting.

    I don't think they will help. The problem isn't importing images with transparency, it's exporting them.

  • It seems this thread is my best hope at the moment:

    I quote Ashley "I added a flag in the runtime you can use to force alpha mode enabled: set runtime.forceCanvasAlpha to true." I'm not sure if this flag is still present in the latest c2 builds, furthermore I have no idea how to create a plugin, even a simple one with just this line! Any help would be greatly appreciated as this is pretty much making my app useless.

  • Something tells me Ashley may be able to shed some light on this, I read an explanation for this in an old thread but I'm not technical enough to understand it...

  • Hi, I'm trying to export canvas snapshots with a transparent background, but nw.js by default sets the background to black. My understanding is that the lack of an alpha channel on the background is a performance optimisation, how can I reverse this?

  • If you read the recent blog posts on WKWebView, it can use more memory, especially for music tracks. Does your game use a lot of music? I'd suspect it is crashing due to running out of memory.

    It does use a lot of music, though as it seems to crash when a new scene is loaded, or when the game is paused, I suspect it has to do with my system for saving save slot screenshots to json, which happens when you pause and when the game autosaves at the start of a new scene.

    Any idea why the game is playing every sound effect simultaneously? This even happens when the window is changed/device is locked for a second, and then the game is returned to.

  • Ashley Any idea what could be causing this? The crashing is one thing as at least I can try and find the cause of the high CPU usage, but the sound effect issue is a serious issue, I can literally save the game in a scene, load the game I just saved and every sound prior to the moment I've saved will play simultaneously. Is this a WKWebView issue out of your control?

  • I built my app on phonegap today to give WKWebView a try. The good news is it runs incredibly smoothly, menus open instantly, touch input is recognised immediately, dramatically improved frame rate etc. However there are some big problems.

    My game crashed on multiple occasions; usually when the scene changed or I opened the menu which leads me to believe the crashes are due to intensive CPU use.

    Also, when I load a save file, the game plays every sound effect the game had played up until that point simultaneously. This is very strange as it seems to be playing all the sounds from the previous scenes and nothing further.

    While I'm on the topic, is it well known that webgl effects are essentially unusable in cordova apps on ios and android? Simple effects like tint don't seem too bad, but using something like blur or a warp effect will reduce the frame rate to a few frames a second.

  • ThePhotons Any updates on a tutorial on how to use the c2 plugin?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm desperately trying to get multiplayer working on iOS too. It seems the only option is Photon cloud, though the plugin has no tutorial apart from two sample projects that don't really explain anything.

  • Is there any tutorial whatsoever on how to use this plugin, past the basic installation? It's completely different from the c2 multiplayer plugin in terms of actions, so I can't really guess what everything does. I would have though someone would have written on by now, especially since it's been available for over a year.

  • Just released on Linux, thanks to Aurel 's guide, though I did need to make additional changes. I'll do a post-mortem as some point.

  • Wonderful art.

    Thank you!

  • Hey everyone! I haven't had a chance to post this until now, but I released the first act of my Victorian adventure game The Slaughter on 28th January <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Steam: http://store.steampowered.com/app/356390

    Humble Store: https://www.humblebundle.com/store/p/th ... storefront

    Launch Trailer:

    Subscribe to Construct videos now

    I've had no luck with the overlay thus far, but I could just be being stupid.