vudu
vudu copied to clipboard
LÖVE 0.10 compatibility
trafficstars
In the readme, it's stated:
vudu currently supports Love2D versions 0.10.x and 0.11.x
Indeed, there's a check to translate the colors from 0-255 to 0-1, to be compatible with both the new and the old API.
https://github.com/deltadaedalus/vudu/blob/b3916daa6be47752f40133491a71e76caacf509f/vudu/vudu.lua#L67
However, vudu is using Transform which is not supported by LÖVE 0.10.
There are two solutions: implement compatibility Transform class and use it conditionally like the with selecting the color value range, or just drop support of 0.10 API (~10 years old now) and remove all conditional selections that depend on API version.