Comments

Log in with itch.io to leave a comment.

I didn't run into any issue but I think there's a mistake inside the `macaw_generate_dll` function. The fallback doesn't actually exist at line 26. 

I changed it:

return macaw_generate(w, h, octaves, amplitude);

to

return macaw_generate_gml(w, h, octaves, amplitude);

Lol, whoops. Looks like I renamed something at some point and forgot to change the reference. Uploaded a fixed version.

I also had to change the line in the Get function to what @blank said in their comment. The original line is different but was still not the right data type.

return buffer_peek(self.noise, ((x * self.height) + y) * 4, buffer_f16);

to

return buffer_peek(self.noise, ((x * self.height) + y) * 4, buffer_f32);

that’s interesting, it looks like I fixed the alignment bug in Get() but forgot to fix that one. Updated again, thanks for pointing it out lol

hello your Get function was broken

I changed (line 263)

return buffer_peek(self.noise, ((x * self.height) + y) * 2, buffer_f16);

to

return buffer_peek(self.noise, ((x * self.height) + y) * 4, buffer_f32);

and it seems to be working

thank you for this amazing program, do I need to credit you anywhere?

Good catch, not sure how that never came up before!

 Very amazing, but I had a question, how could I use offset?