Search found 8 matches
- Mon Oct 04, 2010 7:12 pm
- Forum: General
- Topic: love.physics.newBody() error
- Replies: 7
- Views: 5264
Re: love.physics.newBody() error
That's probably it. blocks[1][1] would screw up if blocks[1] had no value?
- Mon Oct 04, 2010 1:27 am
- Forum: General
- Topic: love.physics.newBody() error
- Replies: 7
- Views: 5264
love.physics.newBody() error
What's wrong with this line? The compiler says "attempt to index field '?' (a nil value)".
blocks[a] = love.physics.newBody(world, 50 + (20 * a), 50 + (20 * b), 0, 0)
blocks[a] = love.physics.newBody(world, 50 + (20 * a), 50 + (20 * b), 0, 0)
- Mon Oct 04, 2010 1:16 am
- Forum: General
- Topic: math.floor()
- Replies: 21
- Views: 15400
Re: math.floor()
Thanks.
- Mon Oct 04, 2010 12:47 am
- Forum: General
- Topic: math.floor()
- Replies: 21
- Views: 15400
math.floor()
What does the math.floor() function do?
Re: Text
All it is is changing the value of a variable called text... does text actually represent something in the renderer?
Re: Text
So if I wanted to make a changing text on screen, what should I use?
Re: Text
I've been using Lua for about a year, but I just downloaded Love. Are you saying love.graphics.print() returns the text object?
Text
Is there a way to edit the text and position of a love.graphics.print() string? If not is there another type of onscreen text?