aab79b5c50
Add documentation to fragment shader
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-19 19:35:34 +01:00
bb1d04563a
feat: Refactor renderer key event handling and disable FPS counter by default
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-19 19:33:49 +01:00
3e091c3d5d
Fixed HUD and menu position and scaling in hardware renderer
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-19 19:25:24 +01:00
c8cd2cb144
feat: Add GLSL renderer and implement FPS overlay across rendering backends
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-19 19:12:39 +01:00
786ba4b450
Refactor rendering architecture and replace rasterizer with renderer
...
- Introduced SoftwareRenderer as a pixel-accurate software rendering backend.
- Removed the obsolete wolf_3d_rasterizer.dart file.
- Created a new wolf_3d_renderer.dart file to centralize rendering exports.
- Updated tests to accommodate the new rendering structure, including pushwall and projection sampling tests.
- Modified the WolfAsciiRenderer and WolfFlutterRenderer to utilize the new SoftwareRenderer.
- Enhanced enemy spawn tests to include new enemy states.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-19 11:38:07 +01:00
be03bd45c8
Refactor ASCII rasterizer to support terminal ANSI mode and improve menu text rendering
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 16:06:20 +01:00
839fae700f
WIP fixing menu rendering in CLI ASCII mode
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 14:08:21 +01:00
dc1acb7a2f
WIP pushing menu to game engine - improving menu text clarity in ASCII mode
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 12:45:04 +01:00
e39dfd5da0
WIP moving difficulty selection to engine
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 12:25:59 +01:00
3c6a4672f7
Refactor and enhance documentation across the Wolf3D project
...
- Updated library imports to use the correct package paths for consistency.
- Added detailed documentation comments to various classes and methods, improving code readability and maintainability.
- Refined the GameSelectScreen, SpriteGallery, and VgaGallery classes with clearer descriptions of their functionality.
- Enhanced the CliInput class to better explain the input handling process and its interaction with the engine.
- Improved the SixelRasterizer and Opl2Emulator classes with comprehensive comments on their operations and state management.
- Removed the deprecated wolf_3d.dart file and consolidated its functionality into wolf_3d_flutter.dart for a cleaner architecture.
- Updated the Wolf3dFlutterInput class to clarify its role in merging keyboard and pointer events.
- Enhanced the rendering classes to provide better context on their purpose and usage within the Flutter framework.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 10:01:12 +01:00
7ee1d0704d
Fixes pushwalls and a bunch of ASCII/sixel rasterizer issues
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 02:02:39 +01:00
d7692ea325
Improves ASCII rasterization speed and simplifies API
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-18 01:37:04 +01:00
1575042870
Unified asset painter and added to package. Fixes and simplifes sprite rendering.
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-17 13:00:04 +01:00
0dc75ded62
Migrate all Dart packages to a single wolf_3d_dart package
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-17 10:55:10 +01:00
400720a56e
Fix ASCII rasterizer scaling for CLI
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 16:29:08 +01:00
8f33e68c04
Preserve state when switching renderers
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 16:19:56 +01:00
b702c50d30
Unified game screen and abstracted input
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 16:10:12 +01:00
0963869b0c
Added ability to swap renderers
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 16:01:58 +01:00
f95c129522
Fixed GUI timers
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 15:46:19 +01:00
dd9bd5897e
WIP fixing ASCII renderer
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 15:42:48 +01:00
ede2c3fa31
Fixed ASCII rasterizer, abstracted out input and audio, and created CLI client (untested)
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 14:47:10 +01:00
6f7885a924
Massively improved the ASCII renderer
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 13:47:38 +01:00
6d74208ff4
Dramatically improve ASCII renderer
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 13:33:48 +01:00
76b639656f
Update color
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 13:23:42 +01:00
4723b704db
Fix color palette opacity issue and aspect ratio correction
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 13:23:19 +01:00
f7ca65ab6e
Abstracted more functionality into the base rasterizer
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 10:42:09 +01:00
4f790d8fb7
Added a new ASCII renderer
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 01:01:45 +01:00
e9e56eac9a
Fixed HUD background rendering
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 00:22:54 +01:00
a73a36e21d
Moved the weapon and damage flash to the rasterizer.
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 00:09:23 +01:00
752c143234
Migrate to a software rasterizer to dramatically improve performance
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-16 00:03:21 +01:00
b0852543b0
Play (wrong) door sound effect when the door opens or closes
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-15 21:13:41 +01:00
25c08dfe99
Re-added the sprite screen. Made some adjustments to enemy AI.
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-15 18:08:00 +01:00
57d394e911
De-coupled remaining aspects of game into packages
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-03-15 16:17:27 +01:00