Matthias Richter

Results 17 comments of Matthias Richter

Good writeup. The first two soft lessons feel especially relevant. As for the first hard lesson: maybe half of the nil-issues can be solved by using [strict.lua](http://metalua.luaforge.net/src/lib/strict.lua.html). It won't catch...

This won't work as in classic, because hump does not really do inheritance. Instead, `class:include(other)` *copies* entries from `other`. So `class:is(other)` would have to check the meta table and if...

moonshine uses double buffering (see [moonshine.draw_shader()](https://github.com/vrld/moonshine/blob/master/init.lua#L29) and [chain.draw()](https://github.com/vrld/moonshine/blob/master/init.lua#L59). From what I understand this seems to be a issue with the blend mode. Can you check if changing the blend mode...

Can you please give a code example that produces the bug? On my end, this will only show the second rectangle with blend mode `"alpha"` in init.lua, but both rectangles...

Thanks for reporting and pointing out the very line of the bug. Unfortunately, a minimally invasive fix is not obvious (at least not to me)…

I can guess the fix for the first one, but as for the second issue I have no clue. Unfortunately I do not have the hardware to test this myself....

Yes indeed. Can you create a pull request?

Since pairs can iterate in any order, this would be non-deterministic. Would that be acceptable?

Unit tests would be great. It would be awesome if you could write something up and create a pull request (even partial coverage)! hump's API is very stable at this...