Search found 3 matches

by yabobay
Thu May 07, 2020 11:56 am
Forum: Support and Development
Topic: Why does LÖVE turn off the compositor under KDE?
Replies: 1
Views: 1670

Why does LÖVE turn off the compositor under KDE?

OS: Manjaro Linux
DE: KDE Plasma with KWin

When I launch LÖVE like this, KWin stops, and it starts using some fallback non-compositing WM. When I close the LÖVE window, it turns back to normal. Why does this happen, and how would I fix it?
by yabobay
Wed May 06, 2020 5:23 am
Forum: Support and Development
Topic: love.draw() seems to ignore if statements
Replies: 3
Views: 2635

Re: love.draw() seems to ignore if statements

I ended up putting the quotations at

Code: Select all

mode = "point" -- which is only for the start, then there's a toggle
and there at the if statement. Problem solved. Thanks!

P.S.: Y'know, the worst part of that is that I always keep making that mistake.
by yabobay
Tue May 05, 2020 1:44 pm
Forum: Support and Development
Topic: love.draw() seems to ignore if statements
Replies: 3
Views: 2635

love.draw() seems to ignore if statements

In love.load(), I have (along with some other stuff, check main.lua): mode = line And later on, in love.draw(), I have: function love.draw() if mode == point then -- draw all four corners of the first square love.graphics.points( square1[1] ) love.graphics.points( square1[2] ) love.graphics.points( ...