hytopia 0.1.41 → 0.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/scripts.js CHANGED
@@ -57,7 +57,7 @@ const path = require('path');
57
57
 
58
58
  // Copy assets into project, not overwriting existing files
59
59
  fs.cpSync(
60
- path.join(__dirname, 'node_modules', '@hytopia.com', 'assets'),
60
+ path.join(destDir, 'node_modules', '@hytopia.com', 'assets'),
61
61
  path.join(destDir, 'assets'),
62
62
  { recursive: true, force: false }
63
63
  );
@@ -48,11 +48,13 @@ startServer(world => {
48
48
  * This will overlay lines in-game representing colliders,
49
49
  * rigid bodies, and raycasts. This is useful for debugging
50
50
  * physics-related issues in a development environment.
51
- * For larger worlds, enabling this can cause performance
52
- * issues, which will be noticed as dropped frame rates
53
- * and higher RTT times.
51
+ * Enabling this can cause performance issues, which will
52
+ * be noticed as dropped frame rates and higher RTT times.
53
+ * It is intended for development environments only and
54
+ * debugging physics.
54
55
  */
55
- world.simulation.enableDebugRendering(true);
56
+
57
+ // world.simulation.enableDebugRendering(true);
56
58
 
57
59
  /**
58
60
  * Load our map.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "main": "server.js",
6
6
  "bin": {