Commit graph

  • dfdffed745 fix(Rectangle2D): now the collider will treat its position as the center and not a corner much like textures in the renderer main lisk77 2025-10-20 02:41:33 +02:00
  • 2d4484a617 chore(readme): removed todo section lisk77 2025-09-13 16:22:39 +02:00
  • 5f97d3a881 docs(math): added more documentation for bezier, matrix, noise, point, polynomial, quaternion and vector lisk77 2025-08-14 09:27:07 +02:00
  • 30c6327997 docs(comet): added documentation landing page information lisk77 2025-08-10 23:59:30 +02:00
  • 73616776c8 docs(app): added some documentation to the App struct lisk77 2025-08-10 04:30:12 +02:00
  • f8dabf955e feat(renderer): rewrote the core of the Renderer2D as a temporary module feat/new-renderer2d lisk77 2025-08-03 02:11:45 +02:00
  • ae9918c9b9 refactor(math): moved the common permutation function outside the impls lisk77 2025-08-03 02:06:50 +02:00
  • b290f98b11 refactor(math): moved the determinant implementation to the LinearTransformation trait lisk77 2025-07-29 15:45:54 +02:00
  • 92055d62a5 feat(math): added a few more interpolation functions lisk77 2025-07-29 15:45:01 +02:00
  • 05764965b3 perf(math): added inline attribute to easing functions lisk77 2025-07-29 15:44:37 +02:00
  • cd58c0ee06 feat(math): added acceleration, curvature and arclength to the members of the Bezier curve. Split tangent and velocity functions. lisk77 2025-07-27 02:49:39 +02:00
  • 948a5907bc chore(license): added Comet Engine License (CEL) v1.0 lisk77 2025-07-27 02:00:24 +02:00
  • 913f200a63 chore: renamed the resources directory to res lisk77 2025-07-26 01:22:42 +02:00
  • 05a4679f38 feat(math): added to_point method into the InnerSpace trait and added tangent evaluation to the Bezier curve struct (changed point to vecs inside the struct as well) lisk77 2025-07-26 01:14:47 +02:00
  • d04c706a94 feat(ecs): limited the creation of archetypes to three unique components to lower the creation to polynomial complexity lisk77 2025-07-26 01:13:23 +02:00
  • 0da5200916 feat(ecs): added utility methods lisk77 2025-07-25 00:25:56 +02:00
  • 67ac2f90e4 fix(ecs): removed unnecessary clone from Render2D Render trait implementation lisk77 2025-07-21 03:09:33 +02:00
  • 88fda5c654 fix(ecs): added safety boundaries to the IdQueue lisk77 2025-07-21 03:01:40 +02:00
  • 7cf9f5bd29 feat(app): added the prefab interface to the app struct lisk77 2025-07-14 01:58:49 +02:00
  • e1597e6fa4 feat(ecs): added a simple prefab system lisk77 2025-07-14 01:54:53 +02:00
  • fef128f8a7 feat(ecs): added a set_vec function to Position2D and Position3D to simply change the position components with a vector instead of manually needing to change it lisk77 2025-07-13 03:18:23 +02:00
  • ffb4bdf35f feat(renderer2d): Rotation2D now actually has an effect on the rotation of the sprite in the Renderer2D lisk77 2025-07-12 00:01:49 +02:00
  • 7760baeab5 fix(ecs): bug concerning adding entities to archetypes that already existed lisk77 2025-07-11 11:35:51 +02:00
  • ff475f1775 fix: changed the input type of the query functions from ComponentSet to Vec<TypeId> lisk77 2025-05-07 01:00:08 +02:00
  • 643c5caf0e feat: added a Timer component lisk77 2025-05-06 17:09:00 +02:00
  • d3cf390cd8 feat: added set_size to the Rectangle2D implementation lisk77 2025-05-06 00:07:31 +02:00
  • b619449b13 fix: removed debug print in scene.rs lisk77 2025-05-05 14:05:21 +02:00
  • c1d41323f9 fix: the ecs will now create all the archetypes for any combination of components that entities have on them lisk77 2025-05-05 13:27:49 +02:00
  • 7d351ced62 fix: changed second type in the archetype hashmap lisk77 2025-05-04 22:43:46 +02:00
  • 05249f2a6d feat: added simple_text example lisk77 2025-05-03 21:56:56 +02:00
  • d4a1bde4dc feat: \t is now usable in a text lisk77 2025-05-03 14:10:54 +02:00
  • 9640cdf92a fix: removed warn debug message lisk77 2025-05-03 11:49:00 +02:00
  • d833cff50c Merge remote-tracking branch 'origin/master' lisk77 2025-05-03 11:17:50 +02:00
  • 1399328e43 feat: added text rendering lisk77 2025-05-02 16:34:56 +02:00
  • ae5177a025 chore: removed a name collision in the prelude lisk77 2025-05-01 12:21:09 +02:00
  • 6d0e5aef1e fix: removed the error message in get_entities_with in scene.rs lisk77 2025-05-01 12:09:30 +02:00
  • 5d959c54b5 fix: changed the powf function that had integer values as parameter to powi lisk77 2025-04-29 13:37:43 +02:00
  • 15c71a5285 chore: removed unneeded imports lisk77 2025-04-27 22:58:28 +02:00
  • 2a36d36493 fix: changed the input type of the clear_color in the with_clear_color to impl Color lisk77 2025-04-26 20:12:01 +02:00
  • 3a4090a6ec feat: added to_linear as a function of the Color trait lisk77 2025-04-26 20:10:11 +02:00
  • 6afa254e9d chore: removed AppMessage enum lisk77 2025-04-19 20:11:37 +02:00
  • 45fffba528 fix: removed the asynchronicity of the Renderer trait lisk77 2025-04-18 15:01:22 +02:00
  • fd8cf1f278 chore: renamed the structs Vec2, Vec3, Vec4, Mat2, Mat3, Mat4, Point2, Point3 to v2, v3, v4, m2, m3, m4, p2, p3 lisk77 2025-04-17 00:54:09 +02:00
  • 982323f671 chore: added the chrono crate back to the Cargo.toml of the crates lisk77 2025-04-15 20:31:33 +02:00
  • 0d6d55b9d8
    update README lisk77 2025-04-13 23:50:26 +02:00
  • 0296ef19a9 chore: cleaned Cargo.toml for almost every crate lisk77 2025-04-12 23:18:00 +02:00
  • bff41fa188 fix: removed weird code block at the end of README.md lisk77 2025-04-09 19:58:02 +02:00
  • 036d50765e updated README lisk77 2025-04-05 23:34:03 +02:00
  • 68f20d2094 fix: changed the WhiteNoise struct, so that one can create a noise texture on the fly and a noise generator for more than one time usages lisk77 2025-04-01 01:13:58 +02:00
  • 82bb18e25c fix: imported PI directly into easings.rs lisk77 2025-03-31 21:00:07 +02:00
  • 5d7fec6f96 feat: added a simple Polynomial struct lisk77 2025-03-31 20:59:08 +02:00
  • 87a7a13211 feat: added interpolation.rs for different kinds of interpolations lisk77 2025-03-31 20:58:25 +02:00
  • 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