create-mud 2.2.17-f88e48e47ceb4a29a3862a3f3b85891490952f0e → 2.2.17
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/README.md +2 -4
- package/bin/cli.js +4 -0
- package/dist/cli.d.ts +2 -1
- package/dist/cli.js +9 -2
- package/dist/cli.js.map +1 -1
- package/package.json +17 -11
- package/templates/phaser/packages/contracts/worlds.json +5 -0
- package/templates/react/.gitignore_ +16 -0
- package/templates/react/mprocs.yaml +21 -0
- package/templates/react/package.json +31 -0
- package/templates/react/packages/client/.gitignore_ +1 -0
- package/{dist/templates/threejs → templates/react}/packages/client/index.html +2 -2
- package/templates/react/packages/client/postcss.config.cjs +6 -0
- package/templates/react/packages/client/src/game/useKeyboardMovement.ts +26 -0
- package/templates/react/packages/client/src/index.tsx +19 -0
- package/templates/react/packages/client/src/mud/Explorer.tsx +32 -0
- package/{dist/templates → templates}/react/packages/client/src/mud/Synced.tsx +1 -1
- package/templates/react/packages/client/src/mud/useWorldContract.ts +44 -0
- package/templates/react/packages/client/src/ui/AsyncButton.tsx +41 -0
- package/templates/react/packages/client/src/ui/ErrorFallback.tsx +58 -0
- package/templates/react/packages/client/src/ui/icons/ArrowDownIcon.tsx +22 -0
- package/templates/react/packages/client/src/ui/icons/MUDIcon.tsx +25 -0
- package/templates/react/packages/client/src/wagmiConfig.ts +49 -0
- package/templates/react/packages/client/tailwind.config.ts +10 -0
- package/templates/react/packages/client/tsconfig.json +11 -0
- package/{dist/templates/threejs → templates/react}/packages/client/vite.config.ts +2 -7
- package/templates/react/packages/contracts/.env +11 -0
- package/templates/react/packages/contracts/.gitignore_ +13 -0
- package/{dist/templates → templates}/react/packages/contracts/mud.config.ts +0 -7
- package/{dist/templates/vanilla → templates/react}/packages/contracts/package.json +1 -0
- package/{dist/templates/vanilla → templates/react}/packages/contracts/script/PostDeploy.s.sol +1 -5
- package/{dist/templates/vanilla/packages/contracts/src/codegen/index.sol → templates/react/packages/contracts/src/codegen/common.sol} +6 -1
- package/{dist/templates → templates}/react/packages/contracts/test/MoveTest.t.sol +0 -2
- package/templates/react/packages/contracts/test/WorldTest.t.sol +16 -0
- package/templates/react/packages/contracts/worlds.json +5 -0
- package/{dist/templates/react → templates/react-ecs}/mprocs.yaml +1 -1
- package/{dist/templates → templates}/react-ecs/packages/client/package.json +16 -9
- package/templates/react-ecs/packages/client/src/App.tsx +74 -0
- package/templates/react-ecs/packages/client/src/Providers.tsx +29 -0
- package/templates/react-ecs/packages/client/src/common.ts +27 -0
- package/templates/react-ecs/packages/client/src/game/GameMap.tsx +112 -0
- package/templates/react-ecs/packages/client/src/mud/Synced.tsx +14 -0
- package/templates/react-ecs/packages/client/src/mud/recs.ts +6 -0
- package/templates/react-ecs/packages/client/src/mud/useSyncStatus.ts +17 -0
- package/{dist/templates/threejs → templates/react-ecs}/packages/contracts/.env +1 -1
- package/templates/react-ecs/packages/contracts/mud.config.ts +18 -0
- package/templates/react-ecs/packages/contracts/out/IWorld.sol/IWorld.abi.json +2039 -0
- package/templates/react-ecs/packages/contracts/src/Entity.sol +20 -0
- package/templates/react-ecs/packages/contracts/src/MoveSystem.sol +30 -0
- package/templates/react-ecs/packages/contracts/src/SpawnSystem.sol +18 -0
- package/templates/react-ecs/packages/contracts/src/codegen/index.sol +8 -0
- package/{dist/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol → templates/react-ecs/packages/contracts/src/codegen/tables/EntityCount.sol} +35 -35
- package/templates/react-ecs/packages/contracts/src/codegen/tables/Owner.sol +202 -0
- package/templates/react-ecs/packages/contracts/src/codegen/tables/Position.sol +321 -0
- package/templates/react-ecs/packages/contracts/src/codegen/world/IMoveSystem.sol +16 -0
- package/templates/react-ecs/packages/contracts/src/codegen/world/ISpawnSystem.sol +15 -0
- package/templates/react-ecs/packages/contracts/src/codegen/world/IWorld.sol +17 -0
- package/templates/react-ecs/packages/contracts/src/createEntity.sol +11 -0
- package/templates/react-ecs/packages/contracts/test/MoveTest.t.sol +39 -0
- package/{dist/templates/react → templates/react-ecs}/packages/contracts/test/WorldTest.t.sol +0 -5
- package/templates/react-ecs/packages/contracts/worlds.json +5 -0
- package/templates/threejs/packages/contracts/worlds.json +5 -0
- package/templates/vanilla/packages/contracts/worlds.json +5 -0
- package/dist/templates/phaser/packages/contracts/worlds.json +0 -5
- package/dist/templates/react/packages/contracts/worlds.json +0 -5
- package/dist/templates/react-ecs/package.json +0 -32
- package/dist/templates/react-ecs/packages/client/src/App.tsx +0 -29
- package/dist/templates/react-ecs/packages/client/src/mud/createSystemCalls.ts +0 -51
- package/dist/templates/react-ecs/packages/client/src/mud/getNetworkConfig.ts +0 -77
- package/dist/templates/react-ecs/packages/contracts/worlds.json +0 -5
- package/dist/templates/threejs/packages/client/src/MUDContext.tsx +0 -21
- package/dist/templates/threejs/packages/client/src/index.tsx +0 -34
- package/dist/templates/threejs/packages/contracts/worlds.json +0 -5
- package/dist/templates/vanilla/gitignore +0 -7
- package/dist/templates/vanilla/mprocs.yaml +0 -13
- package/dist/templates/vanilla/packages/client/gitignore +0 -3
- package/dist/templates/vanilla/packages/client/src/mud/createClientComponents.ts +0 -21
- package/dist/templates/vanilla/packages/client/src/mud/setup.ts +0 -21
- package/dist/templates/vanilla/packages/client/src/mud/setupNetwork.ts +0 -106
- package/dist/templates/vanilla/packages/client/src/mud/supportedChains.ts +0 -20
- package/dist/templates/vanilla/packages/client/src/mud/world.ts +0 -3
- package/dist/templates/vanilla/packages/client/tsconfig.json +0 -11
- package/dist/templates/vanilla/packages/contracts/.env +0 -11
- package/dist/templates/vanilla/packages/contracts/gitignore +0 -9
- package/dist/templates/vanilla/packages/contracts/mud.config.ts +0 -13
- package/dist/templates/vanilla/packages/contracts/src/codegen/world/IIncrementSystem.sol +0 -13
- package/dist/templates/vanilla/packages/contracts/src/codegen/world/IWorld.sol +0 -16
- package/dist/templates/vanilla/packages/contracts/src/systems/IncrementSystem.sol +0 -14
- package/dist/templates/vanilla/packages/contracts/test/CounterTest.t.sol +0 -31
- package/dist/templates/vanilla/packages/contracts/worlds.json +0 -5
- /package/{dist/templates → templates}/phaser/.eslintrc +0 -0
- /package/{dist/templates → templates}/phaser/.gitattributes +0 -0
- /package/{dist/templates/phaser/gitignore → templates/phaser/.gitignore_} +0 -0
- /package/{dist/templates → templates}/phaser/.vscode/extensions.json +0 -0
- /package/{dist/templates → templates}/phaser/.vscode/settings.json +0 -0
- /package/{dist/templates → templates}/phaser/mprocs.yaml +0 -0
- /package/{dist/templates → templates}/phaser/package.json +0 -0
- /package/{dist/templates/phaser/packages/art/gitignore → templates/phaser/packages/art/.gitignore_} +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/README.md +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/config-sprites.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/package.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/scripts/cli.mjs +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/scripts/export-tiled-types.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/attack/0.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/attack/1.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/attack/2.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/attack/3.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/attack/4.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/attack/5.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/death/0.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/death/1.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/death/2.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/idle/0.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/idle/1.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/idle/2.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/sprites/golem/idle/3.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/tilesets/images/world.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/art/tilesets/world.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/.env +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/.eslintrc +0 -0
- /package/{dist/templates/phaser/packages/client/gitignore → templates/phaser/packages/client/.gitignore_} +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/index.html +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/package.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/public/assets/atlases/atlas.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/public/assets/atlases/atlas.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/public/assets/tilesets/world.png +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/artTypes/world.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/index.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/network/createNetworkLayer.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/configurePhaser.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/constants.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/createPhaserLayer.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/systems/createCamera.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/systems/createMapSystem.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/systems/index.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/systems/registerSystems.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/createClientComponents.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/createSystemCalls.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/getNetworkConfig.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/setup.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/setupNetwork.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/supportedChains.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/mud/world.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/store.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/App.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/BootScreen.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/LoadingBar.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/LoadingScreen.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/index.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/PhaserLayer.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/UIRoot.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/Wrapper.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/hooks/useNetworkLayer.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/hooks/usePhaserLayer.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/hooks/usePromiseValue.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/theme/ClickWrapper.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/src/ui/theme/SpriteImage.tsx +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/tsconfig.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/client/vite.config.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/.env +0 -0
- /package/{dist/templates/phaser/packages/contracts/gitignore → templates/phaser/packages/contracts/.gitignore_} +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/.prettierrc +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/.solhint.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/foundry.toml +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/mud.config.ts +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/package.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/remappings.txt +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/script/PostDeploy.s.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/src/codegen/index.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/src/codegen/tables/Counter.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/src/codegen/world/IIncrementSystem.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/src/codegen/world/IWorld.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/src/systems/IncrementSystem.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/test/CounterTest.t.sol +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/tsconfig.json +0 -0
- /package/{dist/templates → templates}/phaser/packages/contracts/worlds.json.d.ts +0 -0
- /package/{dist/templates → templates}/phaser/pnpm-workspace.yaml +0 -0
- /package/{dist/templates → templates}/phaser/tsconfig.json +0 -0
- /package/{dist/templates → templates}/react/.eslintrc +0 -0
- /package/{dist/templates → templates}/react/.gitattributes +0 -0
- /package/{dist/templates → templates}/react/.vscode/extensions.json +0 -0
- /package/{dist/templates → templates}/react/.vscode/settings.json +0 -0
- /package/{dist/templates → templates}/react/packages/client/.env +0 -0
- /package/{dist/templates → templates}/react/packages/client/.eslintrc +0 -0
- /package/{dist/templates → templates}/react/packages/client/package.json +0 -0
- /package/{dist/templates → templates}/react/packages/client/src/App.tsx +0 -0
- /package/{dist/templates → templates}/react/packages/client/src/Providers.tsx +0 -0
- /package/{dist/templates → templates}/react/packages/client/src/common.ts +0 -0
- /package/{dist/templates → templates}/react/packages/client/src/game/GameMap.tsx +0 -0
- /package/{dist/templates → templates}/react/packages/client/src/mud/stash.ts +0 -0
- /package/{dist/templates → templates}/react/packages/client/src/mud/useSyncStatus.ts +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/.prettierrc +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/.solhint.json +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/foundry.toml +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/out/IWorld.sol/IWorld.abi.json +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/remappings.txt +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/src/MoveSystem.sol +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/src/codegen/index.sol +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/src/codegen/tables/Position.sol +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/src/codegen/world/IMoveSystem.sol +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/src/codegen/world/IWorld.sol +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/tsconfig.json +0 -0
- /package/{dist/templates → templates}/react/packages/contracts/worlds.json.d.ts +0 -0
- /package/{dist/templates → templates}/react/pnpm-workspace.yaml +0 -0
- /package/{dist/templates → templates}/react/tsconfig.json +0 -0
- /package/{dist/templates → templates}/react-ecs/.eslintrc +0 -0
- /package/{dist/templates → templates}/react-ecs/.gitattributes +0 -0
- /package/{dist/templates/react/gitignore → templates/react-ecs/.gitignore_} +0 -0
- /package/{dist/templates → templates}/react-ecs/.vscode/extensions.json +0 -0
- /package/{dist/templates → templates}/react-ecs/.vscode/settings.json +0 -0
- /package/{dist/templates/react → templates/react-ecs}/package.json +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/client/.env +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/client/.eslintrc +0 -0
- /package/{dist/templates/react/packages/client/gitignore → templates/react-ecs/packages/client/.gitignore_} +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/index.html +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/postcss.config.cjs +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/game/useKeyboardMovement.ts +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/index.tsx +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/mud/Explorer.tsx +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/mud/useWorldContract.ts +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/ui/AsyncButton.tsx +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/ui/ErrorFallback.tsx +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/ui/icons/ArrowDownIcon.tsx +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/ui/icons/MUDIcon.tsx +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/src/wagmiConfig.ts +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/tailwind.config.ts +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/tsconfig.json +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/client/vite.config.ts +0 -0
- /package/{dist/templates/react/packages/contracts/gitignore → templates/react-ecs/packages/contracts/.gitignore_} +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/contracts/.prettierrc +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/contracts/.solhint.json +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/contracts/foundry.toml +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/contracts/package.json +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/contracts/remappings.txt +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/contracts/script/PostDeploy.s.sol +0 -0
- /package/{dist/templates/react → templates/react-ecs}/packages/contracts/src/codegen/common.sol +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/contracts/tsconfig.json +0 -0
- /package/{dist/templates → templates}/react-ecs/packages/contracts/worlds.json.d.ts +0 -0
- /package/{dist/templates → templates}/react-ecs/pnpm-workspace.yaml +0 -0
- /package/{dist/templates → templates}/react-ecs/tsconfig.json +0 -0
- /package/{dist/templates → templates}/threejs/.eslintrc +0 -0
- /package/{dist/templates → templates}/threejs/.gitattributes +0 -0
- /package/{dist/templates/react-ecs/gitignore → templates/threejs/.gitignore_} +0 -0
- /package/{dist/templates → templates}/threejs/.vscode/extensions.json +0 -0
- /package/{dist/templates → templates}/threejs/.vscode/settings.json +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/mprocs.yaml +0 -0
- /package/{dist/templates → templates}/threejs/package.json +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/.env +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/.eslintrc +0 -0
- /package/{dist/templates/react-ecs/packages/client/gitignore → templates/threejs/packages/client/.gitignore_} +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/index.html +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/package.json +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/src/App.tsx +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/src/MUDContext.tsx +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/src/index.tsx +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/src/mud/createClientComponents.ts +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/src/mud/createSystemCalls.ts +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/src/mud/getNetworkConfig.ts +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/src/mud/setup.ts +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/src/mud/setupNetwork.ts +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/src/mud/supportedChains.ts +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/src/mud/world.ts +0 -0
- /package/{dist/templates → templates}/threejs/packages/client/src/useKeyboardMovement.ts +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/tsconfig.json +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/client/vite.config.ts +0 -0
- /package/{dist/templates/react-ecs → templates/threejs}/packages/contracts/.env +0 -0
- /package/{dist/templates/react-ecs/packages/contracts/gitignore → templates/threejs/packages/contracts/.gitignore_} +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/.prettierrc +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/.solhint.json +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/foundry.toml +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/mud.config.ts +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/package.json +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/remappings.txt +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/src/codegen/index.sol +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/src/codegen/tables/Position.sol +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/src/codegen/world/IMoveSystem.sol +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/src/codegen/world/IWorld.sol +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/src/systems/MoveSystem.sol +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/test/WorldTest.t.sol +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/tsconfig.json +0 -0
- /package/{dist/templates → templates}/threejs/packages/contracts/worlds.json.d.ts +0 -0
- /package/{dist/templates → templates}/threejs/pnpm-workspace.yaml +0 -0
- /package/{dist/templates → templates}/threejs/tsconfig.json +0 -0
- /package/{dist/templates → templates}/vanilla/.eslintrc +0 -0
- /package/{dist/templates → templates}/vanilla/.gitattributes +0 -0
- /package/{dist/templates/threejs/gitignore → templates/vanilla/.gitignore_} +0 -0
- /package/{dist/templates → templates}/vanilla/.vscode/extensions.json +0 -0
- /package/{dist/templates → templates}/vanilla/.vscode/settings.json +0 -0
- /package/{dist/templates/threejs → templates/vanilla}/mprocs.yaml +0 -0
- /package/{dist/templates → templates}/vanilla/package.json +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/.env +0 -0
- /package/{dist/templates/threejs/packages/client/gitignore → templates/vanilla/packages/client/.gitignore_} +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/index.html +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/package.json +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/src/index.ts +0 -0
- /package/{dist/templates/threejs → templates/vanilla}/packages/client/src/mud/createClientComponents.ts +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/src/mud/createSystemCalls.ts +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/src/mud/getNetworkConfig.ts +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/client/src/mud/setup.ts +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/client/src/mud/setupNetwork.ts +0 -0
- /package/{dist/templates/threejs → templates/vanilla}/packages/client/src/mud/supportedChains.ts +0 -0
- /package/{dist/templates/threejs → templates/vanilla}/packages/client/src/mud/world.ts +0 -0
- /package/{dist/templates/threejs → templates/vanilla}/packages/client/tsconfig.json +0 -0
- /package/{dist/templates → templates}/vanilla/packages/client/vite.config.ts +0 -0
- /package/{dist/templates/react → templates/vanilla}/packages/contracts/.env +0 -0
- /package/{dist/templates/threejs/packages/contracts/gitignore → templates/vanilla/packages/contracts/.gitignore_} +0 -0
- /package/{dist/templates → templates}/vanilla/packages/contracts/.prettierrc +0 -0
- /package/{dist/templates → templates}/vanilla/packages/contracts/.solhint.json +0 -0
- /package/{dist/templates → templates}/vanilla/packages/contracts/foundry.toml +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/mud.config.ts +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/package.json +0 -0
- /package/{dist/templates → templates}/vanilla/packages/contracts/remappings.txt +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/script/PostDeploy.s.sol +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/src/codegen/index.sol +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/src/codegen/tables/Counter.sol +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/src/codegen/world/IIncrementSystem.sol +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/src/codegen/world/IWorld.sol +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/src/systems/IncrementSystem.sol +0 -0
- /package/{dist/templates/react-ecs → templates/vanilla}/packages/contracts/test/CounterTest.t.sol +0 -0
- /package/{dist/templates → templates}/vanilla/packages/contracts/tsconfig.json +0 -0
- /package/{dist/templates → templates}/vanilla/packages/contracts/worlds.json.d.ts +0 -0
- /package/{dist/templates → templates}/vanilla/pnpm-workspace.yaml +0 -0
- /package/{dist/templates → templates}/vanilla/tsconfig.json +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { createContext, ReactNode, useContext } from "react";
|
|
2
|
-
import { SetupResult } from "./mud/setup";
|
|
3
|
-
|
|
4
|
-
const MUDContext = createContext<SetupResult | null>(null);
|
|
5
|
-
|
|
6
|
-
type Props = {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
value: SetupResult;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const MUDProvider = ({ children, value }: Props) => {
|
|
12
|
-
const currentValue = useContext(MUDContext);
|
|
13
|
-
if (currentValue) throw new Error("MUDProvider can only be used once");
|
|
14
|
-
return <MUDContext.Provider value={value}>{children}</MUDContext.Provider>;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export const useMUD = () => {
|
|
18
|
-
const value = useContext(MUDContext);
|
|
19
|
-
if (!value) throw new Error("Must be used within a MUDProvider");
|
|
20
|
-
return value;
|
|
21
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import ReactDOM from "react-dom/client";
|
|
2
|
-
import { App } from "./App";
|
|
3
|
-
import { setup } from "./mud/setup";
|
|
4
|
-
import { MUDProvider } from "./MUDContext";
|
|
5
|
-
import mudConfig from "contracts/mud.config";
|
|
6
|
-
|
|
7
|
-
const rootElement = document.getElementById("react-root");
|
|
8
|
-
if (!rootElement) throw new Error("React root not found");
|
|
9
|
-
const root = ReactDOM.createRoot(rootElement);
|
|
10
|
-
|
|
11
|
-
// TODO: figure out if we actually want this to be async or if we should render something else in the meantime
|
|
12
|
-
setup().then(async (result) => {
|
|
13
|
-
root.render(
|
|
14
|
-
<MUDProvider value={result}>
|
|
15
|
-
<App />
|
|
16
|
-
</MUDProvider>,
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
// https://vitejs.dev/guide/env-and-mode.html
|
|
20
|
-
if (import.meta.env.DEV) {
|
|
21
|
-
const { mount: mountDevTools } = await import("@latticexyz/dev-tools");
|
|
22
|
-
mountDevTools({
|
|
23
|
-
config: mudConfig,
|
|
24
|
-
publicClient: result.network.publicClient,
|
|
25
|
-
walletClient: result.network.walletClient,
|
|
26
|
-
latestBlock$: result.network.latestBlock$,
|
|
27
|
-
storedBlockLogs$: result.network.storedBlockLogs$,
|
|
28
|
-
worldAddress: result.network.worldContract.address,
|
|
29
|
-
worldAbi: result.network.worldContract.abi,
|
|
30
|
-
write$: result.network.write$,
|
|
31
|
-
recsWorld: result.network.world,
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
procs:
|
|
2
|
-
client:
|
|
3
|
-
cwd: packages/client
|
|
4
|
-
shell: pnpm run dev
|
|
5
|
-
contracts:
|
|
6
|
-
cwd: packages/contracts
|
|
7
|
-
shell: pnpm mud dev-contracts --rpc http://127.0.0.1:8545
|
|
8
|
-
anvil:
|
|
9
|
-
cwd: packages/contracts
|
|
10
|
-
shell: anvil --base-fee 0 --block-time 2
|
|
11
|
-
explorer:
|
|
12
|
-
cwd: packages/contracts
|
|
13
|
-
shell: pnpm explorer
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Creates components for use by the client.
|
|
3
|
-
*
|
|
4
|
-
* By default it returns the components from setupNetwork.ts, those which are
|
|
5
|
-
* automatically inferred from the mud.config.ts table definitions.
|
|
6
|
-
*
|
|
7
|
-
* However, you can add or override components here as needed. This
|
|
8
|
-
* lets you add user defined components, which may or may not have
|
|
9
|
-
* an onchain component.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { SetupNetworkResult } from "./setupNetwork";
|
|
13
|
-
|
|
14
|
-
export type ClientComponents = ReturnType<typeof createClientComponents>;
|
|
15
|
-
|
|
16
|
-
export function createClientComponents({ components }: SetupNetworkResult) {
|
|
17
|
-
return {
|
|
18
|
-
...components,
|
|
19
|
-
// add your client components or overrides here
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file sets up all the definitions required for a MUD client.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { createClientComponents } from "./createClientComponents";
|
|
6
|
-
import { createSystemCalls } from "./createSystemCalls";
|
|
7
|
-
import { setupNetwork } from "./setupNetwork";
|
|
8
|
-
|
|
9
|
-
export type SetupResult = Awaited<ReturnType<typeof setup>>;
|
|
10
|
-
|
|
11
|
-
export async function setup() {
|
|
12
|
-
const network = await setupNetwork();
|
|
13
|
-
const components = createClientComponents(network);
|
|
14
|
-
const systemCalls = createSystemCalls(network, components);
|
|
15
|
-
|
|
16
|
-
return {
|
|
17
|
-
network,
|
|
18
|
-
components,
|
|
19
|
-
systemCalls,
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The MUD client code is built on top of viem
|
|
3
|
-
* (https://viem.sh/docs/getting-started.html).
|
|
4
|
-
* This line imports the functions we need from it.
|
|
5
|
-
*/
|
|
6
|
-
import {
|
|
7
|
-
createPublicClient,
|
|
8
|
-
fallback,
|
|
9
|
-
webSocket,
|
|
10
|
-
http,
|
|
11
|
-
createWalletClient,
|
|
12
|
-
Hex,
|
|
13
|
-
ClientConfig,
|
|
14
|
-
getContract,
|
|
15
|
-
} from "viem";
|
|
16
|
-
import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs";
|
|
17
|
-
|
|
18
|
-
import { getNetworkConfig } from "./getNetworkConfig";
|
|
19
|
-
import { world } from "./world";
|
|
20
|
-
import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json";
|
|
21
|
-
import { createBurnerAccount, transportObserver, ContractWrite } from "@latticexyz/common";
|
|
22
|
-
import { transactionQueue, writeObserver } from "@latticexyz/common/actions";
|
|
23
|
-
|
|
24
|
-
import { Subject, share } from "rxjs";
|
|
25
|
-
|
|
26
|
-
/*
|
|
27
|
-
* Import our MUD config, which includes strong types for
|
|
28
|
-
* our tables and other config options. We use this to generate
|
|
29
|
-
* things like RECS components and get back strong types for them.
|
|
30
|
-
*
|
|
31
|
-
* See https://mud.dev/templates/typescript/contracts#mudconfigts
|
|
32
|
-
* for the source of this information.
|
|
33
|
-
*/
|
|
34
|
-
import mudConfig from "contracts/mud.config";
|
|
35
|
-
|
|
36
|
-
export type SetupNetworkResult = Awaited<ReturnType<typeof setupNetwork>>;
|
|
37
|
-
|
|
38
|
-
export async function setupNetwork() {
|
|
39
|
-
const networkConfig = await getNetworkConfig();
|
|
40
|
-
|
|
41
|
-
/*
|
|
42
|
-
* Create a viem public (read only) client
|
|
43
|
-
* (https://viem.sh/docs/clients/public.html)
|
|
44
|
-
*/
|
|
45
|
-
const clientOptions = {
|
|
46
|
-
chain: networkConfig.chain,
|
|
47
|
-
transport: transportObserver(fallback([webSocket(), http()])),
|
|
48
|
-
pollingInterval: 1000,
|
|
49
|
-
} as const satisfies ClientConfig;
|
|
50
|
-
|
|
51
|
-
const publicClient = createPublicClient(clientOptions);
|
|
52
|
-
|
|
53
|
-
/*
|
|
54
|
-
* Create an observable for contract writes that we can
|
|
55
|
-
* pass into MUD dev tools for transaction observability.
|
|
56
|
-
*/
|
|
57
|
-
const write$ = new Subject<ContractWrite>();
|
|
58
|
-
|
|
59
|
-
/*
|
|
60
|
-
* Create a temporary wallet and a viem client for it
|
|
61
|
-
* (see https://viem.sh/docs/clients/wallet.html).
|
|
62
|
-
*/
|
|
63
|
-
const burnerAccount = createBurnerAccount(networkConfig.privateKey as Hex);
|
|
64
|
-
const burnerWalletClient = createWalletClient({
|
|
65
|
-
...clientOptions,
|
|
66
|
-
account: burnerAccount,
|
|
67
|
-
})
|
|
68
|
-
.extend(transactionQueue())
|
|
69
|
-
.extend(writeObserver({ onWrite: (write) => write$.next(write) }));
|
|
70
|
-
|
|
71
|
-
/*
|
|
72
|
-
* Create an object for communicating with the deployed World.
|
|
73
|
-
*/
|
|
74
|
-
const worldContract = getContract({
|
|
75
|
-
address: networkConfig.worldAddress as Hex,
|
|
76
|
-
abi: IWorldAbi,
|
|
77
|
-
client: { public: publicClient, wallet: burnerWalletClient },
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
/*
|
|
81
|
-
* Sync on-chain state into RECS and keeps our client in sync.
|
|
82
|
-
* Uses the MUD indexer if available, otherwise falls back
|
|
83
|
-
* to the viem publicClient to make RPC calls to fetch MUD
|
|
84
|
-
* events from the chain.
|
|
85
|
-
*/
|
|
86
|
-
const { components, latestBlock$, storedBlockLogs$, waitForTransaction } = await syncToRecs({
|
|
87
|
-
world,
|
|
88
|
-
config: mudConfig,
|
|
89
|
-
address: networkConfig.worldAddress as Hex,
|
|
90
|
-
publicClient,
|
|
91
|
-
startBlock: BigInt(networkConfig.initialBlockNumber),
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
return {
|
|
95
|
-
world,
|
|
96
|
-
components,
|
|
97
|
-
playerEntity: encodeEntity({ address: "address" }, { address: burnerWalletClient.account.address }),
|
|
98
|
-
publicClient,
|
|
99
|
-
walletClient: burnerWalletClient,
|
|
100
|
-
latestBlock$,
|
|
101
|
-
storedBlockLogs$,
|
|
102
|
-
waitForTransaction,
|
|
103
|
-
worldContract,
|
|
104
|
-
write$: write$.asObservable().pipe(share()),
|
|
105
|
-
};
|
|
106
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The supported chains.
|
|
3
|
-
* By default, there are only two chains here:
|
|
4
|
-
*
|
|
5
|
-
* - mudFoundry, the chain running on anvil that pnpm dev
|
|
6
|
-
* starts by default. It is similar to the viem anvil chain
|
|
7
|
-
* (see https://viem.sh/docs/clients/test.html), but with the
|
|
8
|
-
* basefee set to zero to avoid transaction fees.
|
|
9
|
-
* - Redstone, our production blockchain (https://redstone.xyz/)
|
|
10
|
-
* - Garnet, our test blockchain (https://garnetchain.com/))
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import { MUDChain, mudFoundry, redstone, garnet } from "@latticexyz/common/chains";
|
|
15
|
-
|
|
16
|
-
/*
|
|
17
|
-
* See https://mud.dev/guides/hello-world/add-chain-client
|
|
18
|
-
* for instructions on how to add networks.
|
|
19
|
-
*/
|
|
20
|
-
export const supportedChains: MUDChain[] = [mudFoundry, redstone, garnet];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# This .env file is for demonstration purposes only.
|
|
2
|
-
#
|
|
3
|
-
# This should usually be excluded via .gitignore and the env vars attached to
|
|
4
|
-
# your deployment environment, but we're including this here for ease of local
|
|
5
|
-
# development. Please do not commit changes to this file!
|
|
6
|
-
#
|
|
7
|
-
# Enable debug logs for MUD CLI
|
|
8
|
-
DEBUG=mud:*
|
|
9
|
-
#
|
|
10
|
-
# Anvil default private key:
|
|
11
|
-
PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: MIT
|
|
2
|
-
pragma solidity >=0.8.24;
|
|
3
|
-
|
|
4
|
-
/* Autogenerated file. Do not edit manually. */
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @title IIncrementSystem
|
|
8
|
-
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
9
|
-
* @dev This interface is automatically generated from the corresponding system contract. Do not edit manually.
|
|
10
|
-
*/
|
|
11
|
-
interface IIncrementSystem {
|
|
12
|
-
function app__increment() external returns (uint32);
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: MIT
|
|
2
|
-
pragma solidity >=0.8.24;
|
|
3
|
-
|
|
4
|
-
/* Autogenerated file. Do not edit manually. */
|
|
5
|
-
|
|
6
|
-
import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol";
|
|
7
|
-
import { IIncrementSystem } from "./IIncrementSystem.sol";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @title IWorld
|
|
11
|
-
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
12
|
-
* @notice This interface integrates all systems and associated function selectors
|
|
13
|
-
* that are dynamically registered in the World during deployment.
|
|
14
|
-
* @dev This is an autogenerated file; do not edit manually.
|
|
15
|
-
*/
|
|
16
|
-
interface IWorld is IBaseWorld, IIncrementSystem {}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: MIT
|
|
2
|
-
pragma solidity >=0.8.24;
|
|
3
|
-
|
|
4
|
-
import { System } from "@latticexyz/world/src/System.sol";
|
|
5
|
-
import { Counter } from "../codegen/index.sol";
|
|
6
|
-
|
|
7
|
-
contract IncrementSystem is System {
|
|
8
|
-
function increment() public returns (uint32) {
|
|
9
|
-
uint32 counter = Counter.get();
|
|
10
|
-
uint32 newValue = counter + 1;
|
|
11
|
-
Counter.set(newValue);
|
|
12
|
-
return newValue;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: MIT
|
|
2
|
-
pragma solidity >=0.8.24;
|
|
3
|
-
|
|
4
|
-
import "forge-std/Test.sol";
|
|
5
|
-
import { MudTest } from "@latticexyz/world/test/MudTest.t.sol";
|
|
6
|
-
import { getKeysWithValue } from "@latticexyz/world-modules/src/modules/keyswithvalue/getKeysWithValue.sol";
|
|
7
|
-
|
|
8
|
-
import { IWorld } from "../src/codegen/world/IWorld.sol";
|
|
9
|
-
import { Counter } from "../src/codegen/index.sol";
|
|
10
|
-
|
|
11
|
-
contract CounterTest is MudTest {
|
|
12
|
-
function testWorldExists() public {
|
|
13
|
-
uint256 codeSize;
|
|
14
|
-
address addr = worldAddress;
|
|
15
|
-
assembly {
|
|
16
|
-
codeSize := extcodesize(addr)
|
|
17
|
-
}
|
|
18
|
-
assertTrue(codeSize > 0);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function testCounter() public {
|
|
22
|
-
// Expect the counter to be 1 because it was incremented in the PostDeploy script.
|
|
23
|
-
uint32 counter = Counter.get();
|
|
24
|
-
assertEq(counter, 1);
|
|
25
|
-
|
|
26
|
-
// Expect the counter to be 2 after calling increment.
|
|
27
|
-
IWorld(worldAddress).app__increment();
|
|
28
|
-
counter = Counter.get();
|
|
29
|
-
assertEq(counter, 2);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates/phaser/packages/art/gitignore → templates/phaser/packages/art/.gitignore_}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/public/assets/atlases/atlas.json
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/public/assets/atlases/atlas.png
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/public/assets/tilesets/world.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/configurePhaser.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/createPhaserLayer.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/layers/phaser/systems/index.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/mud/createClientComponents.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/BootScreen.tsx
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/LoadingBar.tsx
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/ui/LoadingScreen/LoadingScreen.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/ui/hooks/useNetworkLayer.tsx
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/ui/hooks/usePhaserLayer.tsx
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/client/src/ui/hooks/usePromiseValue.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/contracts/src/codegen/tables/Counter.sol
RENAMED
|
File without changes
|
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/contracts/src/codegen/world/IWorld.sol
RENAMED
|
File without changes
|
/package/{dist/templates → templates}/phaser/packages/contracts/src/systems/IncrementSystem.sol
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|