Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

So in player.js you are exporting a class named Player, right?
And are variables defined in player.js accessible in main.js (not just variables in the Player class)?