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 +1 -1
- package/boilerplate/index.ts +6 -4
- package/package.json +1 -1
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(
|
60
|
+
path.join(destDir, 'node_modules', '@hytopia.com', 'assets'),
|
61
61
|
path.join(destDir, 'assets'),
|
62
62
|
{ recursive: true, force: false }
|
63
63
|
);
|
package/boilerplate/index.ts
CHANGED
@@ -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
|
-
*
|
52
|
-
*
|
53
|
-
*
|
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
|
-
|
56
|
+
|
57
|
+
// world.simulation.enableDebugRendering(true);
|
56
58
|
|
57
59
|
/**
|
58
60
|
* Load our map.
|