AnD4D's Forum Posts

  • Not to worry newt

    I'm not sure what's going on. I will key things out eventually if needbe, but wish transparency just worked.

  • Sorry, I'm not explaining myself very well.

    It's for a Twitch overlay.

    So in the background layer, Streamlabs displays the game.

    On the layer above it is the HTML5 layer I'm working on. The overlay shows animations, text, etc. Objects move across quickly, and change opacity.

    I have it working well enough if I set the background to 255 blue, and chroma/colour key that out, but then when things fade away or are partially opaque, I get this odd blue tint to them.

    The example you posted suggested using an alpha image to remove things, which unfortunately didn't work with what I was trying to do.

    I've seen people in Streamlabs say that they had issues with this before, but I can't tell if the problem is with C2 or Streamlabs, as I have another program that is working perfectly fine with transparency.

  • Ooooh, thanks Newt... will give that a go and report back!

    newt I thought we were on to something there, but that mainly seems to be for an alpha mask. The overlay itself sometimes has text over the transparent areas, which means I can't just mask it out.

    I can't figure out why transparent background comes out black.

  • I'm trying to create an overlay using Construct 2.

    So, I can make the background transparent, but that transparency doesn't remain when I open it in Streamlabs.

    As it's an overlay, I'd like things to appear below the overlay, such as game footage.

    I can use a solid colour, then colour key that our, but that doesn't work well with opacitys.

    You pay for things before you get them, right?

    Like if you want something from a shop. Same if you want to order something online. Same goes when you contract out work.

    You pay for the trailer, then you get the trailer.

    The fact that you don't get this suggests you're simply ignorant to these things. Not your fault, but getting all aggressive when people try to make you informed IS your fault.

    Also, your game looks really bad. If I spent 4 years on that, I'd be ashamed. Simply my opinion.

  • When I create my game, I can set the bottom most layer to transparent, and that appears to work quite well... but when I export it and try to open it up in Streamlabs OBS, the background colour changes from transparent to black.

    Has anyone come across this before? Even though the CSS code within Streamlabs is set to:

    body { background-color: rgba(0, 0, 0, 0) !important; margin: 0px auto; overflow: hidden; }

    It still doesn't work. I seem completely unable to set it to transparent, yet I've seen other programs able to do it.

    Is it something within C2 export, or like Streamlabs that's at fault?

    Wow...

  • This is quite interesting. I've also been looking into integrating Twitch with Construct 2. So far, I've only managed to get it to read a channel, but cannot figure out how to recognize follows or subs (beyond reading notifications in the chat).

    Are you able to share any of your ideas or methods?

  • I've found several tutorials that allow me to create a leaderboard in which I could play the game repeatedly, and I will eventually fill up the leaderboard. However, what I'm looking for is a unique leaderboard, similar to that of Orcs Must Die (only example I can think of atm).

    This means that the score is unique. When I get a better score, it will replace the old score and reposition me in the scoreboard.

    Ideally, what I'd like to do is just have a webstorage or local storage online, in which I can update values instead of having an actual leaderboard. Then just grab those values, meaning the leaderboard could be displayed and updated in realtime.

    Anybody know if this is possible?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have only been able to find one post about this:

    construct.net/en/forum/construct-2/how-do-i-18/twitch-tv-chat-integration-vie-110983

    In which (for some bizzare reason) the OP decided to delete all their posts because THEY determine it not to be useful, despite the fact that people ask questions I'm interested to which they respond with what I imagine is a good answer. They say they'll make a tutorial instead, but that isn't available, and the capx link is broken.

    In any case, I'm currently trying to create an app that will simply read messages of a given channel, and have the app react accordingly. At the moment, I do not need to post any messages, but I am interested in looking for ways to do the following:

    Count viewers

    Recognize when bits have been donated AND how much

    Recognize when money has been donated AND how much

    Look for key words

    Recognize who has donated anything, and written specific words

    I may eventually wish to allow the app to post on the specific channel, but at the moment I am not sure how tricky that would be, so I'm skipping it.

    I'm currently just staring blankly at the Websocket plugin :)

    The only image I've been able to find (based on that last post) is the following:

    i.imgur.com/2jxoHhY.png

  • You're right in one regard though! Turning off preview effects has stopped this from happened. It's weird, because I certainly don't have any effects turned on.

  • Yeah, thought that might be it, but I don't use effects. Especially not one that would create such a 3D effect. I wish I could figure this out, as I may find a uses for it in the future :D

  • I just changed a few settings in my parallax settings on a different layout, then changed to a different layout to find the following in my layout editor. Note that this isn't the actual gameplay.

    https://gyazo.com/49bebdc85ad7be760967db352ae6bacc

    I'm confused. I mean, it looks very cool, almost 3D. I'm not using any plugins that would cause anything like this. I also had a weird occasion a while back in which half my images were set to 0 opacity, and had to manually go through and correct everything.

    Anyone seen this before? I've tried quitting and restarting and nothing I do appears to fix it. Luckily it works fine in game, but this is very odd.

  • So... Nobody? :)

    As I said, it's only when trying to sign in using a guest wifi account or mobile data.

    I should point out that I have 2 separate programs working together, both made in C2. The first acts as the main host and has the main game and content. The apps I'm having problems with are web based controllers, similar to how Jack Box games work. As soon as I connect the devices to wifi, it works.

    Might there be security features blocking things that I'm unaware of?

    *edit oh sorry, didn't see your message. Turn servers?

  • I'm creating a multiplayer game that uses a pc as a host, and any other device as a peer, meaning mobile phones and laptops.

    It's usually working fine, but I had a friend come over try to access the game using their mobile on mobile data. It seemed to connect and join the room, but couldn't receive any messages from the host.

    I then suggested she use her laptop, and again she failed. I asked her what wifi she was connected to, and it turned out that she was connected to my routers guest account.

    It was I'd because it's worked fine for other people. I then connected her Wi-Fi to my main account and she was suddenly able to connect.

    I then logged out of my game and turned off my phones Wi-Fi and tried to connect using my mobile data, and that didn't work either.

    Anyone had that issue before? It only seems to happen with data and guest wifi. Yet works with normal wifi, both 2.5ghz and 5ghz.