Page 1 of 1

UaLove - A library that changes the way you LÖVE

Posted: Tue Jun 15, 2010 1:53 pm
by thelinx
UaLove is an initiative taken by me to make LÖVE more fit to my needs.

It changes the global callback solution to a hook-oriented way to develop games.

Example:

Code: Select all

hook.add("draw", function()
    love,graphics.print("Hello World!", 400, 300)
end, "helloworld-draw")
The code is public domain so you can use it however you like.

Current features:
- Hooks
- Basic game states
- pixelMap

Future features:
- More drawable primitives
- UI library

You can download, fork and make bug reports over at the Github page.

If you want an example of a full game, check out LoveSpin.

Re: UaLove - A library that changes the way you LÖVE

Posted: Tue Jun 15, 2010 4:44 pm
by Luiji
Interesting concepts!

Re: UaLove - A library that changes the way you LÖVE

Posted: Tue Jun 15, 2010 7:09 pm
by Lap
This was similar to other lua systems I've used for the last two years. I miss hooking. Too bad I'm too far into my current project to switch.

Re: UaLove - A library that changes the way you LÖVE

Posted: Fri Jun 25, 2010 9:23 am
by thelinx
Pixelmaps!

Here's a totally awesome demo:
pixelMap.love
(933 Bytes) Downloaded 204 times
Press mouse button to randomize colour. Hold any key to flip the z.

Re: UaLove - A library that changes the way you LÖVE

Posted: Sat Jun 26, 2010 12:36 am
by Luiji
Cool.

Re: UaLove - A library that changes the way you LÖVE

Posted: Mon Jun 28, 2010 1:35 am
by Someguynamedpie
IM BACK PEOPLE!
I wanted to make this months ago, because I was so used to GMod code. <3 for making it work in LOVE! I L<insert that o thing here>VE YOU!