This Week in Quads #8
🔗Miniquad
🔗MacOS PR
A big rewrite of MacOsX implementation by birhburh that fixed a bunch of old old-standing MacOs issues.
🔗Macroquad
🔗Breaking change in load_material
Since 0.4.11
, macroquad's materials could handle uniform arrays. The signature change in load_material
was supposed to be backwards compatible, but turned out that
- it was not quite backwards compatible
- the attempt to make it backward compatible introduce a lot of internal complications
This is the change required to the user code:
MaterialParams {
- uniforms: vec![("Center".to_owned(), UniformType::Float2)],
+ uniforms: vec![UniformDesc::new("Center", UniformType::Float2)],
..Default::default()
},
🔗Multiline draw_text
PR by https://github.com/cyrgani, a highly requested feature, a single function for multiline text.
🔗Removed bumpalo
dependency
bumpalo
was responsible for bumping minimal supported rust version for macroquad quite a few times already. Turned out we only use two functions from bumpalo
, and only in experimental::scene
module, which is still there mostly for legacy reason - it should be a separate crate!
🔗Revived Fish
FishGame might be the best big test case for experimental::scene
. Turned out that with a few changes it still works with macroquad-0.4. Updated repo: Fish
Sorry, I forgot how this game works