Ryan Walters
2bdb039aa9
fix: correct broken timing format tests
2025-09-01 12:57:48 -05:00
Ryan Walters
4881e33c6f
refactor: use U16Vec2 for sprites, remove unnecessary Deserialize trait
2025-09-01 12:44:13 -05:00
Ryan Walters
0cbd6f1aac
refactor: switch NodeId to u16, use I8Vec2 for grid coordinates
2025-09-01 12:37:44 -05:00
Ryan Walters
98196f3e07
feat: ghost animation states, frightened/eaten behaviors, smallvec animation arrays
2025-09-01 11:46:18 -05:00
Ryan Walters
9bfe4a9ce7
fix: add expected MovementModifiers to spawn_test_player to fix movement tests
2025-08-28 18:35:47 -05:00
Ryan Walters
5d4adb7743
refactor: merge 'formatting' submodule into 'profiling'
2025-08-28 14:12:23 -05:00
Ryan Walters
f31b4952e4
chore: remove wildcard/prelude imports, remove unused functions
2025-08-28 13:14:40 -05:00
Ryan Walters
ad3f896f82
chore: reorganize component definitions into relevant system files
2025-08-28 12:54:52 -05:00
Ryan Walters
80ebf08dd3
feat: stage sequence, ghost collisions & energizer logic, text color method, scheduler ordering
2025-08-28 12:40:02 -05:00
Ryan Walters
f14b3d38a4
feat: create hud rendering system
2025-08-27 22:55:26 -05:00
Ryan Walters
89b0790f19
chore: fix clippy lints
2025-08-27 22:28:14 -05:00
Ryan Walters
9624bcf359
feat: collision helper, ghost/pacman collision events, collision tests
...
minor format updates from copilot's commit
2025-08-27 22:26:49 -05:00
Copilot
67a5c4a1ed
Remove 9 redundant and non-valuable tests to improve test suite quality ( #4 )
...
* Initial plan
* Remove 9 redundant and non-valuable tests across events, formatting, and item modules
Co-authored-by: Xevion <44609630+Xevion@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Xevion <44609630+Xevion@users.noreply.github.com >
2025-08-19 13:07:14 -05:00
Ryan Walters
8b5e66f514
refactor: update debug state management and rendering systems
2025-08-19 11:31:31 -05:00
Ryan
5109457fcd
test: add input tests
2025-08-19 09:40:59 -05:00
d72b6eec06
test: add item testing
2025-08-18 09:32:35 -05:00
ae42f6ead0
chore: solve clippy warnings
2025-08-18 00:06:47 -05:00
471b118efd
test: add tests for item systems & movement types
2025-08-18 00:04:07 -05:00
13a9c165f7
test: add player control & movement system testing
2025-08-18 00:03:29 -05:00
da3c8e8284
test: add player traversal flag tests, remove old disabled movement_system, public can_traverse
2025-08-17 23:52:03 -05:00
9c0711a54c
test: add more formatting tests
2025-08-17 23:47:47 -05:00
4598dc07e2
test: add tests for errors & events data structs
2025-08-17 23:46:23 -05:00
9c9dc5f423
test: remove asset.rs tests, revamp constants tests
2025-08-17 23:45:42 -05:00
d47d70ff5b
refactor: remove dead code, move direction & graph into 'map' module
2025-08-16 15:14:16 -05:00
313ca4f3e6
fix: proper font loading, cross platform assets, better platform independent trait implementation, conditional modules
2025-08-16 14:17:28 -05:00
f940f01d9b
refactor: optimize debug system, remove redundant code & tests
2025-08-16 13:41:15 -05:00
514a447162
refactor: use strum::EnumCount for const compile time system mapping
2025-08-16 11:43:46 -05:00
e8944598cc
chore: fix clippy warnings
2025-08-15 20:10:16 -05:00
6af25af5f3
test: better formatting tests, alignment-based
2025-08-15 19:39:59 -05:00
31193160a9
feat: debug text rendering of statistics, formatting with tests
2025-08-15 17:52:16 -05:00
5f0ee87dd9
feat: better profiling statistics, less spammy
2025-08-15 15:06:53 -05:00
de86f383bf
refactor: improve representation of movement system
2025-08-15 12:50:07 -05:00
3388d77ec5
refactor: remove all unused/broken tests, remove many now unused types/functions
2025-08-15 09:24:42 -05:00
b7429cd9ec
chore: solve tests/ clippy warnings
2025-08-14 09:46:10 -05:00
ced4e87d41
feat: embed atlas.json via phf instead of runtime parsing
2025-08-13 00:37:37 -05:00
c1e421bbbb
test: new graph tests
2025-08-12 19:58:37 -05:00
a230d15ffc
test: setup common submodule, add text.rs tests, pattern exclude error.rs
2025-08-12 19:24:06 -05:00
1529a64588
test: add asset path validity tests
2025-08-12 17:24:12 -05:00
c1c5dae6f2
refactor: restructure game logic and state management into separate modules
...
- Moved game logic from `game.rs` to `game/mod.rs` and `game/state.rs` for better organization.
- Updated `App` to utilize the new `Game` struct and its state management.
- Refactored error handling
- Removed unused audio subsystem references
2025-08-12 14:40:48 -05:00
c489f32908
fix: audio and other subsystems being dropped in App::new(), use Box::leak to ensure static ownership
2025-08-12 13:08:08 -05:00
183a432116
test: add tests for collision, items, directional, sprite
...
enum macros for FruitKind
2025-08-12 09:18:53 -05:00
8ef09a4e3e
test: drop minimal_test_board, use RAW_BOARD constant, item generation tests
2025-08-11 23:26:28 -05:00
27079e127d
feat!: implement proper error handling, drop most expect() & unwrap() usages
2025-08-11 20:23:39 -05:00
d9c8f97903
feat: pathfinding for ghosts, add debug rendering of paths
2025-08-11 15:25:39 -05:00
6331ba0b2f
refactor: move graph traversal code into traversal.rs
2025-08-11 14:05:28 -05:00
27705f1ba2
feat: implement ghost entities, movement & rendering
2025-08-11 11:54:05 -05:00
e964adc818
feat: enhance debug visuals with cursor-based effect
2025-08-11 11:54:05 -05:00
e0f8443e75
refactor: replace HashMap with fixed-size arrays for textures in DirectionalAnimatedTexture
2025-08-11 11:13:46 -05:00
87ee12543e
tests: revamp tests, remove more useless tests
2025-08-08 09:07:10 -05:00
b308bc0ef7
refactor: move all tests out of src/ into tests/, remove unnecessary tests
2025-08-08 08:50:52 -05:00