@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.
- package/ai-agents/index.ts +1 -1
- package/ai-agents/package.json +1 -1
- package/big-world/index.ts +1 -1
- package/big-world/package.json +1 -1
- package/block-entity/index.ts +1 -1
- package/block-entity/package.json +1 -1
- package/child-entity/index.ts +1 -1
- package/child-entity/package.json +1 -1
- package/custom-ui/index.ts +1 -1
- package/custom-ui/package.json +1 -1
- package/entity-animations/index.ts +1 -1
- package/entity-animations/package.json +1 -1
- package/entity-controller/index.ts +1 -1
- package/entity-controller/package.json +1 -1
- package/entity-spawn/index.ts +1 -1
- package/entity-spawn/package.json +1 -1
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player-named-nodes.bin +0 -0
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player-named-nodes.gltf +14515 -7134
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player.bin +0 -0
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player.gltf +14035 -6702
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player.gltf.md5 +1 -1
- package/frontiers-rpg-game/assets/models/players/player.gltf +1 -1
- package/frontiers-rpg-game/dev/persistence/player-player-1.json +1 -1
- package/frontiers-rpg-game/src/GameManager.ts +5 -5
- package/frontiers-rpg-game/src/items/ItemRegistry.ts +2 -2
- package/frontiers-rpg-game/src/quests/QuestRegistry.ts +2 -2
- package/frontiers-rpg-game/src/regions/chitter-forest/ChitterForestRegion.ts +1 -1
- package/frontiers-rpg-game/src/regions/hearthwilds/HearthwildsRegion.ts +1 -1
- package/frontiers-rpg-game/src/regions/ratkin-nest/RatkinNestRegion.ts +1 -1
- package/frontiers-rpg-game/src/regions/stalkhaven/StalkhavenRegion.ts +1 -1
- package/frontiers-rpg-game/src/regions/stalkhaven-port/StalkhavenPortRegion.ts +1 -1
- package/frontiers-rpg-game/src/regions/weavers-hollow/WeaversHollowRegion.ts +1 -1
- package/hole-in-wall-game/index.ts +1 -1
- package/hole-in-wall-game/package.json +1 -1
- package/hygrounds/classes/GameManager.ts +1 -1
- package/hygrounds/index.ts +1 -1
- package/hygrounds/package.json +1 -1
- package/lighting/index.ts +1 -1
- package/lighting/package.json +1 -1
- package/mobile-controls/index.ts +1 -1
- package/mobile-controls/package.json +1 -1
- package/package.json +1 -1
- package/particles/index.ts +7 -1
- package/pathfinding/index.ts +1 -1
- package/pathfinding/package.json +1 -1
- package/payload-game/index.ts +1 -1
- package/payload-game/package.json +1 -1
- package/player-persistence/index.ts +1 -1
- package/player-persistence/package.json +1 -1
- package/wall-dodge-game/index.ts +1 -1
- package/wall-dodge-game/package.json +1 -1
- package/world-switching/index.ts +2 -2
- package/world-switching/package.json +1 -1
- package/zombies-fps/index.ts +1 -1
- package/zombies-fps/package.json +1 -1
package/ai-agents/index.ts
CHANGED
|
@@ -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";
|
package/ai-agents/package.json
CHANGED
package/big-world/index.ts
CHANGED
package/big-world/package.json
CHANGED
package/block-entity/index.ts
CHANGED
package/child-entity/index.ts
CHANGED
package/custom-ui/index.ts
CHANGED
|
@@ -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>();
|
package/custom-ui/package.json
CHANGED
|
@@ -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.
|
package/entity-spawn/index.ts
CHANGED