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

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

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

Post 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.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

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

Post by Luiji »

Interesting concepts!
Good bye.
User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

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

Post 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.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

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

Post 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.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

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

Post by Luiji »

Cool.
Good bye.
User avatar
Someguynamedpie
Citizen
Posts: 71
Joined: Wed Mar 31, 2010 10:59 pm

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

Post 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!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests