Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixelbox

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

how to use fs library

A topic by PLAY-MEK created Aug 01, 2020 Views: 349 Replies: 2
Viewing posts 1 to 2

I can't for the life of me get Pixelbox to open the 'fs' (or 'fs-extra') library that allows you to read and write to text files. However, this may just be due to me not having very advanced coding knowledge. I can't find anywhere on the internet that tells you how to do it.

For security reasons, the game is running in a sandbox environment by default (with Node integration disabled). You can disable sandbox environment from the menu > Debug > Run game in sandbox

Thank you so much! Sorry for the dumb questions. It worked!