-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Material-Love is a set of libraries to use some of the features described in the Google Material-Design spec, in your LÖVE projects.
Material-Love takes the overhead of generating some of the fancy effects described in those docs, like shadows, paper and ripples. It also facilitates the access to some other stuff like the Roboto Fonts, the color palettes, and even provides an icon font with 670 icons you can use in your project!
It is NOT a UI library nor is it intended to be, if you want you can use it with any other GUI library like Thranduil, DOMinatrix, Quickie or, with some serious effort, Love Frames.
Note: that none of them are really supported by this library. And as such it is not guaranteed to work.
If you want to use this libs be sure that you have some knowledge on LÖVE and Lua.
You need to have LÖVE installed and a basic project set up with the material-love
folder in it and the main.lua
file with this basic code:
love.load = function ()
end
love.update = function (dt)
end
love.draw = function ()
end
NOTE: You can rename the folder to whatever you like, but be consistent through all your project
|
NOTE: This is the base requirement. If you have an already working game, made with LOVE, then you can also use that. If you use some library, that gives you some other functions, you can adapt material-love to work with it.
You can begin almost everywhere, each page tells you if you need to know something else before you continue, so start wherever you like.
Check the features you may want to use in your project. Sometimes you don't need all of them, so you may prefer not to include all the libraries in this repository.
You can go to any page using the links of the tables of content at the right, which lists all the pages in this wiki.
This set of libraries is Licensed under MIT License
Copyright(c) 2015 Pablo Ariel Mayobre (Positive07)
I must give credit to Robin (gvx) for the roundrect.lua
library which I used as a base for my own roundrect.lua