AnD4D's Forum Posts

  • And as another example, this is what the console shows Construct 2 looks for:

    GET /index.html?anchor=panel&language=en&locale=en-US&mode=viewer&state=testing&platform=web
    GET /jquery-2.1.1.min.js
    GET /c2runtime.js
    GET /data.js
    GET /images/sprite-sheet0.png
    GET /sw.js
    GET /offline.js?84191
    GET /
    GET /index.html?anchor=panel&language=en&locale=en-US&mode=viewer&state=testing&platform=web
    GET /data.js
    GET /offlineClient.js
    GET /icon-16.png
    GET /c2runtime.js
    GET /icon-32.png
    GET /jquery-2.1.1.min.js
    GET /images/sprite-sheet0.png
    GET /icon-114.png
    GET /icon-128.png
    GET /icon-256.png
    GET /loading-logo.png

    Additionally, is there a reason why 2 workermain.js are created in an html export?

  • As another update...

    THIS is what the console shows when running in both Chrome and Twitch Dev Kit:

    GET /index.html?anchor=video_overlay&language=en&locale=en-US&mode=viewer&state=testing&platform=web&legacyComponentDesign=true
    GET /style.css
    GET /scripts/supportcheck.js
    GET /scripts/main.js
    GET /scripts/offlineclient.js
    GET /scripts/register-sw.js
    GET /scripts/dispatchworker.js
    GET /scripts/jobworker.js
    GET /workermain.js
    GET /scripts/c3runtime.js
    GET /data.json
    GET /images/shared-0-sheet0.png

    And this is what it runs in Firefox:

    GET /index.html?anchor=video_overlay&language=en&locale=en-US&mode=viewer&state=testing&platform=web&legacyComponentDesign=true
    GET /style.css
    GET /scripts/supportcheck.js
    GET /scripts/offlineclient.js
    GET /scripts/register-sw.js
    GET /scripts/main.js
    GET /scripts/supportcheck.js
    GET /scripts/c3runtime.js
    GET /scripts/jobworker.js
    GET /scripts/dispatchworker.js
    GET /data.json
    GET /images/shared-0-sheet0.png
    GET /sw.js
    GET /offline.json
    GET /index.html?anchor=video_overlay&language=en&locale=en-US&mode=viewer&state=testing&platform=web&legacyComponentDesign=true
    GET /
    GET /scripts/c3runtime.js
    GET /data.json
    GET /style.css
    GET /scripts/offlineclient.js
    GET /images/shared-0-sheet0.png
    GET /scripts/main.js
    GET /workermain.js
    GET /scripts/dispatchworker.js
    GET /scripts/jobworker.js
    GET /scripts/workermain.js
    GET /scripts/supportcheck.js
    GET /icons/loading-logo.png
    GET /icons/icon-32.png
    GET /icons/icon-512.png
    GET /icons/icon-256.png
    GET /icons/icon-64.png
    GET /icons/icon-16.png
    GET /icons/icon-128.png
    GET /scripts/register-sw.js

    You can see it's not running some of them. Hope this means something to someone...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Asking a question in here was a long shot, I know, as most of my questions here are pretty... out there :( But I might as well update this in case it helps someone in the future.

    I found out that if I open the project in the Twitch Development Rig, it won't load... if I preview the html in Google Chrome it doesn't work, but if I tell the Rig to preview it in Firefox, it works.

    As I said before, the only thing I changed is the version of Construct I'm using.

    Ashley Sorry to tag you, but might you know what I may be missing? We're THIS close to getting Construct working for Twitch Extensions. I imagine it'll open many doors. I don't want to have to go back to Construct 2 now that I've had a taste of Construct 3.

  • For the past year I've been working on a Twitch overlay that works alongside the Twitch chat.

    When people type something into chat, I can make it do different things on the streams. This means I can create mini-games for Twitch streams!!! YAY!!!

    This was all made using Construct 2, and while testing a few things, I found that I was able to create a new app that appears on top of the Twitch channel itself, and show a real time version specifically for the viewers (a Twitch Extension).

    As I was able to make this in Construct 2 by simply adding the following line into the index code...

    ... I upgraded to Construct 3, built another test program, then added the line into the index again...

    This time, it doesn't work.

    I notice that Construct 3 exports are quite different compared to the Construct 2 export, with the index file calling the scripts folder instead of seemingly having them included. However, saying that, the one line I needed to add was also calling an external script, so I can't see what is causing the problem.

    Both programs just create a spinning square, with the Construct 2 version being a bit more complex, allowing the user to change the direction of the spin.

    Does anyone out there have a good knowledge of html, or (with any luck) Twitch extensions?

    With the only change being on whether it's Construct 2 or Construct 3, I imagine the issue I'm facing lies with the difference between the 2, rather than something I can change on Twitch, as I'm able to repeatedly get a working program using Construct 2.

    Any help would be appreciated, even if it's just brain storming ideas!

    Opening up the ability for us to make Twitch extensions and overlays would be great for all of us :)

  • Thanks

  • I've been using Construct 2 since it first launched, and have used Construct 3 in the past. However, for some reason I noticed that I couldn't find the Function object to add to my project.

    I opened an older C3 project that had it, so know it's still there, so figured I must have added it to my project and just missed it. I then copied an event over from one project to the other, but a message popped up telling me I didn't have the Function Object.

    In the old program, I then deleted the Function object and tried to add it in again. It wasn't there.

    I then created a brand new project and tried to add the Function tool. I can't see it anywhere.

    Has something changed? Do I need to access it elsewhere now?

  • Has nobody created a multiplayer game for Microsoft store before? XD

  • Just messing around with Construct, trying to figure out how easy it would be to make a multiplayer game for Xbox One.

    However, the signalling server won't even connect.

    This may be a niche question, but if anyone has any experience on this, I'd appreciate it.

    When I preview it, it works fine, but when I test it within Visual Studio or directly on my Xbox One console, it doesn't work at all. The text won't change :(

    Hopefully somebody's already been in this boat!

  • Wonderful. Is anyone able to show me how?

  • umarfarooq I'm using Construct 2 :)

    Custom scripts is not something I can do. Also, does your method actually allow a visualizer to make note of it?

    For example, the visualizer that already exists in the Example section will only react to music played from the actual project. If I have YouTube (for example) playing in the background, the visualizer will not react.

  • Does anyone know of a way to download music from a web host, and play it within the program?

    I want to upload some music and have the program download or even stream music that I have hosted online.

    I know I could just add all my files, but I want to save space, and have LOADS of music set aside.

    I wish to make a visualizer, so I don't think I can simply use an embed feature. Also, embed seems to hate autoplay these days.

  • *Cough*

    It seems... round(Self.Angle/45) works...

    I tried using "int" as I thought that rounded up or down, but apparently not. Sorry!

  • Hi all!!!

    I had a look at this tutorial here, and while it's nice, it's not quite what I want.

    https://www.construct.net/en/tutorials/animation-management-8-712

    Is suggests using the code "floor( (((A + 45) % 360) / 90) )" in order to get 4 directions, so I thought I could simply convert that 90 for 45 and have 8 angles.

    Unfortunately, I'm stupid :D

    Anybody have a smart way of doing this? I'd rather not have loads of events when I can do it in 1.

  • Well it looks like its not going to work with Ajax, even with proper https.

    I'm out of ideas.

    Pretty sure its a Cors issue though.

    Well I appreciate you trying :D No idea why this is so tough!

  • Use the return Ajax to load into the Json object.

    The path would probably be be root, chatters, viewers

    XD

    Sorry, I feel like I'm missing this entirely. Either I'm not understanding what you're saying, or I've explained my issue poorly.

    I can not use AJAX to grab text from the URL. When I try, it displays no data, which means I can't feed this into the JSON.

    A similar question was asked here:

    https://www.construct.net/en/forum/construct-3/how-do-i-8/how-do-i-do-basic-web-scraping-137896

    And sadly no solution was given.

    If I could get access to the data, I'd be able to use the JSON plugin to grab it... but I can't figure out how to do it :(