Awesome library , Thanks for it man .
Hmm, I'm going to add support for skins to use this library in my new wip secret gui lib, But... I have a little problem...
I'm using an Asus laptop which have a basic graphics card that can't compile love2d shader , So, Can you add a little assertion to prevent the library from crashing when shader's aren't supported ? Just prevent it from drawing, without giving errors.
Material - Love (Material Design for LÖVE)
- RamiLego4Game
- Citizen
- Posts: 73
- Joined: Tue Jun 10, 2014 7:41 pm
Re: Material - Love (Material Design for LÖVE)
- LIKO-12: An open source fantasy computer made using LÖVE: https://LIKO-12.github.io/
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Material - Love (Material Design for LÖVE)
No problem! I loved making this library, it has many bugs though and you'll find yourself fighting against edge cases quite often hahaha but I hope it works for you.RamiLego4Game wrote:Awesome library , Thanks for it man .
Hmm, I'm going to add support for skins to use this library in my new wip secret gui lib, But... I have a little problem...
I'm using an Asus laptop which have a basic graphics card that can't compile love2d shader , So, Can you add a little assertion to prevent the library from crashing when shader's aren't supported ? Just prevent it from drawing, without giving errors.
About the shader stuff, my computer doesnt support shader nor canvas either so I added a check to THE ONLY section that uses a shader here, here and here, I'm not sure why it errors for you, have you checked with the latest version instead of the demo?
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
- RamiLego4Game
- Citizen
- Posts: 73
- Joined: Tue Jun 10, 2014 7:41 pm
Re: Material - Love (Material Design for LÖVE)
Thanks for the answer, The problem has been fixed by updating the graphics driver, The old driver had a problem in compiling the shaders . Thanks for slime because he helped me debug the problem.
- LIKO-12: An open source fantasy computer made using LÖVE: https://LIKO-12.github.io/
- RamiLego4Game
- Citizen
- Posts: 73
- Joined: Tue Jun 10, 2014 7:41 pm
Re: Material - Love (Material Design for LÖVE)
You confused me why I can't change the depth of the shadow..., there is not a center argument to the nine.draw function !
- LIKO-12: An open source fantasy computer made using LÖVE: https://LIKO-12.github.io/
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Material - Love (Material Design for LÖVE)
You should remove the center argument from your draw calls, there's an issue with the docs.RamiLego4Game wrote:You confused me why I can't change the depth of the shadow..., there is not a center argument to the nine.draw function !
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Material - Love (Material Design for LÖVE)
Fixed the docs. I should probably work on 2.0.0Ranguna259 wrote: You should remove the center argument from your draw calls, there's an issue with the docs.
Since the last additions to the spec are pretty awesome
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
- RamiLego4Game
- Citizen
- Posts: 73
- Joined: Tue Jun 10, 2014 7:41 pm
Re: Material - Love (Material Design for LÖVE)
Well, I should push a pull request with LÖVE 0.10.1 patches..., But I want someone who's good with shaders to update the image shader to gl es inorder to be cross platform.
- LIKO-12: An open source fantasy computer made using LÖVE: https://LIKO-12.github.io/
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Material - Love (Material Design for LÖVE)
Well you can always put issues on the tracker and I will try to fix them, as I did with the latest issue that was supporting the new Stencil functions in the Ripples library.
I thought that the shader was pretty cross platform, what's the issue you are having?
When I first wrote it (re-wrote because it was written by Mrmaxmeier and I just made it clearer) I tried to make it so that it would work on GLES devices, do you know what isn't working? Could you please provide me a log or something?
I thought that the shader was pretty cross platform, what's the issue you are having?
When I first wrote it (re-wrote because it was written by Mrmaxmeier and I just made it clearer) I tried to make it so that it would work on GLES devices, do you know what isn't working? Could you please provide me a log or something?
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Material - Love (Material Design for LÖVE)
Hey folks!
I made a BIG update to this project 2 weeks ago, since there was some interest around this, Material Love should now work in 0.10.1 without issues, plus the sRGB bugs that were around have been fixed so you now get the same awesome shadows regardless of Gamma Correction.
I also updated the icons (1722 icons!!) and Roboto fonts.
I also updated the demo and the release to be on the latest commit so it is easier to grab.
In the future as I said I want to remake this library, some aspects I have worked on are transitions in shadows, changing the easing in ripple effects, fixing some issues with the drawicons library, making libraries more independent, and implementing higher level objects like Cards, Buttons, FABs and whatnot.
This new library will be called Material-World, but will take some time since I'm not developing on it as I should. But if you have suggestion about what you wanna see please tell me!
I made a BIG update to this project 2 weeks ago, since there was some interest around this, Material Love should now work in 0.10.1 without issues, plus the sRGB bugs that were around have been fixed so you now get the same awesome shadows regardless of Gamma Correction.
I also updated the icons (1722 icons!!) and Roboto fonts.
I also updated the demo and the release to be on the latest commit so it is easier to grab.
In the future as I said I want to remake this library, some aspects I have worked on are transitions in shadows, changing the easing in ripple effects, fixing some issues with the drawicons library, making libraries more independent, and implementing higher level objects like Cards, Buttons, FABs and whatnot.
This new library will be called Material-World, but will take some time since I'm not developing on it as I should. But if you have suggestion about what you wanna see please tell me!
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: Bing [Bot] and 2 guests