@hytopia.com/examples 1.0.33 → 1.0.35

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.
Files changed (55) hide show
  1. package/ai-agents/index.ts +1 -1
  2. package/ai-agents/package.json +1 -1
  3. package/big-world/index.ts +1 -1
  4. package/big-world/package.json +1 -1
  5. package/block-entity/index.ts +1 -1
  6. package/block-entity/package.json +1 -1
  7. package/child-entity/index.ts +1 -1
  8. package/child-entity/package.json +1 -1
  9. package/custom-ui/index.ts +1 -1
  10. package/custom-ui/package.json +1 -1
  11. package/entity-animations/index.ts +1 -1
  12. package/entity-animations/package.json +1 -1
  13. package/entity-controller/index.ts +1 -1
  14. package/entity-controller/package.json +1 -1
  15. package/entity-spawn/index.ts +1 -1
  16. package/entity-spawn/package.json +1 -1
  17. package/frontiers-rpg-game/assets/models/players/.optimized/player/player-named-nodes.bin +0 -0
  18. package/frontiers-rpg-game/assets/models/players/.optimized/player/player-named-nodes.gltf +14515 -7134
  19. package/frontiers-rpg-game/assets/models/players/.optimized/player/player.bin +0 -0
  20. package/frontiers-rpg-game/assets/models/players/.optimized/player/player.gltf +14035 -6702
  21. package/frontiers-rpg-game/assets/models/players/.optimized/player/player.gltf.md5 +1 -1
  22. package/frontiers-rpg-game/assets/models/players/player.gltf +1 -1
  23. package/frontiers-rpg-game/dev/persistence/player-player-1.json +1 -1
  24. package/frontiers-rpg-game/src/GameManager.ts +5 -5
  25. package/frontiers-rpg-game/src/items/ItemRegistry.ts +2 -2
  26. package/frontiers-rpg-game/src/quests/QuestRegistry.ts +2 -2
  27. package/frontiers-rpg-game/src/regions/chitter-forest/ChitterForestRegion.ts +1 -1
  28. package/frontiers-rpg-game/src/regions/hearthwilds/HearthwildsRegion.ts +1 -1
  29. package/frontiers-rpg-game/src/regions/ratkin-nest/RatkinNestRegion.ts +1 -1
  30. package/frontiers-rpg-game/src/regions/stalkhaven/StalkhavenRegion.ts +1 -1
  31. package/frontiers-rpg-game/src/regions/stalkhaven-port/StalkhavenPortRegion.ts +1 -1
  32. package/frontiers-rpg-game/src/regions/weavers-hollow/WeaversHollowRegion.ts +1 -1
  33. package/hole-in-wall-game/index.ts +1 -1
  34. package/hole-in-wall-game/package.json +1 -1
  35. package/hygrounds/classes/GameManager.ts +1 -1
  36. package/hygrounds/index.ts +1 -1
  37. package/hygrounds/package.json +1 -1
  38. package/lighting/index.ts +1 -1
  39. package/lighting/package.json +1 -1
  40. package/mobile-controls/index.ts +1 -1
  41. package/mobile-controls/package.json +1 -1
  42. package/package.json +1 -1
  43. package/particles/index.ts +7 -1
  44. package/pathfinding/index.ts +1 -1
  45. package/pathfinding/package.json +1 -1
  46. package/payload-game/index.ts +1 -1
  47. package/payload-game/package.json +1 -1
  48. package/player-persistence/index.ts +1 -1
  49. package/player-persistence/package.json +1 -1
  50. package/wall-dodge-game/index.ts +1 -1
  51. package/wall-dodge-game/package.json +1 -1
  52. package/world-switching/index.ts +2 -2
  53. package/world-switching/package.json +1 -1
  54. package/zombies-fps/index.ts +1 -1
  55. package/zombies-fps/package.json +1 -1
@@ -32,7 +32,7 @@ import {
32
32
  Vector3,
33
33
  } from "hytopia";
34
34
 
35
- import worldMap from "./assets/map.json";
35
+ import worldMap from "./assets/map.json" with { type: "json" };
36
36
  import { FollowBehavior } from "./src/behaviors/FollowBehavior";
37
37
  import { BaseAgent } from "./src/BaseAgent";
