Re: Colour Spectrum (Odd Error)
Posted: Fri Jan 27, 2012 6:30 am
Fixed it, thanks for your help!
It was black because I forgot to change the "/255" in my main code, as I had changed it on this post and confused myselfMarekkPie wrote:So is the error the error code in the first post? Or can you not see anything, but it runs?
I got it fixed. Well, really, it never was really broken, I just changed my code in here and forgot to change my actual code. The reason it was turning up black was because I had divided the number by 255 (I was using the same table in another program that needed the numbers to be divided by 255).kikito wrote:Please post a .love file so we can test.
It means the first argument to either love.graphics.circle, love.graphics.polygon, love.graphics.rectangle or love.graphics.triangle is wrong. It has the be a DrawMode.nate890 wrote:I get the error "24 - Incorrect draw mode -501.333333333333", what's this mean?
Yes, indeed, I noticed that error right after I posted it, and I mentioned that in my last post.vrld wrote:For those who are interested how to fix such errors:It means the first argument to either love.graphics.circle, love.graphics.polygon, love.graphics.rectangle or love.graphics.triangle is wrong. It has the be a DrawMode.nate890 wrote:I get the error "24 - Incorrect draw mode -501.333333333333", what's this mean?