Commit graph

  • d0e9a1b456 feat: added a Bezier struct for a general bezier curve implementation lisk77 2025-03-31 00:02:56 +02:00
  • 30afffdf32 fix: dependency issue in vector.rs because of the deleted utilities.rs lisk77 2025-03-30 15:03:43 +02:00
  • edcebb3c32 fix: removed utilities.rs in the last commit and removed its dependency in easings.rs lisk77 2025-03-30 14:58:06 +02:00
  • 13fd31f632 feat: added a from_vec function to every color that it can be constructed with a Vec4 to easily interpolate colors lisk77 2025-03-30 14:54:28 +02:00
  • f891de2909 feat: added to_vec to the Color trait to allow the colors to be lerped and produce gradients lisk77 2025-03-30 00:06:33 +01:00
  • 531609e95b feat: added more vector functions to the InnerSpace trait lisk77 2025-03-29 23:47:27 +01:00
  • f7d29f49d5 fix: made the swizzle functions macro generated lisk77 2025-03-29 21:34:55 +01:00
  • 1558a9896c feat: added some operations to vectors and quaternions lisk77 2025-03-29 00:11:43 +01:00
  • c90d09fd49 fix: removed not needed namespace declarations in graphic_resource_manager.rs lisk77 2025-03-28 17:54:45 +01:00
  • 99bd7bf3e4 fix: removed the perlin.png lisk77 2025-03-27 23:22:26 +01:00
  • c54372bc79 update README lisk77 2025-03-26 21:52:57 +01:00
  • bf1ee271ba update README lisk77 2025-03-25 22:08:51 +01:00
  • b680857bb6 update README lisk77 2025-03-24 21:31:18 +01:00
  • e3ea5e3482 fix: made the log more robust lisk77 2025-03-23 12:34:52 +01:00
  • 391673ac09 feat: added multiple render passes to the Renderer2D but only one render pass right now works so quite work in progress lisk77 2025-03-22 23:25:05 +01:00
  • 4d4c6aad90 feat: added the Color component to the base components in the ECS lisk77 2025-03-21 23:17:16 +01:00
  • 4b6b5e64e9 feat: added the RenderPassType enum to create a difference between user and engine defined render passes. Engine defined passes will be rendered using the universal_render_pipeline. lisk77 2025-03-20 00:16:21 +01:00
  • 661e3aa67a feat: added a RenderPassInfo struct that allows for easily managed multiple render passes in the Renderer2D lisk77 2025-03-19 14:00:45 +01:00
  • 490db93137 feat: added color to the draw_text_at in the Renderer2D and changed the parameter position from Point3 to a Point2 lisk77 2025-03-18 17:52:02 +01:00
  • 7dc17fb435 feat: added Color trait to the comet_colors crate to make parameters simpler lisk77 2025-03-18 16:52:49 +01:00
  • b2578f7673 feat: text can now be rendered, though only in the setup right now (will make a new render pass for that) lisk77 2025-03-17 23:13:44 +01:00
  • 0507703284 feat: ttf fonts are now loadable lisk77 2025-03-16 20:07:05 +01:00
  • 9e16179df3 feat: added Font to get glyphs out of ttf files and make a TextureAtlas with them (right now only latin range of Unicode to not explode the atlas) and started trying to incorporate text rendering in ECS and Renderer2D lisk77 2025-03-15 23:17:02 +01:00
  • 5430ee0d7e fix: stray println in oklcha creation method that i forgot to remove and forgot to convert degrees to radians in a conversion :thumbs-up: lisk77 2025-03-14 10:43:08 +01:00
  • dcd2d025ba fix: seems like a lot more colors needed fixing lisk77 2025-03-14 00:18:30 +01:00
  • 81d3b2f714 fix: some color conversions were incorrect lisk77 2025-03-13 23:54:19 +01:00
  • ac690694a3 fix: changed the name of the WinitInputHelper and added Key to the prelude lisk77 2025-03-12 10:27:36 +01:00
  • e1906371be feat: added delete_entities_with, foreach and has to the Scene and interface of App lisk77 2025-03-12 08:18:24 +01:00
  • 1ae32c7384 fix: the window title in simple_move_2d was wrong lisk77 2025-03-11 11:16:47 +01:00
  • f6331b2b27 feat: .gitignore was not there lisk77 2025-03-11 11:06:49 +01:00
  • 7db78374b2 fix: build.rs was not correct. lisk77 2025-03-11 11:04:57 +01:00
  • ae50603703 feat: added example simple_move_2d lisk77 2025-03-11 10:57:07 +01:00
  • ab73b145b1 fix: changed the name of World to Scene (because the name fits better) lisk77 2025-03-11 01:23:33 +01:00
  • e94df6c221 feat: added examples to the repo lisk77 2025-03-11 01:13:05 +01:00
  • 27a3ab6408 fix: refactored set_buffers a bit for a more efficient buffer overwrite lisk77 2025-03-11 00:41:16 +01:00
  • 9f66ed3eee feat: added the line number from where debug! was called to aid in easier finding of said debug! origin in files lisk77 2025-03-10 17:49:17 +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) lisk77 2025-03-10 17:48:11 +01:00
  • 4e9e296ba4 fix: completely annihilated matrix and rewrote it with a good orthographic projection matrix finally lisk77 2025-03-10 01:39:00 +01:00
  • c79e69f8f4 fix: got back to the old render_scene_2d because my Camera2D way is kind of borked. lisk77 2025-03-09 21:50:58 +01:00
  • ca3c3dd5e6 feat: added pagination to the SparseSet to make it more memory efficient lisk77 2025-03-08 14:55:23 +01:00
  • a42ac5b8fd update README lisk77 2025-03-08 02:09:15 +01:00
  • 4af65ed961 feat: implemented a priority camera system that searches for the Entity with the Camera2D component with the smallest priority lisk77 2025-03-08 02:04:50 +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 lisk77 2025-03-07 23:42:12 +01:00
  • e6df3dba91 fix: remove pub to both fields in SparseSet lisk77 2025-03-07 01:32:43 +01:00
  • fae4e852fd fix: weird bug in the ComponentStorage where due to the implementation of the SparseSet, components weren't correctly managed lisk77 2025-03-06 19:04:49 +01:00
  • cae678747f fix: finally removed the storage.rsin the comet_ecs lisk77 2025-03-05 08:39:57 +01:00
  • 7b6ccbe72c docs: making world.rs a little prettier and removing the asserts but not much else lisk77 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 lisk77 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 lisk77 2025-03-05 07:16:42 +01:00
  • f784fb2c02 fix: forgot the tomls lisk77 2025-03-04 23:53:11 +01:00
  • db405bfb2e wip: transitioning to the newer comet_structs and new ComponentStorage through a FlatMap (not the rust implementation) lisk77 2025-03-04 23:52:16 +01:00
  • 5b43c7a319 fix: the code in comet_structs had some import errors which are now fixed lisk77 2025-03-03 19:41:33 +01:00
  • 30cda18ce1 fix: the code in flat_map should now be correct and changed formatting in renderer2d lisk77 2025-03-02 23:27:10 +01:00
  • ac63691fe3
    feat: added a new sub-crate lisk77 2025-03-01 22:28:50 +00:00
  • 041760e837
    wip: saving the progress of render_scene_2d lisk77 2025-02-28 22:53:19 +00:00
  • 19f7936a28
    Update README lisk77 2025-02-27 18:54:28 +00: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 lisk77 2025-02-26 23:53:52 +01:00
  • a9a8d076ca update README lisk77 2025-02-25 22:50:10 +01:00
  • 328e1075b8 update README lisk77 2025-02-25 00:57:59 +01:00
  • 80a62ab2b3 update README lisk77 2025-02-24 23:55:17 +01:00
  • ee3d0bdb9e feat: moved the ECS related functions to the App to remove unnecessary calling of the World struct inside App. lisk77 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) lisk77 2025-02-19 02:22:38 +01:00
  • 4513b97c99 feat: added textures lisk77 2025-01-01 06:46:42 +01:00
  • 683ef952ba fix: fixed main.rs in README.md lisk77 2025-01-01 06:42:57 +01:00
  • 9e810c9e0e fix: fixed import error in app.rs lisk77 2025-01-01 06:40:38 +01:00
  • 390b93da68 fix: fixed import error in graphic_resource_manager.rs lisk77 2025-01-01 06:32:18 +01:00
  • 5c6be92edb feat: added sound, font and ui crates (WIP, just empty projects right now) lisk77 2025-01-01 06:26:18 +01:00
  • 284ffd788e
    Delete src/main.rs lisk77 2025-01-01 05:23:06 +00:00
  • 2654a9fdc9 fix: some things are outdated for some reason... lisk77 2025-01-01 06:21:32 +01:00
  • 5456d2a1d7 update README lisk77 2024-12-17 02:42:10 +01:00
  • 63cee9f5c1 update README lisk77 2024-12-17 02:36:23 +01:00
  • 748a8eb4e2 update README lisk77 2024-12-17 02:34:28 +01:00
  • 82d112b9d5 update README lisk77 2024-12-17 01:56:22 +01:00
  • e5f5c2976f update README lisk77 2024-12-17 01:53:48 +01:00
  • 2736d97d03 feat: Added shader loading and swapping as well as beginnings of out of the box noise generation and support for multiple render passes lisk77 2024-12-17 01:36:34 +01:00
  • 4ada207b3b fix: forgot renaming component in render_scene_2d which of course lead to errors lisk77 2024-11-29 01:31:42 +01:00
  • a3df3f4f17 feat: Added swappability of the renderer and added a Renderer trait to make custom renderers if needed. Also renamed Renderer2D component to Render2D because it is a "render component" and not a renderer (but also name to avoid name clashes) lisk77 2024-11-29 01:29:57 +01:00
  • 29355335e6 Update README lisk77 2024-11-14 00:51:21 +01:00
  • d3fdd6b926 Update README lisk77 2024-11-14 00:50:27 +01:00
  • a775a17617 Update README lisk77 2024-11-13 03:35:35 +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 lisk77 2024-11-13 03:33:02 +01:00
  • 780365aeb8 feat: added 2D scene rendering and initialization of the texture atlas lisk77 2024-10-28 15:17:59 +01:00
  • 878e220249 initial commit lisk77 2024-10-26 02:15:38 +02:00
  • 6154c72b0e initial commit lisk77 2024-10-26 02:15:26 +02:00