Commit graph

13 commits

Author SHA1 Message Date
4d4c6aad90 feat: added the Color component to the base components in the ECS 2025-03-21 23:17:16 +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 2025-03-15 23:17:02 +01:00
ab73b145b1 fix: changed the name of World to Scene (because the name fits better) 2025-03-11 01:23:33 +01:00
4e9e296ba4 fix: completely annihilated matrix and rewrote it with a good orthographic projection matrix finally 2025-03-10 01:39:00 +01:00
4af65ed961 feat: implemented a priority camera system that searches for the Entity with the Camera2D component with the smallest priority 2025-03-08 02:04:50 +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
2736d97d03 feat: Added shader loading and swapping as well as beginnings of out of the box noise generation and support for multiple render passes 2024-12-17 01:36:34 +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) 2024-11-29 01:29:57 +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