Commit graph

  • 52a234a23e feat(app): added interface for the actual renderer delta time main lisk77 2025-11-27 12:52:24 +01:00
  • 9a47ee7b55 refactor(components): texts now store a String to allow mutable text lisk77 2025-11-27 12:50:37 +01:00
  • c0ce4e60ee chore(examples): rename hello_sound to simple_audio and fix the links in the README lisk77 2025-11-27 11:52:07 +01:00
  • bc9ea50264 feat: added comet_sound to cargo toml and added with_audio to the builder pattern lisk77 2025-11-27 00:26:24 +01:00
  • 9777c4b6b4 feat(example): added sound system example lisk77 2025-11-27 00:16:41 +01:00
  • 4e2c18b0c1 refactor(examples): adapt to new entity system lisk77 2025-11-26 17:07:30 +01:00
  • 053f1f48da refactor(ecs): another small speedup for archetypes lisk77 2025-11-26 00:38:07 +01:00
  • 64bf88c229 refactor(ecs): speedup for archetypes lisk77 2025-11-25 23:40:26 +01:00
  • 2a37205c22 fix(ecs): entity deletion is now type correct lisk77 2025-11-25 23:28:42 +01:00
  • 607bf94f1e refactor(ecs)!: reworked the entity id system lisk77 2025-11-25 23:11:37 +01:00
  • eced6ddf3f fix(ecs): some replacement issues lisk77 2025-11-25 13:24:59 +01:00
  • a01a52766d refactor(renderer): change world corner transformation vecs and text generating function signature lisk77 2025-11-17 22:31:36 +01:00
  • 1a463770a3 fix(app): changed mainloop to mitigate no response from application lisk77 2025-11-17 22:29:44 +01:00
  • 90e514f642 fix(log): fatal log message now exits the system and never returns lisk77 2025-11-17 18:20:22 +01:00
  • 8aec280447 refactor(renderer): texture look up does not need a String as key anymore lisk77 2025-11-17 17:58:48 +01:00
  • 4ed42b3de0 fix(renderer): deduplicate texture atlas creation lisk77 2025-11-17 17:32:21 +01:00
  • 9c5a471519 fix(renderer): universal render pass starts with a dummy camera uniform and quads now dont do subpixels lisk77 2025-11-16 01:05:31 +01:00
  • d37351fbc5 fix(app): winit doesnt induce 'not responding' on minimization anymore lisk77 2025-11-16 01:02:18 +01:00
  • bf7f0bebe9 fix(app): surface errors are handled properly now lisk77 2025-11-13 00:45:54 +01:00
  • e589544a31 feat(math): vectors now have the hadamard product for multiplication lisk77 2025-11-13 00:43:37 +01:00
  • 4915cbcbfe feat(renderer2d): added method to precompute text texture bounds lisk77 2025-11-12 21:32:52 +01:00
  • 9312dc4444 chore(res): removed unnecessary shader files lisk77 2025-11-04 01:30:39 +01:00
  • bdf33f2714 feat(texture_atlas): reworked the texture atlas creation lisk77 2025-11-04 01:27:40 +01:00
  • 676b1dcb18 fix(renderer): removed debug log lisk77 2025-11-02 19:38:25 +01:00
  • a2715eafab chore(math): remove warnings lisk77 2025-11-02 14:50:00 +01:00
  • 81bc1cb790 chore(all): fix warnings lisk77 2025-11-02 13:14:41 +01:00
  • c7f0412eff
    Merge pull request #2 from lisk77/feat/renderer2d-rework lisk77 2025-11-02 02:19:51 +01:00
  • 027cd79b34 feat(comet): prelude explicitly exports Renderer2D now lisk77 2025-11-02 02:16:09 +01:00
  • 32d06c5164 fix(examples): changed functions for atlas initialization lisk77 2025-11-02 02:15:03 +01:00
  • 5a9b771967 feat(renderer2d): added font rendering and fixed some texture rendering issues lisk77 2025-11-02 02:14:01 +01:00
  • 09ed792338 fix(comet_resources): removed deleted references in lib.rs lisk77 2025-11-02 02:12:31 +01:00
  • 86392d4c05 feat(graphics_resource_manager): added font atlas and a way to load a shader directly from a source string (wgsl only right now) lisk77 2025-11-02 02:11:17 +01:00
  • 8831c46b4c fix(texture_atlas): added texel offset to ensure correct interpolation on the GPU side lisk77 2025-11-02 02:09:58 +01:00
  • 025d2b3a5f feat(render_pass)!: renamed the universal_execute to universal_clear_execute and made a universal_load_execute lisk77 2025-11-02 02:08:09 +01:00
  • 98200cf6b5 refactor(camera): cleanup lisk77 2025-11-02 02:06:36 +01:00
  • 609ba45813 feat(render_resources): added replace_bind_group_layout lisk77 2025-11-01 00:09:01 +01:00
  • 40d60771a3 fix(examples): changed function calls from the new Renderer2D implementation lisk77 2025-10-31 01:17:06 +01:00
  • 1f983fb2ad refactor(renderer): completely overhauled the comet_renderer crate lisk77 2025-10-31 01:13:25 +01:00
  • fafc7d22a4 fix(resources): load_string is no longer build.rs dependent lisk77 2025-10-31 01:10:31 +01:00
  • c2776e1bc4 feat(renderer): added RenderResources and Batches and filled out the Renderer trait for Renderer2D lisk77 2025-10-27 17:34:03 +01:00
  • 66c444371a refactor(renderer2d): modularized and abstracted away the render context lisk77 2025-10-26 15:21:26 +01:00
  • 9a0e02567b
    Merge pull request #1 from lisk77/feat/new-renderer2d lisk77 2025-10-26 12:19:54 +01:00
  • d83c780ce7 chore(goals): defining the first draft of a 1.0 ready Comet Game Engine lisk77 2025-10-26 02:02:28 +01:00
  • 67dcee0a9b fix(examples): changed scene method to scene_mut in render_scene_2d calls lisk77 2025-10-26 02:33:55 +02:00
  • 87f0233066 feat(renderer): added scale_factor to the trait to allow checking for scale factors in the event loop lisk77 2025-10-26 02:32:50 +02:00
  • dd89d71565 feat(renderer2d)!: made text rendering return the bounds of the rendered text for better position control but also changed render_scene_2d signature to take a mutable Scene reference lisk77 2025-10-25 21:38:14 +02:00
  • ca47efba42 feat(renderer2d): added a simple draw order to the Renderer2D which can be defined by the draw_index in the Render2D component lisk77 2025-10-25 01:43:34 +02:00
  • dab38c1e32 feat(sound): added a simple sound player to the engine with api in the App struct and a component to store metadata lisk77 2025-10-23 15:14:38 +02:00
  • dfdffed745 fix(Rectangle2D): now the collider will treat its position as the center and not a corner much like textures in the renderer 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 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