Commit graph

35 commits

Author SHA1 Message Date
Matthew Mone
cc38ee2808 Enhance GameStateManager and Persistence for campaign data management
- Introduce methods for loading and saving campaign data in GameStateManager, improving state management for player progress.
- Update Persistence layer to handle campaign data storage and retrieval, ensuring data integrity and availability.
- Add comprehensive tests for campaign data handling, including scenarios for loading existing data and managing data changes through events.
- Refactor related components to support new campaign features, enhancing overall game state management.
2025-12-31 15:06:07 -08:00
Matthew Mone
a9d4064dd8 Implement Marketplace system and enhance game state management
- Introduce the Marketplace system, managed by MarketManager, to facilitate buying and selling items, enhancing player engagement and resource management.
- Update GameStateManager to integrate the new MarketManager, ensuring seamless data handling and persistence for market transactions.
- Add specifications for the Marketplace UI, detailing layout, functionality, and conditions of acceptance to ensure a robust user experience.
- Refactor existing components to support the new marketplace features, including dynamic inventory updates and currency management.
- Enhance testing coverage for the MarketManager and MarketplaceScreen to validate functionality and integration within the game architecture.
2025-12-31 13:52:59 -08:00
Matthew Mone
d804154619 Update UI components and styles for improved consistency and functionality
- Introduce new CharacterSheet and MissionBoard components, enhancing user interaction for unit management and mission selection.
- Refactor existing components to utilize a shared theme system, consolidating styles for better maintainability and visual consistency.
- Update HubScreen to integrate new components and improve resource management interface.
- Implement dynamic imports for better performance and loading efficiency.
- Enhance existing UI elements with responsive design adjustments and improved accessibility features.
- Remove deprecated MissionBoard implementation to streamline codebase.
2025-12-31 12:25:14 -08:00
Matthew Mone
5c335b4b3c Add HubScreen and MissionBoard components for campaign management
Introduce the HubScreen as the main interface for managing resources, units, and mission selection, integrating with the GameStateManager for dynamic data binding. Implement the MissionBoard component to display and select available missions, enhancing user interaction with mission details and selection logic. Update the GameStateManager to handle transitions between game states, ensuring a seamless experience for players. Add tests for HubScreen and MissionBoard to validate functionality and integration with the overall game architecture.
2025-12-31 10:49:26 -08:00
Matthew Mone
06389903c5 Enhance GameLoop and MissionManager integration for unit death handling and mission events
Refactor the GameLoop to implement unit death handling through the new handleUnitDeath method, which removes units from the grid and dispatches relevant events to the MissionManager. Set up MissionManager references and event listeners for mission victory and failure. Update the MissionManager to manage secondary objectives and failure conditions, ensuring proper tracking of game events like unit deaths and turn ends. This integration improves gameplay dynamics and mission management.
2025-12-30 20:56:41 -08:00
Matthew Mone
f04905044d Implement EffectProcessor and related systems for enhanced game mechanics
Introduce the EffectProcessor class to manage game state changes through various effects, including damage, healing, and status application. Define type specifications for effects, conditions, and passive abilities in Effects.d.ts. Add a comprehensive JSON registry for passive skills and item effects, enhancing gameplay dynamics. Update the GameLoop and TurnSystem to integrate the EffectProcessor, ensuring proper handling of environmental hazards and passive effects during combat. Enhance testing coverage for the EffectProcessor and environmental interactions to validate functionality and performance.
2025-12-30 20:50:11 -08:00
Matthew Mone
178389309d Add skill unlocking and movement functionality to combat system
Implement event handling for skill unlocking to refresh the combat HUD. Introduce movement mode activation via hotkey during combat, allowing players to switch between skill targeting and movement. Enhance the GameLoop to manage skill usage and cooldowns effectively, and update the CombatHUD with new UI elements for movement actions. Ensure proper integration with existing game state management for a seamless user experience.
2025-12-27 17:21:31 -08:00
Matthew Mone
68646f7f7b Add integration strategy for Inventory System in game engine
Define connections between the Inventory System and other components, including Game Loop interactions for looting, character sheet management, combat system consumables, and persistence requirements for saving game state. Outline triggers, logic, display, and actions for each integration point to enhance overall gameplay experience.
2025-12-27 16:54:12 -08:00
Matthew Mone
ac0f3cc396 Enhance testing and integration of inventory and character management systems
Add comprehensive tests for the InventoryManager and InventoryContainer to validate item management functionalities. Implement integration tests for the CharacterSheet component, ensuring proper interaction with the inventory system. Update the Explorer class to support new inventory features and maintain backward compatibility. Refactor related components for improved clarity and performance.
2025-12-27 16:54:03 -08:00
Matthew Mone
56aa6d79df Add Combat Skill Usage and Targeting System Specifications
Introduce detailed specifications for combat skill usage, including interaction flow, state machine updates, and the skill targeting system. Implement the SkillTargetingSystem to handle targeting validation and area of effect calculations. Enhance the CombatHUD specification to define the UI overlay for combat phases. Integrate these systems into the GameLoop for improved combat mechanics and user experience.
2025-12-23 21:01:54 -08:00
Matthew Mone
525a92a2eb Refactor GameLoop and MovementSystem to improve unit positioning and enemy spawning logic. Adjust unit height calculations for better alignment with floor surfaces. Enhance movement highlights with multiple glow layers for improved visibility. Update reachable position checks to utilize accurate walkable heights. 2025-12-23 20:28:12 -08:00
Matthew Mone
ea4e327585 Add combat state and movement systems to manage turn-based mechanics. Implement CombatState and MovementSystem classes, integrating them into GameLoop for combat flow. Enhance UI with CombatHUD for displaying turn queue and active unit status. Add comprehensive tests for combat logic and movement validation, ensuring adherence to specifications. 2025-12-23 16:22:32 -08:00
Matthew Mone
17590cdab0 Add combat state management to GameLoop and GameStateManager. Implement updateCombatState method to manage turn queue and active unit status during combat. Integrate combat state updates in GameViewport for UI responsiveness. Enhance type definitions for combat-related structures. 2025-12-22 14:34:43 -08:00
Matthew Mone
1b8775657f Refactor Persistence tests to improve mock handling of indexedDB. Introduce createMockRequest function for better request management and ensure proper triggering of success and upgrade events during database initialization. Update PostProcessing tests to clarify grid setup for floodFill functionality. 2025-12-22 14:25:32 -08:00
Matthew Mone
095bd778fd Add CombatHUD component with TypeScript interfaces for combat state management. Implement UI elements for turn queue, unit status, and action bar, including responsive design for mobile. Add event handling for skill selection and turn management. Include comprehensive tests for UI functionality and state updates. 2025-12-22 12:57:13 -08:00
Matthew Mone
ebaa3006f9 Add type definitions for generation, grid, and manager components. Implement tests for BaseGenerator, CaveGenerator, RuinGenerator, and mission management. Enhance narrative handling in NarrativeManager and RosterManager. Ensure comprehensive coverage of game mechanics and state transitions. 2025-12-22 12:57:04 -08:00
Matthew Mone
8d037bcd4d Enhance game state management by adding detailed type definitions and documentation for GameStateManager, GameLoop, Persistence, and other core components. Improve input handling in InputManager and refine unit management in RosterManager and UnitManager. Update VoxelGrid and VoxelManager for better spatial data handling and rendering. Integrate new features for mission management and narrative flow, ensuring comprehensive coverage of game mechanics and state transitions. 2025-12-22 12:55:41 -08:00
Matthew Mone
33a64c460c Refactor game state management to ensure proper initialization and transitions during new game starts. Introduce roster clearing functionality in RosterManager and update GameStateManager to handle state transitions more effectively. Integrate game viewport loading for combat and deployment phases. 2025-12-21 21:33:05 -08:00
Matthew Mone
da55cafc8f Enhance game state management and UI integration for combat and deployment phases. Introduce CombatHUD and update DeploymentHUD to reflect current game state. Refactor GameLoop and GameStateManager to manage state transitions more effectively. Implement asset copying for JSON files in the build process. Add tests for new functionalities and ensure proper state handling during gameplay. 2025-12-21 21:20:33 -08:00
Matthew Mone
5797d9ac68 Update README.md to provide a comprehensive overview of Aether Shards, detailing gameplay mechanics, key features, technical architecture, project structure, and development status. Enhance installation and testing instructions for better onboarding. 2025-12-21 20:45:26 -08:00
Matthew Mone
ec25c71eb1 Refactor mission management and game state integration. Replace tutorial mission initiation with a new game start function. Update mission JSON schema to enhance narrative and objective handling. Introduce MissionManager for mission state management and integrate with GameStateManager for improved game flow. Enhance UI components for squad management and deployment. Include tests for new mission and narrative functionalities. 2025-12-21 20:40:48 -08:00
Matthew Mone
aab681132e Add mission management and narrative systems. Introduce MissionManager for handling mission states, objectives, and narrative triggers. Implement mission JSON schema and integrate with GameLoop for mission initiation and gameplay flow. Add RosterManager for unit management and deployment. Enhance UI with DeploymentHUD and DialogueOverlay for mission deployment and narrative presentation. Include tests for MissionManager and NarrativeManager functionalities. 2025-12-20 21:04:44 -08:00
Matthew Mone
0faef9d178 Implement InputManager for comprehensive input handling, including keyboard, mouse, and gamepad support. Integrate InputManager into GameLoop for cursor management and validation during gameplay. Enhance GameLoop with input event handling for movement and selection. Add unit tests for InputManager to ensure functionality and reliability. 2025-12-19 20:58:16 -08:00
Matthew Mone
2d72fb9170 Enhance GameLoop with deployment phase management and spawn zone logic. Introduce unit deployment functionality and finalize deployment to spawn enemies. Update RuinGenerator to define valid spawn zones for player and enemy units. Add integration tests for GameLoop to verify initialization, deployment, and enemy spawning behaviors. 2025-12-19 16:02:42 -08:00
Matthew Mone
781aee81a7 Add UnitManager and Enemy classes for unit lifecycle management and AI behavior. Update GameLoop to integrate UnitManager for unit spawning with mock registry. Enhance spawnSquad logic for unit placement and collision checks. Add unit tests for UnitManager and Enemy functionalities. 2025-12-19 15:35:29 -08:00
Matthew Mone
8338adbaa4 Add OrbitControls to GameLoop for improved camera navigation 2025-12-19 15:08:54 -08:00
Matthew Mone
5be96d2846 Implement game state management and persistence system. Introduce GameStateManager for handling game states, including transitions between main menu, team builder, and game run. Add Persistence class for saving and loading game data using IndexedDB. Enhance team builder UI with class definitions and improved layout. Include unit tests for GameStateManager functionality. 2025-12-19 15:07:36 -08:00
Matthew Mone
391abd6ea6 Refactor build process to use index.js as entry point, enabling module splitting and outputting to dist directory. Introduce new game logic in index.js, including team builder and game viewport components. Add JSON class definitions for new character classes and implement item and skill tree systems. Enhance unit tests for item and explorer functionalities. 2025-12-19 08:38:22 -08:00
Matthew Mone
921a93d989 remove needless attribution 2025-12-18 21:20:17 -08:00
Matthew Mone
2a103a3a2a Enhance procedural generation with new biome generators and texture support. Added CrystalSpiresGenerator, updated CaveGenerator and RuinGenerator with texture integration, and improved VoxelManager for better rendering. Increased timeout for texture generation tests to ensure stability in CI environments. 2025-12-18 21:19:22 -08:00
Matthew Mone
4f7550a8e9 updated generation 2025-12-17 11:26:42 -08:00
Matthew Mone
1c3411e7de VoxelGrid and VoxelManager 2025-12-16 15:52:58 -08:00
Matthew Mone
29d2006e61 first renderables 2025-12-16 15:14:39 -08:00
Matthew Mone
a6dd021494 adding some readme 2025-12-16 14:49:53 -08:00
Matthew Mone
3ba35390a5 first commit 2025-12-16 14:48:46 -08:00