Repository navigation
v0.0.4-alpha
The first release of the NyxEngine rendering pipeline and game engine!
Much of the work so far has gone into the rendering pipeline, as can be seen in the demos in the README. This release has a launchable demo of a nostalgic, space-shooter like game scene. Future releases will have more usability as the engine becomes more capable.
Changelog
[0.0.4-alpha] - 2024-12-22
Added
- Add unit testing for
NyxEntity,ComponentManagerandMoraiEntityManager - Add documentation for
NyxEntity,ComponentManager, andMoraiEntityManager - Implemented printing/rendering moving sprites to the terminal.
- Implemented
NyxEnginefor orchestrating the central game loop and managing resources. - Tilemap rendering now supports infinite scrolling in all directions.
Changed
- Switch
entity_idto an integer instead ofUUIDfor easier readability and indexing inNyxEntity. - Simplify
MoraiEntityManagerby removing friendly name lookup/mapping and providing a method to clear the registry. - Simplify
ComponentManagerwith less nested logic and simpler output. Components organized by type for fast system access. - Tilemap printing now uses a dedicated helper/manager
TilemapManagerand is no longer aNyxSystem. - Significant README and project documentation updates -- including animated demos of current project state.
- Begin refactoring
demo.pyto use the newNyxEngineand allow for better usability and clarity.
Fixed
- Incorrect printing iteration caused excessive new lines in animated sprites.
Regression
- Terminal size updates are no longer working correctly. Manual window sizes must be specified.
Removed
- Removed
NyxComponentStore,TilesetStore,TilemapSystemas they are directly replaced byComponentManagerandTilemapManager. - Removed
[0.0.3-alpha] - 2024-12-13
Added
- Delta Framebuffer Rendering:
- Implemented delta-based framebuffer to track and render only changed pixels.
- Utilized stacked NumPy matrices to track foreground (fg) and background (bg) colors separately.
- Printing optimized with sparse updates by skipping unchanged pixels.
- Subpixel Rendering:
- Enabled subpixel resolution using doubled height rendering.
- Updated calculations to support 256-color tilemaps rendered with subpixels.
- File Imports:
- Introduced
.nyxfile import system for loading assets as arrays, converted to ndarrays.
- Introduced
- Refactoring and Documentation:
- Added docstrings across all modules for improved maintainability.
- Refactored
AetherRendererinto a main class and supporting utility classes. - Updated file structure and naming conventions for clarity.
- Readme Enhancements:
- Introduced mythology section to explain the naming scheme.
- Added static and animated screenshots/screen captures, exemplifying the terminal output when rendering.
- Demo:
- Implemented an animated, nostalgic starfield tilemap using the new rendering pipeline.
Changed
- Renamed
HemeraRenderertoHemeraTermFxas it handles terminal effects and rendering. - Renamed
AetherCompositortoAetherRendereras it manages the rendering pipeline. - Renamed
NyxEntityManagertoMoraiEntityManagerto reflect the project's mythology/consistency.
Fixed
- Debugged 3D-to-2D matrix iteration issues causing misaligned axes and anomalous subpixel rendering patterns.
- Resolved cursor relocation inaccuracies during delta rendering, improving visual fidelity and performance.
[0.0.2-alpha] - 2024-12-08
Added
- Tilemap Rendering:
- Rendered tilemaps to the terminal using subpixel resolution.
- Integrated foreground (fg) and background (bg) colors for zero tiles and gaps.
- Caching and Storage:
- Tilemaps are buffered after computation to improve performance.
- Implemented a
TilesetStoreclass for managing and storing tilemaps by ID.
- Position and Scene Components:
- Introduced
PositionComponentfor potential scrolling functionality. - Added
SceneComponentas a global container/flag for managing tilemaps.
- Introduced
[0.0.1-alpha] - 2024-12-07
Added
- Background Rendering:
- Rendered solid color backgrounds to the terminal using 256-color ANSI codes.
- Allowed resizing of background rendering smaller than the terminal dimensions.
- Core ECS Framework:
- Established core ECS with abstract base classes (
NyxEntity,NyxSystem,NyxComponent) for modular development. - Built foundational rendering systems:
NyxComponentStore,RendererSystem,AetherCompositor, andHemeraRenderer.
- Established core ECS with abstract base classes (
- Basic Terminal Utilities:
- Created
term_utils.pyfor common terminal operations.
- Created