Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixelbox

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

Error in code even without touching anything at all

A topic by ThatCipherDev created Nov 22, 2021 Views: 197 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hi there!

I tried to make a small game with a friend in Pixelbox but somehow pixelbox doesnt work at all on his machine? He only gets an error even without changing anything on a freshly created project.

He uses a fresh install and we re-installed pixelbox the first time this occured. we also tried to re-fetch the npm packages... nothing worked.

Hum. It looks like a problem with gamepad. Maybe a connected gamepad has a configuration different from what Pixelbox is expecting.

The first thing you can do to avoid this issue, is disabling the gamepads in the project settings: From the top menu: Project > Settings, click on the Controls tab, and uncheck the gamepads component.

If you could to help me, I would be interested to understand what is causing this issue. Do you have a game controller plugged? If yes, what is the model?

In the console, can you type navigator.getGamepads() and copy what you get as result?

Thats the result.

As it turns out he has a joystick plugged in from back then when he played some space game - seems like that caused the error. turning of the gamepad component helped

result