Hi, I am trying to make lines with different colors. I have the 2076 build. A lot of colors are not showing properly with the corresponding RGB values. For example this code is suppose to create a red line when I tap on the screen, but it instead creates a yellow one:
function onTouch() line=display.newLine(10, 10, 300, 700) line.width=30 line:setColor(232, 27, 0, 255) line.blendMode="normal" end Runtime:addEventListener("tap", onTouch)
If I change the RGB values to a different shade of red (255, 62, 70), the line is white colored. This is not only happening with the color red, but to all other colors as well. Is this a bug? I didn’t have this problem in my old build (before I updated to 2076). Please enlighten me. Thank you!