I have 50 .js files (or scenes) that are about 1.4 MB in size each. I also have 50 background images (1.6 MB) each. I went with this method because each game is located in a “unique location” so to speak. The user will only be interacting with one scene and one background image during the entire game. Would utilizing Webpack even benefit my game if the user is only playing in one .js file and image file during the game session?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Creating Production Build of Game Using NPM Build and Webpack | 3 | 1113 | May 23, 2020 | |
Huge .js file in development | 9 | 2327 | February 29, 2020 | |
Webpack using custom build? | 6 | 964 | June 11, 2020 | |
Multi File Game development | 2 | 44 | July 15, 2024 | |
Seeking Help: Memory Optimization for Large Game Assets in Phaser 3.80 | 1 | 37 | February 8, 2025 |