Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by Jasoco »

So what's new in 0.7.0? That's what I really want to know. What can we look forward to? And will anything break from 0.6.2?
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by thelinx »

The only breakage is that text now draws from the top-left rather that how it is now.

Other than that, it's only new stuff in the API.

Check out the changelog.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by bartbes »

We will have a new no game screen!
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by Robin »

bartbes wrote:We will have a new no game screen!
*gasp*

Truly, we are being spoiled. :monocle:

Edit: so is Game Slave from Invader Zim?
Help us help you: attach a .love.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by thelinx »

Robin wrote:so is Game Slave from Invader Zim?
If you'd been in IRC, maybe you'd know.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by Jasoco »

Ooh, the changes look interesting. I see we now have Multiply and Subtract blend modes. Will we be getting others in time like Darken and Lighten?

Also, what is Frame Buffer? Will that allow us to place stuff on a hidden frame to use later?

I'd love to be able to have a separate buffer where I can draw with RGBA to make a lighting mask then copy that lighting mask with all transparency and paste it over the visible screen. Would make some neat lighting effects with multiple light sources.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by thelinx »

A frame buffer is basically a canvas that you can draw stuff on once, then draw that canvas a lot of times later without drawing all the individual stuff.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by Jasoco »

But will we be ableto draw say a mask onto it, then paste/apply the buffer to the main screen as if it were an image? Like say I made a greyscale lighting mask then pasted it onto the main screen? Would the buffer accept transparency or will it have a solid color behind it?

Also, I wish I could draw using HSL as well as RGB. Would be neat to be able to draw with Hue and change the Hue through all the colors of the rainbow so much easier. Plus the Saturation and Lightness would be awesome and it would be so useful. Especially if we combine it with image drawing. Imagine shifting the hue of an image easy or lightening/darkening it or removing all its color with a single command.

love.graphics.setColorHSL(h,s,l,a)

H would be 0,359 (But would loop so a larger number like 500 would wrap around like degrees do and return to 140.)
S is 0 to 100
L is 0 to 100
And A of course is Alpha 0 to 255.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by vrld »

Jasoco wrote:Will we be getting others in time like Darken and Lighten?
Not that easy to implement using OpenGLs fixed function pipeline, because you would need access to the individual pixels, which one doesn't have. It's possible using shaders though, but then you lose portability...
But will we be ableto draw say a mask onto it, then paste/apply the buffer to the main screen as if it were an image?
Yes.
Would the buffer accept transparency or will it have a solid color behind it?
It is transparent where you haven't painted anything.
Also, I wish I could draw using HSL as well as RGB.
This might be relevant to your interests.
h ranges from 0 - 360, s and v from 0 - 1. Use Color.hsv(h,s,v,a) to create a new Color object using the hsv color space.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Love 0.7 is coming out soon yaaaaaaaaaaaaaaaaa-

Post by Jasoco »

Yes.
Yippie!
It is transparent where you haven't painted anything.
Oh boy! Can't wait to play with it!
This might be relevant to your interests.
h ranges from 0 - 360, s and v from 0 - 1. Use Color.hsv(h,s,v,a) to create a new Color object using the hsv color space.
I will take a look! Thanks! Still would be nice to have it built-in.

If I use the lua file, what's the Copyright whatever on it? I use the Sound library now too. I just want to know who to thank for whatever libraries I end up using in the end. The Color.lua file doesn't seem to have a name/copyright header like soundmanager does. Most of the time I like to write my own stuff, but if something I can't do alone comes along I will happily use it.

Also, how many buffers can we have saved in memory? How many canvases can we have hidden for drawing to for later? And can they be bigger than the screen? Or are they restricted to the size of your current window?
Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests