Commit Graph

17 Commits

Author SHA1 Message Date
SeanOMik 9852df498b
render: remove unused field from SpriteInstance struct on gpu 2024-11-27 23:12:12 -05:00
SeanOMik a06c065337
render: implement sprite pivot, fix sprite centering in ortho projection 2024-11-27 23:04:20 -05:00
SeanOMik d1aee610cc
Make sprite texture atlas more generic 2024-11-24 21:52:48 -05:00
SeanOMik b9d0398157
Format some code, update wgsl-preprocessor crate 2024-11-24 16:32:52 -05:00
SeanOMik 558f027b19
2d: create an animation sheet component 2024-11-24 11:01:31 -05:00
SeanOMik 4018fdaa80
implement texture atlases for sprites, allow storage of assets not from a loader 2024-11-20 17:29:52 -05:00
SeanOMik b8003795fa
game: create TopDown2dCamera controller, fix warning 2024-11-15 23:45:58 -05:00
SeanOMik ad4de0b5be
rename FreeFlyCamera to FreeFly3dCamera 2024-11-15 23:07:48 -05:00
SeanOMik 503ea5b450
render: add more option for scaling modes of orthographic projection 2024-11-15 23:01:35 -05:00
SeanOMik 95b01613fe
Return Result for asset handle wait_for_load, create shader asset loader that uses the preprocessor 2024-11-14 21:44:19 -05:00
SeanOMik 8d54c42d74
update examples to use new camera bundles 2024-11-03 15:02:49 -05:00
SeanOMik 3a4333d16e
ecs: implement Bundle traits for structs 2024-11-03 12:35:17 -05:00
SeanOMik 617c4d69e8
render: fix 2d camera 2024-11-02 21:46:21 -04:00
SeanOMik 315924f920
render: implement 2d sprite rendering 2024-11-02 19:15:35 -04:00
SeanOMik 4816b7333e
Make system_update_world_transforms also update world transforms for SceneGraphs
CI / build (push) Failing after 2m53s Details
Before this couldn't be done since lyra-scene could not depend on lyra-resource, it would have caused a cyclic dependency. The last commit, where I created lyra-gltf from code inside lyra-resource, made this possible
2024-11-01 19:45:29 -04:00
SeanOMik 5542467d7e
separate GLTF loader to its own crate 2024-11-01 12:09:01 -04:00
SeanOMik 3ce9ab6fb3
move crates into 'crates' folder 2024-11-01 11:17:36 -04:00