Changed README.md to link to raw module, reworded

This commit is contained in:
rxi 2014-03-01 15:34:40 +00:00
parent 547446074f
commit ba6bb964b0

View File

@ -1,11 +1,11 @@
# lume # lume
A collection of handy functions for Lua, geared towards game development. A collection of functions for Lua, geared towards game development.
## Installation ## Installation
The [lume.lua](lume.lua) file should be dropped into an existing project and The [lume.lua](lume.lua?raw=1) file should be dropped into an existing project and
required by it: required by it:
```lua ```lua
@ -214,8 +214,8 @@ lume.hotswap("lume") -- Reloads the lume module
### lume.rgba(color) ### lume.rgba(color)
Takes the 32bit integer `color` argument and returns 4 numbers, one for each Takes the 32bit integer `color` argument and returns 4 numbers, one for each
channel, with a range of 0 - 255. Handy for using as the argument to channel, with a range of 0 - 255. The returned values can be used as the
[LÖVE](http://love2d.org)'s setColor() function. arguments to [LÖVE](http://love2d.org)'s setColor() function.
```lua ```lua
lume.rgba(0xFF304050) -- Returns 48, 64, 80, 255 lume.rgba(0xFF304050) -- Returns 48, 64, 80, 255
``` ```