Search found 8 matches

by naughty
Thu Feb 28, 2013 12:55 pm
Forum: Support and Development
Topic: Can't get shift+key symbols to work.
Replies: 2
Views: 625

Re: Can't get shift+key symbols to work.

I totally missed the unicode argument to love.keypressed(). Thanks for that!
by naughty
Thu Feb 28, 2013 11:51 am
Forum: Support and Development
Topic: Can't get shift+key symbols to work.
Replies: 2
Views: 625

Can't get shift+key symbols to work.

Looking in the wiki it seems that '!' is a valid key. But on my UK keyboard you write it with shift+1 but it comes through to love.keypressed() as 1. Also love.keyboard.isDown('!') won't trigger. I could make a table of shifted keys but it's not the same for all countries, e.g. quote and double quot...
by naughty
Fri Feb 01, 2013 11:20 am
Forum: Support and Development
Topic: Polygon with UVs
Replies: 4
Views: 512

Re: Polygon with UVs

Great news!

Is there an expected time for the next version or should I try and build it from the repository myself?
by naughty
Fri Feb 01, 2013 10:31 am
Forum: Support and Development
Topic: Polygon with UVs
Replies: 4
Views: 512

Polygon with UVs

Is it possible to render a polygon and set the UVs at each vertex?

I've looked through the documentation and couldn't find anything.
by naughty
Tue May 01, 2012 8:38 pm
Forum: Libraries and Tools
Topic: Metalines
Replies: 6
Views: 2138

Re: Metalines

It just looks nicer really, also having the per-pixel distance data allows for some nice effects like a lapping shoreline on a body of water.
by naughty
Tue May 01, 2012 4:58 pm
Forum: Libraries and Tools
Topic: Metalines
Replies: 6
Views: 2138

Re: Metalines

It's not a trade secret, once I've got the basics of the roguelike working I'll be posting it up here :^) Short answer : in the screenshots above the red is the floor, the white is the walls and the blue is the solid rock the dungeon is carved out of. The thin white lines are what your @ can walk al...
by naughty
Tue May 01, 2012 8:12 am
Forum: Libraries and Tools
Topic: Metalines
Replies: 6
Views: 2138

Re: Metalines

You're welcome. I was surprised by some of the results while testing with this. It works by rendering batches of lines additively to a background canvas (you can change the size of the batches with the left and right arrow keys) but it always seems to be faster with smaller batches even though that ...
by naughty
Wed Apr 25, 2012 8:51 am
Forum: Libraries and Tools
Topic: Metalines
Replies: 6
Views: 2138

Metalines

I've been experimenting with pixeleffect based metalines for a roguelike game I'm working on. The attached love file is a test bed for the metalines. The controls are printed in the top left. It was originally based on the metaballs demo (enormous thanks to the author of that) but there's quite a fe...