LÖVE 11.0 released!

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: LÖVE 11.0 released!

Post by Ref »

In many respects, I would expect that the color clamping would be done on Love's end.
Don't see any down side and would remove one more gotcha.
Everything would then be internally consistent.
Sorry, got this backward.
Love is clamping so the problem is with what people are providing.
User avatar
megalukes
Citizen
Posts: 94
Joined: Fri Jun 27, 2014 11:29 pm
Location: Brazil

Re: LÖVE 11.0 released!

Post by megalukes »

Amazing version, guys. Been updating my projects for a while now.

Anyway, I just found the setColor function change really annoying and unnecessary. 0 to 255 is much more commom in most image editors than 0 to 1. I know I can work around that with some math, but damn, really annoying indeed.
MissDanish
Citizen
Posts: 65
Joined: Wed Mar 07, 2018 11:21 pm

Re: LÖVE 11.0 released!

Post by MissDanish »

megalukes wrote: Sat Apr 14, 2018 10:08 pm Amazing version, guys. Been updating my projects for a while now.

Anyway, I just found the setColor function change really annoying and unnecessary. 0 to 255 is much more commom in most image editors than 0 to 1. I know I can work around that with some math, but damn, really annoying indeed.
I agree, I hoped paint.NET had a plugin somewhere but I at least could not find a way for it to also display 0-1 values. I will live with it though
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: LÖVE 11.0 released!

Post by Pebsie »

megalukes wrote: Sat Apr 14, 2018 10:08 pm Amazing version, guys. Been updating my projects for a while now.

Anyway, I just found the setColor function change really annoying and unnecessary. 0 to 255 is much more commom in most image editors than 0 to 1. I know I can work around that with some math, but damn, really annoying indeed.
My main project right now is 40k lines long. I can't wait to waste hours changing the entire project to something that isn't a standard. :crazy:

And, sorry to the devs for only complaining. This is genuinely a nice update. I'm just confused and angry about this small change.
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
User avatar
Stifu
Party member
Posts: 106
Joined: Mon Mar 14, 2016 9:53 am
Contact:

Re: LÖVE 11.0 released!

Post by Stifu »

Pebsie wrote: Tue Apr 17, 2018 9:25 amMy main project right now is 40k lines long. I can't wait to waste hours changing the entire project to something that isn't a standard. :crazy:

And, sorry to the devs for only complaining. This is genuinely a nice update. I'm just confused and angry about this small change.
Instead of wasting hours updating, wouldn't you be happy just using pixelicidio's solution (or a variant of it)?
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: LÖVE 11.0 released!

Post by Pebsie »

Stifu wrote: Tue Apr 17, 2018 9:57 am
Pebsie wrote: Tue Apr 17, 2018 9:25 amMy main project right now is 40k lines long. I can't wait to waste hours changing the entire project to something that isn't a standard. :crazy:

And, sorry to the devs for only complaining. This is genuinely a nice update. I'm just confused and angry about this small change.
Instead of wasting hours updating, wouldn't you be happy just using pixelicidio's solution (or a variant of it)?
Oh, how wonderful! :)
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
User avatar
zorg
Party member
Posts: 3468
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: LÖVE 11.0 released!

Post by zorg »

256 values is the de facto standard for 8bit (per cannel) graphics, 0-1 is the de facto standard for shaders and basically is what's called normalized in math, can't get more standard than that. Really, the only thing people should be irked about is that 0.5 isn't 128 because the maximum value is 255, hence 255/2 ~= 128.

Edit: also do check out this thread: viewtopic.php?f=4&t=85084
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: LÖVE 11.0 released!

Post by Pebsie »

zorg wrote: Tue Apr 17, 2018 10:56 am 256 values is the de facto standard for 8bit (per cannel) graphics, 0-1 is the de facto standard for shaders and basically is what's called normalized in math, can't get more standard than that. Really, the only thing people should be irked about is that 0.5 isn't 128 because the maximum value is 255, hence 255/2 ~= 128.

Edit: also do check out this thread: viewtopic.php?f=4&t=85084
Yeah, you're right, I was just frustrated and spouting nonsense.
Cheers for the response!
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
User avatar
Pebsie
Party member
Posts: 144
Joined: Mon Nov 11, 2013 12:35 am
Location: Lincoln, United Kingdom
Contact:

Re: LÖVE 11.0 released!

Post by Pebsie »

I'm now having some troubles with framerate when using canvases.

My love.graphics.draw calls are slowing the game down from 400~ FPS on 0.10 to 7~ FPS on 0.11. I've done a couple tests and can't think of what is causing this. Commenting out the love.graphics.draw calls brings the FPS right back up, but obviously that's no good. I can't see anything in the change notes that might be causing this.
Website: http://peb.si
Twitter: @Pebsiee http://twitter.com/pebsiee
Steam: pebsie
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests