Search found 3 matches

by Imnotaplayer
Sat Apr 19, 2025 9:32 pm
Forum: General
Topic: fading white rect appears dark when changing alpha
Replies: 2
Views: 476

Re: fading white rect appears dark when changing alpha

If you're drawing the rectangle to a canvas, you may want to use the "premultiplied" BlendAlphaMode when drawing that canvas.

Image

Nothing looks inherently wrong with the code provided, so this is a guess at your problem.
by Imnotaplayer
Thu Jun 13, 2024 8:17 pm
Forum: Support and Development
Topic: Garbage Collector and FFI
Replies: 23
Views: 9136

Re: Garbage Collector and FFI

Sorry for the late reply, but this time I have an example that crashes because of the garbage collector. You don't have to do anything. Just start the program, wait for the garbage to raise until around 1024 kb, then the garbage collector kicks in and kills everything. If you disable the the line w...
by Imnotaplayer
Sat May 18, 2024 1:33 pm
Forum: Support and Development
Topic: [SOLVED] push.lua and love.graphics.newQuad problem
Replies: 5
Views: 2766

Re: push.lua and love.graphics.newQuad problem

function love.load() spriteSheets = love.graphics.newImage("tiles.png") tilesSprite = generateQuads(spriteSheets, 16, 16) love.window.setMode(33*16, 28*16) love.graphics.setDefaultFilter('nearest', 'nearest') -- ... end You should call love.graphics.setDefaultFilter() before creating any ...