Commit graph

14 commits

Author SHA1 Message Date
ab73b145b1 fix: changed the name of World to Scene (because the name fits better) 2025-03-11 01:23:33 +01:00
445818b79b feat: finally added a working multi-camera system where the highest priority Camera2D will be used to make the RenderCamera (unfortunately not very efficient because it creates a new RenderCamera every tick, but it works i guess) 2025-03-10 17:48:11 +01:00
8b439cb0e8 feat: implemented a Camera2D component that works with the Renderer2D
Renders with only one camera (the first by ID) rn but should work
2025-03-07 23:42:12 +01:00
cae678747f fix: finally removed the storage.rsin the comet_ecs 2025-03-05 08:39:57 +01:00
7b6ccbe72c docs: making world.rs a little prettier and removing the asserts but not much else 2025-03-05 08:22:09 +01:00
7753ca7c4f fix: changed deletion order in the delete_entity function of the World struct. Now deletes everything properly 2025-03-05 07:47:18 +01:00
38b41985dc fix: removed the garbage github copilot code out of flat_map and making iter_mut irrelevant 2025-03-05 07:16:42 +01:00
db405bfb2e wip: transitioning to the newer comet_structs and new ComponentStorage through a FlatMap (not the rust implementation) 2025-03-04 23:52:16 +01:00
4ce24b58dd feat: added the beginnings of a ecs based camera system. render_scene_2d crashes miserably right now but theoretically everything *should* be in place for a full adoption 2025-02-26 23:53:52 +01:00
ee3d0bdb9e feat: moved the ECS related functions to the App to remove unnecessary calling of the World struct inside App. 2025-02-23 16:51:31 +01:00
f07b829b7d feat: changed the preset system to a "with_" option. Removed auto of a component to entity (will be reintroduced differently) 2025-02-19 02:22:38 +01:00
5a9f632e3a feat: added a camera with orthographic projection and did some work restructuring the comet_app to make the setup system optional. Input handling is moved to the app 2024-11-13 03:33:02 +01:00
780365aeb8 feat: added 2D scene rendering and initialization of the texture atlas 2024-10-28 15:17:59 +01:00
6154c72b0e initial commit 2024-10-26 02:15:26 +02:00