Search found 39 matches

by S-Rave
Thu Mar 12, 2009 9:24 am
Forum: Support and Development
Topic: Detecting weather the mouse is in a `quad`
Replies: 7
Views: 3286

Re: Detecting weather the mouse is in a `quad`

Maybe http://www.gamedev.net/reference/progra ... /page2.asp ?
I know a quad isn't a rectangle but maybe it'll point you in the right direction? :)
by S-Rave
Thu Mar 12, 2009 9:01 am
Forum: General
Topic: Shaded cube
Replies: 5
Views: 5174

Re: Shaded cube

Yes, I'm aware of that, but it should be fixed in the "correctquad" version. Should does not mean that it is fixed. :ultrashocked:: I think it's more correct now than before anyway :megagrin:
by S-Rave
Wed Mar 11, 2009 11:49 pm
Forum: General
Topic: How Did You Find (true) LÖVE?
Replies: 55
Views: 57134

Re: How Did You Find (true) LÖVE?

Google. I was actually searching for something else, but I don't remember what. :joker:
by S-Rave
Wed Mar 11, 2009 11:10 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1009102

Re: Avatars: OBEY!

What's this "obey" stuff?
by S-Rave
Wed Mar 11, 2009 11:04 pm
Forum: General
Topic: Shaded cube
Replies: 5
Views: 5174

Shaded cube

So I was making this rotated cube in wireframe. Then I filled it. Then I culled the back faces. Now I added shading. Though I think I've done something wrong with the shading algoritm. Well it's more like I KNOW I've made something wrong with it. And maybe I should have used quads instead of triangl...
by S-Rave
Tue Mar 10, 2009 6:49 pm
Forum: Support and Development
Topic: table in table
Replies: 4
Views: 1816

Re: table in table

Haha, made a filled cube. Gonna try textures once I get my head around backface culling :]
by S-Rave
Tue Mar 10, 2009 9:28 am
Forum: Support and Development
Topic: bit operations (using external libs)
Replies: 1
Views: 1540

bit operations (using external libs)

How would I go about using an external library with LÖVE? Since LUA is integrated in the LÖVE executable.

Would like to use this lib:
http://bitop.luajit.org/index.html

But maybe there are bitwise operators in LÖVE?
by S-Rave
Mon Mar 09, 2009 11:18 pm
Forum: Support and Development
Topic: table in table
Replies: 4
Views: 1816

Re: table in table

points[1].x assuming your tables are structures like osgeld@osgeld:~$ lua Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio > points = {{x = 0, y = 0}} > print(points[1].x) 0 -- output of print statement > Thanks, it made me check the index, which I then realized I forgot to set the first one (poi...
by S-Rave
Mon Mar 09, 2009 10:37 pm
Forum: Support and Development
Topic: table in table
Replies: 4
Views: 1816

table in table

Heya! I was wondering... if I add a "point" with "point.x" and "point.y" to another table at places like points[1] and points[2]... how would I access the x and y? This is obviously something really simple but I feel like I've tried everything. (Well obviously not since...