Search found 4 matches

by Lesommeil
Thu Apr 28, 2022 2:01 pm
Forum: General
Topic: invalid CRC encountered
Replies: 2
Views: 3020

Re: invalid CRC encountered

CRC is a checksum, in this case stored in the PNG, that should tell whether the PNG data is correct or corrupt. Most likely in your case it's not the data that's corrupt, but the checksum itself. I don't think there's a way to disable the CRC check without editing the relevant C++ code in LÖVE and ...
by Lesommeil
Thu Apr 28, 2022 10:37 am
Forum: General
Topic: invalid CRC encountered
Replies: 2
Views: 3020

invalid CRC encountered

function love.load() instance = {} instance.img = love.graphics.newImage("coin.png") end function love.draw() love.graphics.draw(instance.img, 100, 100) end But if the png size is too small like 17*17, this happens. Error main.lua:3: Could not decode PNG image (invalid CRC encountered (ch...
by Lesommeil
Wed Apr 20, 2022 8:16 am
Forum: General
Topic: how to set key repeat delay?
Replies: 4
Views: 2431

Re: how to set key repeat delay?

Thank you all for the response, it's working. and really nice code!
by Lesommeil
Tue Apr 19, 2022 11:28 am
Forum: General
Topic: how to set key repeat delay?
Replies: 4
Views: 2431

how to set key repeat delay?

Sorry for the simple question.
I want to set a short time delay (like 0.2 s) on keyRepeat, but I found the wiki it was removed, and I couldn't locate a substitute.