Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixelbox

Create 2D games in JavaScript, made easier · By Cedric Stoquer

wont update the index.html

A topic by Dudeguy1 created May 22, 2020 Views: 193 Replies: 7
Viewing posts 1 to 2
(-1)

it stays as a black screen :(

Can you give more details on all the steps you did to get to this result?

Are you trying to open the html file directly?

(-1)

yes

(-1)

i tried doing everything i could in the pixelbox i did "build archive" whatever that means i tried everythin

The html file cannot be opened directly. This is not an issue with Pixelbox but a general problem with web-development. You need a local server to serve the html page. 

There are 2 methods to test your game with Pixelbox:

  • Click on the "Run" button of the menu bar. This  will launch your game in a separate window (see also this tutorial)
  • To test your game in your web-browser: copy the url of Pixelbox local server by clicking on the button in the top right corner of the editor, and paste it to the address bar of your browser.

Once your game is built, you can publish the build.zip file to itch.io, and itch CDN will take care of serving the game files.

(1 edit)

what build.zip file? there is none. also the reason i wanted to open the index html file was to put it in the itch.io project i was making because it would only show a blank screen

from the menu: Project > Build Archive should create a build.zip file in the distrib folder of your project.

This archive can be uploaded as-is to Itch.io. Don't forget to check the "This file will be played in the browser" on the itch page:


(+1)

thx for help