Commit graph

32 commits

Author SHA1 Message Date
reo
b17a7636d8 Implement MenuSystem, reimplement the mouse grab and menu system, add a new common module in the game systems for common functions, various other fixes 2025-11-22 14:15:53 +03:00
reo
47c3b2b111 New crate: raidillon_app, refactor game/main.rs to use the new crate 2025-11-16 19:32:56 +03:00
reo
1f03afdab5 Merge branch '2025-11-16-egui' 2025-11-16 18:41:41 +03:00
reo
c431ebf745 Tweak keybinds.rs to make camera mode toggle smoother 2025-11-16 15:38:20 +00:00
reo
445d90b1a5 Optimize imports of kinematic_character_controller.rs 2025-11-16 15:38:20 +00:00
reo
0af3b41293 Move debug_camera to the game crate, activate FPSDebugCameraSystem 2025-11-16 15:38:20 +00:00
reo
f503c70a9b MASSIVE Kinematic Character Controller Update
- NEW kinematic character controller powered by rapier3d at kinematic_character_controller.rs
- NEW camera modes. The ability to switch between the free debug camera and new character controller.
- NEW keybinds system to support the camera mode swap
2025-11-16 15:38:20 +00:00
reo
db1b427e2a Physics Support
- NEW CRATE: raidillon_physics.
- Added new models to be able to test the physics support.
- Added a new system "PhysicsSystem" to apply physics calculations to the ECS world.
- NEW COMPONENT: RigidBodyComponent
2025-11-16 15:38:20 +00:00
reo
13aefcc86f Remove imgui from the entire project 2025-11-16 18:34:48 +03:00
reo
ce24354f3b egui support
- New Resource, EguiQueue: Utility to queue egui ui builders
- New Rendering System, EguiRenderer: Utilizes a modified egui_glium
  library to render egui UI
- Adjusted RenderingSystem trait and RenderingContext structure to
  provide event_loop and egui_queue.
- Various minor adjusments
2025-11-16 18:14:12 +03:00
reo
e88ce258ce Tweak keybinds.rs to make camera mode toggle smoother 2025-10-29 21:37:49 +03:00
reo
ded85dcd72 Optimize imports of kinematic_character_controller.rs 2025-10-29 21:36:38 +03:00
reo
96a59b68fa Move debug_camera to the game crate, activate FPSDebugCameraSystem 2025-10-29 21:35:55 +03:00
reo
713d865dd7 MASSIVE Kinematic Character Controller Update
- NEW kinematic character controller powered by rapier3d at kinematic_character_controller.rs
- NEW camera modes. The ability to switch between the free debug camera and new character controller.
- NEW keybinds system to support the camera mode swap
2025-10-26 18:29:59 +03:00
reo
8b5a6167eb Physics Support
- NEW CRATE: raidillon_physics.
- Added new models to be able to test the physics support.
- Added a new system "PhysicsSystem" to apply physics calculations to the ECS world.
- NEW COMPONENT: RigidBodyComponent
2025-10-19 17:40:51 +03:00
reo
5f3da6ab99 Add FPS counter to the debug UI 2025-10-17 23:18:18 +03:00
reo
b86bbdd237 fix spacing 2025-10-16 16:11:53 +03:00
reo
ef055a1bda Replace contexts with resources
- Implements a new macro to generate code for a new structure: TypeMap
- TypeMaps are wrappers for HashMaps that use TypeIDs as keys.
- Refactor the entire codebase to use the new resource structures.
- This commit is the first step towards getting rid of "god context objects everywhere".
2025-10-15 22:33:04 +03:00
reo
6e42d94b44 Remove the older debug system, rename FPSDebugCameraSystem 2025-09-29 16:05:54 +03:00
reo
46c8c32819 Huge input update, FPS Camera controls system
Long day. I now store winit:🪟:Window in a mutex.
2025-09-28 01:31:14 +03:00
reo
1e9b997aeb Implement HDRI skybox support 2025-09-26 22:44:43 +03:00
reo
f34a9b01a0 Add imgui slider command to the debug ui buffer implementation 2025-09-25 13:01:02 +03:00
reo
84ab3a26b1 Timing Module Update
- Implement a new timing module
- Utilize the new timing module in glium platform implementation for frame limiting and fixed engine updates timing.
2025-09-24 23:20:51 +03:00
reo
9905ffd26b Add event handler methods to the engine structure 2025-09-18 00:32:12 +03:00
75fd59a504 Refactor system registration to use TypeIds 2025-09-10 13:21:35 +03:00
reo
0c0d5cdb2a Fix imgui renderer once and for all
Finally solved the problems with the imgui renderer after a long chat with clankers. Fixed some other stuff as well.

Reminder to keep the rendered_this_frame check as that's what solved it. Probably a deeper issue down there that caused us to render twice, but whatever.
2025-09-10 01:31:43 +03:00
reo
15122b8ebd wip: Changes of the week
- Move engine to a different crate
- Add engine trait
- Refactor the rest of the codebase to work with these changes
- Add debug ui buffer, use it to finish imgui support
2025-09-07 17:00:04 +03:00
reo
3fd5b09a94 Initial implementation of imgui support 2025-09-06 11:52:49 +03:00
reo
b3b69756e6 Use static string literals instead of String for scene IDs 2025-08-31 12:56:05 +03:00
reo
3692736a61 wip 2025-08-30 12:55:42 +03:00
reo
cc7921a5fe wip: engine enhancements and fixes 2025-08-24 18:49:41 +03:00
reo
3458662cfc Rename crate folders to remove raidillon prefix 2025-08-17 21:14:59 +03:00