LogoPixi’VN

itch.io

This page explains how to distribute your Pixi’VN game on itch.io, including how to make it playable in the browser.

Puoi distribuire il tuo gioco su itch.io. Si tratta di una piattaforma che ti consente di caricare il tuo gioco e distribuirlo al pubblico. È un'ottima piattaforma per distribuire il tuo gioco e ricevere riscontri dalla community.

Gioco riproducibile sul browser

Su itch.io puoi abilitare l'opzione Questo file sarà riprodotto nel browser perché un file caricato sia riproducibile nel browser.

Instead, you need to host the game on a server and then upload to itch.io a single html file containing an iframe that points to the URL where the game is hosted.

Ad esempio, dopo aver ospitato il gioco su un server, puoi creare un file index.html con i seguenti contenuti:

index.html
<!doctype html>
<html lang="en" style="height: 100%; width: 100%;">
  <head></head>
  <body
    style="height: 100%; width: 100%; display: flex; overflow: hidden; margin: 0; background-color: #242424;"
  >
    <div id="root"
      style="height: 100%; width: 100%;"
    >
      <iframe
        src="https://pixi-vn-visual-novel-example.pages.dev/"
        style="height: 100%; width: 100%; border: none;"
        allowfullscreen
      >
      </iframe>
    </div>
  </body>
</html>

Quindi, puoi caricare il file index.html su itch.io.

In questa pagina