Commit graph

62 commits

Author SHA1 Message Date
reo
2a255affe4 Fix the skybox visual artifact bug #10 2025-12-15 17:08:51 +03:00
reo
73692b710e Add debug wireframe rendering support 2025-12-15 15:53:54 +03:00
reo
8041c7e01d Fix awkward mouse conflict issues between egui and the engine 2025-12-13 18:23:52 +03:00
reo
f5a16213fa Add Settings with fullscreen and windowed options, a config file
(settings.toml) to persist settings, fix a bug in platform code where
innner window size wasn't updated on resize, various other tweaks
2025-12-09 17:52:17 +03:00
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
82f3b27732 Regenerate cargo.lock 2025-11-16 18:42:45 +03:00
reo
1f03afdab5 Merge branch '2025-11-16-egui' 2025-11-16 18:41:41 +03:00
reo
de0eb63e6f Merge pull request 'Physics Support' (#8) from 2025-10-19-physics into master
Reviewed-on: #8
2025-11-16 15:38:20 +00: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
306774c15b Merge branch 'master' into 2025-11-16-egui 2025-11-16 18:24:15 +03:00
reo
4b97bd98d2 Fix #9, add tests to typemap.rs 2025-11-16 18:22:09 +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
d280a0b9a5 Merge pull request 'Replace Contexts with Resources' (#7) from 2025-10-15-resources into master 2025-10-19 14:24:22 +00:00
reo
5f3da6ab99 Add FPS counter to the debug UI 2025-10-17 23:18:18 +03:00
reo
54967067bd Enable InputState event handler in engine 2025-10-16 17:01:23 +03:00
reo
1a48e58a1c Implement get_many.
I believe the repeated code can be generated with procedural macros, but
I don't need that right now. I'll do it if I ever end up needing this.
Right now I need to start making the game itself more than anything.
2025-10-16 16:12: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
7732280229 Add WASD keys to FPSDebugCamera system, rename to FPSDebugCameraSystem 2025-09-29 16:04:40 +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
44489f9fe3 Move models to git LFS 2025-09-26 16:52:14 +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
5e8897c271 Optimize imports 2025-09-23 21:16:06 +03:00
reo
59963cdec1 Add pre-commit-config, run pre-commit on all files 2025-09-23 21:11:09 +03:00
reo
50d07ffea5 Optimize imports 2025-09-23 21:06:24 +03:00
reo
369bbd19c7 Move PlatformContext to the raidillon_platform crate 2025-09-22 19:45:30 +03:00
reo
9905ffd26b Add event handler methods to the engine structure 2025-09-18 00:32:12 +03:00
c32a452f17
Merge pull request #3 from reo6/codex/refactor-system-id-to-typeids 2025-09-10 15:22:50 +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
1a200e62ef Clone the context instead of repeating the same code 2025-09-05 16:07:48 +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