LÖVE 11.0 released!
-
- Prole
- Posts: 1
- Joined: Mon Apr 02, 2018 12:58 am
Re: LÖVE 11.0 released!
When building for macOS, should we be using the same frameworks as for 0.10.0? I don't see a 11.0 version here: https://love2d.org/sdk/
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: LÖVE 11.0 released!
Looks like I have a lot of work to do. Some shaders of mine are giving complaints probably because of the switch from 255-based colors to 1.0-based colors.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LÖVE 11.0 released!
Until the new ones go up on that page, you can download stock 11.0 and copy the frameworks out of love.app/Contents/Frameworks/.unindented wrote: ↑Mon Apr 02, 2018 12:59 am When building for macOS, should we be using the same frameworks as for 0.10.0? I don't see a 11.0 version here: https://love2d.org/sdk/
-
- Prole
- Posts: 17
- Joined: Fri Feb 26, 2016 1:42 pm
Re: LÖVE 11.0 released!
Running the installer on Windows 10 produces some interesting text...
https://love2d.org/imgmirrur/W46ZHjz.png
Maybe it's some kind of ASCII - Unicode mixup?
https://love2d.org/imgmirrur/W46ZHjz.png
Maybe it's some kind of ASCII - Unicode mixup?
- pixelicidio
- Prole
- Posts: 5
- Joined: Sat Mar 17, 2018 2:47 pm
- Contact:
Re: LÖVE 11.0 released!
Is good to know Love2D have a new release to keep the project up to date.
But this was a big-breaking-code change:
But this was a big-breaking-code change:
Saludos!Changed colour values to be in the range 0-1, rather than 0-255
Re: LÖVE 11.0 released!
after updating my game to 11.0, it seems to sometimes not create canvases. it doesn't produce an error, just sometimes the canvases are all black and drawing to them does nothing. I'll have to do more testing. oh, and the new deprecation thing is nice, but it took me a while to notice. the text is tiny at high DPI.
edit: here's some code that generates a 8x8 grid of 64 small (64x64) canvases, and draws a white rectangle to them. you should just see a 512x512 white square. when you press any keyboard key it'll regenerate all 64 canvases. if I mash the keyboard to make a ton of canvases, some will be eventually black, and if it's like what I've experienced in my game it won't generate an error but you can't draw anything to them, they're opaque black. code runs on both 0.10.2 and 11.0, never generates a black square in 0.10.2, predictably generates black squares in 11.0. in my testing it's pretty consistently happening between 64 and 131 keypresses, and so on, getting worse over time.
I'm using the appimage on arch linux with vega 56 and open source drivers, and it's the same story with intel integrated graphics on a laptop.
edit: here's some code that generates a 8x8 grid of 64 small (64x64) canvases, and draws a white rectangle to them. you should just see a 512x512 white square. when you press any keyboard key it'll regenerate all 64 canvases. if I mash the keyboard to make a ton of canvases, some will be eventually black, and if it's like what I've experienced in my game it won't generate an error but you can't draw anything to them, they're opaque black. code runs on both 0.10.2 and 11.0, never generates a black square in 0.10.2, predictably generates black squares in 11.0. in my testing it's pretty consistently happening between 64 and 131 keypresses, and so on, getting worse over time.
I'm using the appimage on arch linux with vega 56 and open source drivers, and it's the same story with intel integrated graphics on a laptop.
Code: Select all
lg = love.graphics
canvas = {}
count = 0
function reload()
count = count + 1
canvas = {}
for i = 0,63 do
canvas[i] = lg.newCanvas(64,64)
canvas[i]:renderTo(function() lg.rectangle("fill", 0,0, 64,64) end)
end
end
function love.load() reload() end
function love.keypressed() reload() end
function love.draw()
for i = 0,63 do lg.draw(canvas[i], i%(8)*64, math.floor(i/8)*64) end
lg.print(count, 520, 0, 0, 4)
end
Last edited by eouppdru on Mon Apr 02, 2018 5:44 am, edited 1 time in total.
PGP: 9D05F9CC4FB3DEA617ADCDDA355A9D99CBE1CC1B
Re: LÖVE 11.0 released!
Cool. One of my proposals body:isTouching(other) has made it into the new version.
Would be great if we get body:getTransform() and contact:getOther() in the future too.
Well done!
Would be great if we get body:getTransform() and contact:getOther() in the future too.
Well done!
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: LÖVE 11.0 released!
Indeed, NSIS fails to interpret the letter Ö, not sure what the source and destination encoding is though that fails; this isn't a new issue though. Edit: tries to decode UTF-8 "Ö" with ISO-8859-1.ThiefOfPringles wrote: ↑Mon Apr 02, 2018 2:48 am Running the installer on Windows 10 produces some interesting text...
https://love2d.org/imgmirrur/W46ZHjz.png
Maybe it's some kind of ASCII - Unicode mixup?
Well, now the 11.0 version change makes more sense!pixelicidio wrote: ↑Mon Apr 02, 2018 3:20 am But this was a big-breaking-code change:Changed colour values to be in the range 0-1, rather than 0-255
Me and my stuff True 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.
-
- Prole
- Posts: 9
- Joined: Wed Dec 30, 2015 6:30 pm
Re: LÖVE 11.0 released!
You're right... I produced hundred of tutorials videos for Love and now I need to check which one is using colors.pixelicidio wrote: ↑Mon Apr 02, 2018 3:20 am Is good to know Love2D have a new release to keep the project up to date.
But this was a big-breaking-code change:Saludos!Changed colour values to be in the range 0-1, rather than 0-255
Corona SDK did the same once upon a time, a big mess too.
Re: LÖVE 11.0 released!
Can confirm. Apparently it has something to do with the canvases getting garbage collected and re-created from the same memory. Also happens if you release the canvas manually. I guess the new version doesn't release GL objects properly? The last one didn't had this problem.
Last edited by raidho36 on Mon Apr 02, 2018 8:25 am, edited 2 times in total.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests