Search found 217 matches

by darkfrei
Wed Dec 30, 2020 1:59 pm
Forum: Support and Development
Topic: Windows global scale
Replies: 4
Views: 3430

Re: Windows global scale

Pienkaito wrote: Wed Dec 30, 2020 12:54 pm Perhaps you could disable dpi scaling on love.conf?

Code: Select all

function love.conf(t)
	t.window.usedpiscale = false
end
Thanks for reply!

But it seems don't work as expected.
by darkfrei
Mon Dec 28, 2020 1:33 pm
Forum: Support and Development
Topic: Function that switch a boolean value
Replies: 6
Views: 3348

Re: Function that switch a boolean value

Another way: return the new value and set it to the test value test = true function love.draw() if test then love.graphics.print("Test true") else love.graphics.print("Test false") end end function love.mousepressed( x, y, button, istouch, presses ) if button==1 then test = switc...
by darkfrei
Mon Dec 28, 2020 1:28 pm
Forum: Support and Development
Topic: Function that switch a boolean value
Replies: 6
Views: 3348

Re: Function that switch a boolean value

Code: Select all

function love.mousepressed( x, y, button, istouch, presses )
	if button==1  then
		test = not test -- turns false to true and true to false
	end
end
by darkfrei
Sat Dec 26, 2020 2:39 pm
Forum: Support and Development
Topic: Windows global scale
Replies: 4
Views: 3430

Windows global scale

Hi all! I have problem. I have windows 10 and I have 150% scale for 4K monitor. https://www.dedoimedo.com/images/computers_years/2014_2/ideapad-changed-dpi.png How to set the Löve window scale back to 100%? For example I've made the window 800x600, but the screenshot will be taken with 1200x900. How...
by darkfrei
Wed Dec 23, 2020 3:34 pm
Forum: Games and Creations
Topic: Small ray tracing
Replies: 6
Views: 5921

Re: Small ray tracing

by darkfrei
Tue Dec 22, 2020 9:38 pm
Forum: Games and Creations
Topic: POCA - A puzzle game
Replies: 2
Views: 2241

Re: POCA - A puzzle game

How?
by darkfrei
Mon Dec 21, 2020 1:59 pm
Forum: Games and Creations
Topic: Isometric Tile based game (just a basic demo)
Replies: 3
Views: 3320

Re: Isometric Tile based game (just a basic demo)

Looks nice!
Is it possible to change the angle to 45°30°? It gives you exactly ~26.57° (tan(0.5)).
by darkfrei
Sat Dec 19, 2020 6:43 pm
Forum: Games and Creations
Topic: High UPS run.lua script
Replies: 5
Views: 3220

Re: High UPS run.lua script

zorg wrote: Sun Dec 13, 2020 6:23 pm updates per second, probably; disabling vsync and removing love.timer.sleep(0.001) from love.run would do that... not that that's a good idea.
Why I cannot set sleep less than 0.001 s?
by darkfrei
Wed Dec 16, 2020 10:38 pm
Forum: Games and Creations
Topic: Spirograph
Replies: 2
Views: 3706

Spirograph

My try to make some spirograph, 3 vectors.