Code Monkey home page Code Monkey logo

Comments (3)

fasterthanlime avatar fasterthanlime commented on September 16, 2024

A few notes on the itch app:

  • There are some troubleshooting notes in the manual: https://itch.io/docs/itch/integrating/troubleshooting-guide.html
  • If you're on Windows, it installs to %LOCALAPPDATA%/itch/app-25.3.0
  • If you set IMMEDIATE_NOSE_DIVE=1 (as an environment variable) before starting itch.exe, it'll open developer tools before launching an HTML5 game, which might give you more details than starting the game and only then pressing Shift+F12
  • Games are served from a custom protocol, itch-cave://, but it's registered as a "secure" protocol within chrome, so, for example, the Fetch API works, Websocket works, see https://fasterthanlime.itch.io/ws-test

Here are the versions it currently ships with (tl;dr Chrome 61)

image


I'm not familiar with how AirConsole works, so if anyone posts a few details about it I might be able to figure out what makes them not play together nice.

from airconsole-api.

andrin-n-dream avatar andrin-n-dream commented on September 16, 2024

itch-cave:// is a problem. We require everything to be served over https or http.

from airconsole-api.

fasterthanlime avatar fasterthanlime commented on September 16, 2024

itch-cave:// is a problem. We require everything to be served over https or http.

Can you expand on that a little bit? What are the technical reasons that make it so that games won't work unless the protocol happens to be http or https?

As I mentioned, that protocol, in the app, behaves exactly like https - all features are enabled for it (including WebSockets, Fetch, Web workers, anything https allows you to do in Chrome). It just happens to have a different name. I'm having a hard time understanding how that makes any difference to the AirConsole runtime (or how it's related to the error trace posted in the original message!)

(We cannot serve games over a protocol named "https", because it would either interfere with the actual https protocol, or would involve generating+trusting a local certificate, which has proved problematic in the past).

from airconsole-api.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.