-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new three js #1153
new three js #1153
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job ! Looks amazing
PR Type
Enhancement, Tests, Bug fix
Description
WorldmapScene
andHexceptionScene
classes extendingHexagonScene
for managing world map and hexception scenes.ArmyMovementManager
andArmyManager
classes for managing army movements and interactions.useUIStore
to include new slices for three.js state management.GameRenderer
class for managing three.js rendering and scene transitions.TileManager
class for managing tile and building data.ActionInfo
component to use new state management for army actions.useExplore
hook to remove unused functions and simplify logic.InteractiveHexManager
class for managing interactive hexagons.Biome
class for biome calculations and management.RightNavigationModule
to use new modal store.Changes walkthrough 📝
13 files
Worldmap.ts
Introduce `WorldmapScene` class with army and hexagon management.
client/src/three/scenes/Worldmap.ts
WorldmapScene
class extendingHexagonScene
.interactions.
ArmyMovementManager.ts
Add `ArmyMovementManager` for army movements and pathfinding.
client/src/dojo/modelManager/ArmyMovementManager.ts
ArmyMovementManager
class for managing army movements.Hexception.ts
Introduce
HexceptionScene
class with building and hexagon management.client/src/three/scenes/Hexception.ts
HexceptionScene
class extendingHexagonScene
.HexagonScene.ts
Add abstract `HexagonScene` class for common functionality.
client/src/three/scenes/HexagonScene.ts
HexagonScene
class for common hexagon scenefunctionality.
useUIStore.tsx
Refactor `useUIStore` with new slices and methods.
client/src/hooks/store/useUIStore.tsx
useUIStore
to include new slices for three.js statemanagement.
GameRenderer.ts
Add `GameRenderer` class for rendering and scene management.
client/src/three/GameRenderer.ts
GameRenderer
class for managing three.js rendering and scenetransitions.
resize.
ArmyManager.ts
Add `ArmyManager` for managing army instances and movements.
client/src/three/components/ArmyManager.ts
ArmyManager
class for managing army instances and movements.TileManager.ts
Add `TileManager` for managing tile and building data.
client/src/dojo/modelManager/TileManager.ts
TileManager
class for managing tile and building data.ActionInfo.tsx
Update `ActionInfo` component with new state management.
client/src/ui/components/worldmap/hexagon/ActionInfo.tsx
ActionInfo
component to use new state management for armyactions.
useExplore.tsx
Refactor `useExplore` hook for simplification.
client/src/hooks/helpers/useExplore.tsx
useExplore
hook to remove unused functions and simplifylogic.
InteractiveHexManager.ts
Add `InteractiveHexManager` for interactive hexagon management.
client/src/three/components/InteractiveHexManager.ts
InteractiveHexManager
class for managing interactive hexagons.hexes.
Biome.ts
Add `Biome` class for biome calculations and management.
client/src/three/components/Biome.ts
Biome
class for biome calculations and management.moisture.
RightNavigationModule.tsx
Update `RightNavigationModule` to use new modal store.
client/src/ui/modules/navigation/RightNavigationModule.tsx
RightNavigationModule
to use new modal store.46 files
InstancedModel.tsx
...
client/src/three/components/InstancedModel.tsx
...
BaseThreeTooltip.tsx
...
client/src/ui/elements/BaseThreeTooltip.tsx
...
BuildingPreview.ts
...
client/src/three/components/BuildingPreview.ts
...
StructureManager.ts
...
client/src/three/components/StructureManager.ts
...
SystemManager.ts
...
client/src/three/systems/SystemManager.ts
...
useHexPosition.tsx
...
client/src/hooks/helpers/useHexPosition.tsx
...
EntityDetails.tsx
...
client/src/ui/modules/entity-details/EntityDetails.tsx
...
InputManager.ts
...
client/src/three/components/InputManager.ts
...
World.tsx
...
client/src/ui/layouts/World.tsx
...
_threeStore.tsx
...
client/src/hooks/store/_threeStore.tsx
...
InstancedBuilding.tsx
...
client/src/three/components/InstancedBuilding.tsx
...
utils.tsx
...
client/src/ui/utils/utils.tsx
...
BattleView.tsx
...
client/src/ui/modules/military/battle-view/BattleView.tsx
...
ArmyInfoLabel.tsx
...
client/src/ui/components/worldmap/armies/ArmyInfoLabel.tsx
...
HighlightHexManager.ts
...
client/src/three/components/HighlightHexManager.ts
...
_popupsStore.tsx
...
client/src/hooks/store/_popupsStore.tsx
...
LabelManager.ts
...
client/src/three/components/LabelManager.ts
...
FogManager.ts
...
client/src/three/components/FogManager.ts
...
TransitionManager.tsx
...
client/src/three/components/TransitionManager.tsx
...
TopMiddleNavigation.tsx
...
client/src/ui/modules/navigation/TopMiddleNavigation.tsx
...
SceneManager.ts
...
client/src/three/SceneManager.ts
...
Steps.tsx
...
client/src/ui/modules/onboarding/Steps.tsx
...
LocationManager.ts
...
client/src/three/helpers/LocationManager.ts
...
HooksComponent.tsx
...
client/src/ui/components/HooksComponent.tsx
...
highlightHexMaterial.ts
...
client/src/three/shaders/highlightHexMaterial.ts
...
MarketModal.tsx
...
client/src/ui/components/trading/MarketModal.tsx
...
BattleActions.tsx
...
client/src/ui/modules/military/battle-view/BattleActions.tsx
...
TopLeftNavigation.tsx
...
client/src/ui/modules/navigation/TopLeftNavigation.tsx
...
HintModalButton.tsx
...
client/src/ui/elements/HintModalButton.tsx
...
main.tsx
...
client/src/main.tsx
...
types.ts
...
client/src/three/systems/types.ts
...
BaseContainer.tsx
...
client/src/ui/containers/BaseContainer.tsx
...
ModalContainer.tsx
...
client/src/ui/components/ModalContainer.tsx
...
ticks.ts
...
client/src/three/helpers/ticks.ts
...
Onboarding.tsx
...
client/src/ui/layouts/Onboarding.tsx
...
DojoHtml.tsx
...
client/src/ui/elements/DojoHtml.tsx
...
useModalStore.tsx
...
client/src/hooks/store/useModalStore.tsx
...
global.ts
...
sdk/packages/eternum/src/constants/global.ts
...
borderHexMaterial.ts
...
client/src/three/shaders/borderHexMaterial.ts
...
transparentHexMaterial.ts
...
client/src/three/shaders/transparentHexMaterial.ts
...
createClientComponents.ts
...
client/src/dojo/createClientComponents.ts
...
App.tsx
...
client/src/App.tsx
...
createSystemCalls.ts
...
client/src/dojo/createSystemCalls.ts
...
GUIManager.ts
...
client/src/three/helpers/GUIManager.ts
...
pnpm-lock.yaml
...
pnpm-lock.yaml
...
package.json
...
client/package.json
...