Hi all!
I wanted to show you some LÖVELINESS. Particularly, letting you play love games on the web!
Download LÖVELINESS
Examples + documentation
github project
There's lots more to say, but for now, just check out the links above.
Enjoy!
-binji
EDIT:
It looks like I've made a mistake by not actually trying out the extension from the webstore... I'm looking into it, but for now you have to turn on the "native client" flag to test.
EDIT:
* OK, looks like Chrome Stable (v26) works without the flag. If you run Chrome Beta or Canary, you might need to turn the flag on.
* Chromium 25 for Ubuntu seems to not have Native Client plugins installed by default...? So make sure to try other Native Client examples first to see if they work. (e.g. https://chrome.google.com/webstore/deta ... ipaephckkd)
* If the extension is not working for you, please file a bug on github! You can get information about your Chrome version by going to "about:version" and "about:gpu"... please include that info with your bug report!
LÖVELINESS a LÖVE Chrome Extension
LÖVELINESS a LÖVE Chrome Extension
Last edited by binji on Fri May 03, 2013 4:49 pm, edited 2 times in total.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
Very neat. One tiny nitpick: have you made sure that the licenses of all of the examples you hosted on your website allow for that? If they are open source, it's okay, but otherwise it might not be.
Help us help you: attach a .love.
Re: LÖVELINESS a LÖVE Chrome Extension
Oh ... unexpected & nice!binji wrote:Hi all!
I wanted to show you some LÖVELINESS. Particularly, letting you play love games on the web!
Download LÖVELINESS
Examples + documentation
github project
There's lots more to say, but for now, just check out the links above.
Enjoy!
-binji
Is this going to be official supported? LÖVE really needs official Web and Mobile support .
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
That looks pretty cool, what kinds of things did you have to do make it work with NaCl?
Also, I'd like to note I'm falsely credited, while the repository with the GLES2 port is on my account, the actual porting was done by someone else (slime).
Also, I'd like to note I'm falsely credited, while the repository with the GLES2 port is on my account, the actual porting was done by someone else (slime).
Re: LÖVELINESS a LÖVE Chrome Extension
Good point! Currently I am just hosting the love-0.8.0 demos, two from stabyourself.net, and IYFCT. I'm not certain about the licenses, does anyone know? If there are any complaints I'll take them down. If is unfortunately hard to demo some of these examples with the direct links... (they need to be .love files)Robin wrote:Very neat. One tiny nitpick: have you made sure that the licenses of all of the examples you hosted on your website allow for that? If they are open source, it's okay, but otherwise it might not be.
--- SECOND POST ---
... depends what you mean by official... I plan to support it for now, and the source is on github. Hopefully that is enough.SiENcE wrote: Is this going to be official supported? LÖVE really needs official Web and Mobile support .
--- THIRD POST ---
Thanks for mentioning, I'll fix the credits.bartbes wrote:That looks pretty cool, what kinds of things did you have to do make it work with NaCl?
Also, I'd like to note I'm falsely credited, while the repository with the GLES2 port is on my account, the actual porting was done by someone else (slime).
As for how much was needed to port to NaCl... less than you think. I needed to add a few libraries to (naclports) mostly. Then a large part was integrating the OpenGL ES 2.0 code (fortunately already done). Finally, there was integrating with PPAPI (the plugin API for NaCl to communicate with Chrome). Mostly that work was just glue code (creating a new graphics context, listening for input, etc.) -- the SDL port should have worked, but it isn't quite complete enough so I used PPAPI directly. I can get into more details if you're curious.
Honestly what took the most work was backporting OpenGL ES 2.0 to love 0.8 and fixing all the bugs I made in the process. Everything else was pretty straightforward (full disclosure, I work on Native Client).
Last edited by bartbes on Fri Apr 26, 2013 4:09 pm, edited 1 time in total.
Reason: Merged
Reason: Merged
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
Could you please not double(/triple) post, or quote entire posts unless absolutely needed (the last one goes for you too, SiENcE)?
I always hate cross-compiling all the dependencies..binji wrote: I needed to add a few libraries to (naclports) mostly.
Ah, familiar with the API, I can imagine that helps too, I could never figure out where to start.binji wrote: full disclosure, I work on Native Client
Re: LÖVELINESS a LÖVE Chrome Extension
Sorry about that.bartbes wrote:Could you please not double(/triple) post, or quote entire posts unless absolutely needed (the last one goes for you too, SiENcE)?
Yes, for now I've checked the dependencies into the repo. It definitely simplifies things.bartbes wrote: I always hate cross-compiling all the dependencies..
Well, we're always trying to improve it! If you have any suggestions, I'd appreciate it. My hope is that having concrete, working examples to crib from will help.bartbes wrote: Ah, familiar with the API, I can imagine that helps too, I could never figure out where to start.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
This looks amazing! well done!
When I write def I mean function.
- slime
- Solid Snayke
- Posts: 3161
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
This is really really cool.
About the shaders, GLSL ES 1.0 (OpenGL ES 2.0's shader language) is mostly based on GLSL 1.10, whereas LÖVE specifies GLSL version 1.20 for its desktop version. GLSL 1.10 (and consequently GLSL ES 1.0) is lacking some useful features you'd expect in a language, like the int-to-float conversions for literals that you mentioned on the website.
About the shaders, GLSL ES 1.0 (OpenGL ES 2.0's shader language) is mostly based on GLSL 1.10, whereas LÖVE specifies GLSL version 1.20 for its desktop version. GLSL 1.10 (and consequently GLSL ES 1.0) is lacking some useful features you'd expect in a language, like the int-to-float conversions for literals that you mentioned on the website.
Re: LÖVELINESS a LÖVE Chrome Extension
@slime Ah, thanks for clearing that up. I was wondering why so many shaders were broken...
another common failure is assigning default values to uniforms. Usually it works to just remove it, but it does feel a bit icky.
another common failure is assigning default values to uniforms. Usually it works to just remove it, but it does feel a bit icky.
Who is online
Users browsing this forum: No registered users and 1 guest