AlexFrancois's Recent Forum Activity

  • Wow, this is looking goooood! Keep up the awesome work, this is exactly what c2 needs, twitch integration is the future http://www.gamesindustry.biz/articles/2 ... to-success

  • >

    > > Alright i got it working, turns out the ip i had was for irc events only and didnt allow for actually anything other than initial connection, working websocket ip for twitch chat is ws://irc-ws.chat.twitch.tv:80 in case people are interested

    > >

    > Is there any chance you could post a capx example of your updated twitch code?

    >

    > Edit: I've got it working <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> the reviving messages side anyway, though I haven't managed to get the sending side working.

    >

    > Great job on this, so simple but effective, opens up some serious possibilities!

    >

    I'll upload a capx of the project next week. The message parsing isn't perfect, but it can send and receive messages, fires event when user joins/leaves the channel, list all chatters.

    Awesome, I look forward to it!

  • Alright i got it working, turns out the ip i had was for irc events only and didnt allow for actually anything other than initial connection, working websocket ip for twitch chat is ws://irc-ws.chat.twitch.tv:80 in case people are interested

    Is there any chance you could post a capx example of your updated twitch code?

    Edit: I've got it working <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> the reviving messages side anyway, though I haven't managed to get the sending side working.

    Great job on this, so simple but effective, opens up some serious possibilities!

  • yea...probably works only if you disable WebGl...not the best solution...

    I wonder why turning webgl off allows transparent backgrounds? Sadly as I'm using a lot of effects like tint this isn't an option, but I'm going to keep exploring it :/

  • > .. but it sadly doesn't seem to be working..

    >

    are you sure?

    I haven't been able to get it working, have you had any success with it?

    I think the window object only really effects the frame, not what's inside the frame, hence why it says 'The transparent feature is only supported on Vista and above with DWM (Desktop Window Manager) enabled. ' as DWM deals with things like the transparency of a window's border, rather than what's inside which is determined by nw.js

  • did you try with Browser object(Execute Javascript)?

    Transparency Window

    "var gui = window.require('nw.gui');
    gui.Window.get().setTransparent();"[/code:3fmrz68n]
    

    Thanks for the suggestion, but it sadly doesn't seem to be working, I think it's for setting the transparency of the frame, rather than the actual content. I've also tried setting the background to transparent in the index.html with no luck.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

AlexFrancois's avatar

AlexFrancois

Member since 12 Jun, 2013

None one is following AlexFrancois yet!

Connect with AlexFrancois

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies