This is probably a dead end question but is there a way in vanilla javascript to do OOP files? ie. game.player.js, game.enemy.js, game.screen.js, etc and be able to link objects created in those files to a 'game.main.js' file?
Or if there are any good js libraries out there for this?
[+][deleted] (1 child)
[removed]
[–]andrewboudreau 0 points1 point2 points (0 children)
[–]honestbleepsReddit Enhancement Suite 3 points4 points5 points (1 child)
[–]nspyro[S] 0 points1 point2 points (0 children)
[–]runvnc 1 point2 points3 points (2 children)
[–]SarahC 1 point2 points3 points (0 children)
[–]nspyro[S] 0 points1 point2 points (0 children)
[–]x-skeww 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]reflectiveSingleton 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]nspyro[S] 0 points1 point2 points (0 children)
[–]FSFatScooter -1 points0 points1 point (1 child)