ArcadEd's Forum Posts

  • I'm running into an issue with all Mutliplayer apps I have been recently and I'm not sure what the issue is. I tested these apps with a several people over the last week with different results. Before I show the basic code, I want to quickly explain issues we had.

    I was always the host so would launch the app first. The Game Name stayed the same on every session, but was different for each app. The Room Name was always MainRoom in each app.

    I have a TextBox with that updates the peer count when a peer connects (this is important).

    On to the issue. Peers would connect (as host I would see the peer count up) but none of the On Peer Connected code would trigger.

    They would refresh, and it seems trying a different name or combination and it would usually work after some time, but not always. It was so random. Everyone was using Chrome, I made sure of it. Whether it be ipads, iphones, desktops, etc.

    I'm thinking I am not understanding something with how the Multiplayer plugin works.

    My Code: This part always completes going to layout 1.

    Layout 1

    With certain users, this was never a problem. With others, it was so hit or miss it became extremely frustrating. Is it a matter of moving off the scirra signaling server and moving to a different signaling server? Implementing an ICE server? Are there good options for ones out there on a monthly basis?

    I should also note, I know the Host Group is activating because everything else in the group works fine.

    Thanks everyone.

  • Curious if this is possible with a Plugin in C3?

    webrtc.github.io/samples

    Using RTCPeerConnection and MediaStream to do live video chat.

    webrtc.github.io/samples/src/content/peerconnection/pc1

    I'm not a JS devloper at all, but I have been working with C3/2 for many, many years and the amount of awesome stuff people put out with plugins blows my mind. Would be awesome if this was possible.

    Thanks.

    Ed

  • Ashley

    Can you let me know if this is possible? Coming soon feature? With a plugin?

    I just don't want to continue down this rabbit hole if it's not even possible. Thanks.

    It looks like streaming of video/chat uses getUserMedia() API. Is that that called somewhere in the Multiplayer or UserMedia plugins?

    webRTC Communication

    html5rocks.com/en/tutorials/webrtc/basics

    Thanks.

  • Before I go too far down this rabbit hole, just a simple question. Is realtime video chat possible using Construct 3's audio, multiplayer and user media objects? Is it possible with several people at once, maybe like 4?

    I see several WebRTC options out there that do live video chat via WebRTC. Just not sure how easy it is to implement into Construct3.

    Or might it be easier to build a website with Google Hangout features and embed the Construct app into the page?

    Thanks!

    Ed

  • I got it, I found the fix for this by searching the forums for webassembly.

  • Another quick question, do builds from Construct 3 to xcode work in the Xcode Simulators?

    I finally got the latest xcode running and when I try to build/test on iphone simulators I just get this webpage error.

    dropbox.com/scl/fi/rmgp6h4j24d7ahcoxsv8v/Screenshot-2019-12-07-20.43.15.png

  • Excellent. I was just actually checking that tool out. Glad to know it worked..

  • OK, I'm just getting back into some app development. Several years ago I created a pretty large game called Hungry Hal and xcode was a big part of getting that on the app store. Now, several years later my Mac is old (I only used it for app builds and submissions) and my version of Xcode is 7.1. The mac won't upgrade to the latest Mac OS, which meand my xcode is stuck at 7.1

    Question,

    Construct 3 and Corodava seem to compile for 12 and 13 sdk, which as far as I can tell Xcode 7.1 can not handle (9.2 max). Being a total mac newbie, what OS/Xcode do I need to be running to get Construct 3 games built? I'll probably end up using a virtual environment, just need to know what to look for.

    Thanks.

  • Ahh, that makes sense. Thanks Ashley

  • I have a script running in a repeat event. I want to access the loopindex from within the script, is this possible?

    Thanks.

  • Thanks buddy, I'll check it out.

    I did just build URL with my api key (which I had to create through google dev) and my chatID and I'm able to pull my Chat in json. Very exciting, I'll check out your example now. Thanks for pointing me in the right direction, I was making it way more complicated than it needed to be. :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Newt, do you think you could give a quick example? I think I kind of follow what you mean.

    I'll do some research on using Ajax to get youtube live chat.

    Something like this?

    https://www.googleapis.com/youtube/v3/liveChat/messages?key=[YOUR_API_KEY]

    Need to figure out how to get my chatID and API key.

  • Several years ago I created an app in C2 that could connect to my Twitch Chat using websockets. It allowed me to do all kinds of fun things.

    Several years later, I'm looking to do the same thing with YouTube, however it doesn't use websockets. Does anyone have any, or know of any example of someone using the YouTube API in a C3 application? The resource I am most wanting to implement is LiveChatMessage.

    developers.google.com/youtube/v3/live/docs/liveChatMessages

    With the inclusion of writing and using scripts in C3, I thought this might be an easier thing to accomplish now.

    Any advice? Tutorial?

    Thanks all,

    Ed

  • Yup, that's how I ended up doing it, with the remote preview.

    It was a video card issue, got it working now.

  • Where do you change the preview browser in Construct 3?