38
38
  import { PathfindingBehavior } from "./src/behaviors/PathfindingBehavior";
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@hytopia.com/assets": "^0.3.2",
13
- "hytopia": "^0.6.4",
13
+ "hytopia": "*",
14
14
  "openai": "^4.77.3"
15
15
  },
16
16
  "trustedDependencies": [
@@ -4,7 +4,7 @@ import {
4
4
  PlayerEvent,
5
5
  } from 'hytopia';
6
6
 
7
- import worldMap from './assets/map.json';
7
+ import worldMap from './assets/map.json' with { type: 'json' } ;
8
8
 
9
9
  /**
10
10
  * This example loads and simulates extremely large map that is
@@ -10,7 +10,7 @@
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@hytopia.com/assets": "^0.3.2",
13
- "hytopia": "^0.6.4"
13
+ "hytopia": "*"
14
14
  },
15
15
  "trustedDependencies": [
16
16
  "mediasoup",
@@ -10,7 +10,7 @@ import {
10
10
  SimpleEntityController,
11
11
  } from 'hytopia';
12
12
 
13
- import worldMap from './assets/map.json';
13
+ import worldMap from './assets/map.json' with { type: 'json' } ;
14
14
 
15
15
  startServer(world => {
16
16
  // Boilerplate
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "^0.3.2",
14
- "hytopia": "^0.6.4"
14
+ "hytopia": "*"
15
15
  },
16
16
  "trustedDependencies": [
17
17
  "mediasoup",
@@ -6,7 +6,7 @@ import {
6
6
  Quaternion,
7
7
  } from 'hytopia';
8
8
 
9
- import worldMap from './assets/map.json';
9
+ import worldMap from './assets/map.json' with { type: 'json' } ;
10
10
 
11
11
  startServer(world => {
12
12
  world.loadMap(worldMap);
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "^0.3.2",
14
- "hytopia": "^0.6.4"
14
+ "hytopia": "*"
15
15
  },
16
16
  "trustedDependencies": [
17
17
  "mediasoup",
@@ -7,7 +7,7 @@ import {
7
7
  PlayerUIEvent,
8
8
  } from 'hytopia';
9
9
 
10
- import worldMap from './assets/map.json';
10
+ import worldMap from './assets/map.json' with { type: 'json' } ;
11
11
 
12
12
  // Simple map for player -> singular controlled entity
13
13
  const playerEntityMap = new Map<Player, DefaultPlayerEntity>();
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "^0.3.2",
14
- "hytopia": "^0.6.4"
14
+ "hytopia": "*"
15
15
  },
16
16
  "trustedDependencies": [
17
17
  "mediasoup",
@@ -5,7 +5,7 @@ import {
5
5
  ModelRegistry,
6
6
  } from 'hytopia';
7
7
 
8
- import worldMap from './assets/map.json';
8
+ import worldMap from './assets/map.json' with { type: 'json' } ;
9
9
 
10
10
  /**
11
11
  * This is a simple example used to visualize and debug animations.
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "^0.3.2",
14
- "hytopia": "^0.6.4"
14
+ "hytopia": "*"
15
15
  },
16
16
  "trustedDependencies": [
17
17
  "mediasoup",
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  import MyEntityController from './MyEntityController';
8
8
 
9
- import worldMap from './assets/map.json';
9
+ import worldMap from './assets/map.json' with { type: 'json' } ;
10
10
 
11
11
  startServer(world => {
12
12
  // Uncomment this to visualize physics vertices, will cause noticable lag.
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "^0.3.2",
14
- "hytopia": "^0.6.4"
14
+ "hytopia": "*"
15
15
  },
16
16
  "trustedDependencies": [
17
17
  "mediasoup",
@@ -11,7 +11,7 @@ import {
11
11
  World,
12
12
  } from 'hytopia';
13
13
 
14
- import worldMap from './assets/map.json';
14
+ import worldMap from './assets/map.json' with { type: 'json' } ;
15
15
 
16
16
  startServer(world => {
17
17
  // Boilerplate setup for our example, ignore this.
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "^0.3.2",
14
- "hytopia": "^0.6.4"
14
+ "hytopia": "*"
15
15
  },
16
16
  "trustedDependencies": [
17
17
  "mediasoup",