Search found 58 matches

by Dr.Tyler O.
Wed Sep 10, 2014 1:32 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411833

Re: "Questions that don't deserve their own thread" thread

I'm sure that almost everyone here is aware that when something like love.graphics.rectangle is executed it draws a rectangle that expands from the center point that it was created on. My question to you is, is there a way to make a rectangle only expand in a single direction on a given axis instead...
by Dr.Tyler O.
Mon Sep 08, 2014 9:17 am
Forum: Support and Development
Topic: [Solved]Stairs
Replies: 7
Views: 3203

Re: Stairs

Thanks for pointing me in the right direction. Also the 0.9.0 example browser doesn't contain an example of this.
by Dr.Tyler O.
Mon Sep 08, 2014 8:57 am
Forum: Support and Development
Topic: [Solved]Stairs
Replies: 7
Views: 3203

Re: Stairs

No, I'm just using Love's physics system.
by Dr.Tyler O.
Mon Sep 08, 2014 8:19 am
Forum: Support and Development
Topic: [Solved]Stairs
Replies: 7
Views: 3203

Re: Stairs

Not sure what you are asking here ... ? With all due respect, how is that difficult to understand? I want to know how to allow a body to travel over another body if the "stair" is at or below a certain height. Think of a flight of stairs in real life for instance, you couldn't step over a...
by Dr.Tyler O.
Mon Sep 08, 2014 12:10 am
Forum: Support and Development
Topic: [Solved]Stairs
Replies: 7
Views: 3203

[Solved]Stairs

Basically if a body (the player) collides with another body (the stair) that is of a certain height then allow the player to move over the stair . Edit: To my knowledge, Love won't allow a body to travel over another body regardless of how short the second body is . I could be wrong but from what I'...
by Dr.Tyler O.
Wed Aug 20, 2014 12:03 am
Forum: Support and Development
Topic: body:setAngle() so that it points toward the mouse.
Replies: 7
Views: 2774

Re: body:setAngle() so that it points toward the mouse.

Nevermind, I got it. Thanks for the help.
by Dr.Tyler O.
Tue Aug 19, 2014 11:31 pm
Forum: Support and Development
Topic: body:setAngle() so that it points toward the mouse.
Replies: 7
Views: 2774

Re: body:setAngle() so that it points toward the mouse.

Your code worked but the further the body moves, the less responsive and accurate the body follows the mouse.
by Dr.Tyler O.
Tue Aug 19, 2014 10:00 pm
Forum: Support and Development
Topic: body:setAngle() so that it points toward the mouse.
Replies: 7
Views: 2774

body:setAngle() so that it points toward the mouse.

I have a body attached to another body and I want the rotation of the body to always face the location of my mouse.
by Dr.Tyler O.
Mon Aug 18, 2014 11:25 pm
Forum: Support and Development
Topic: Let audio repeat over itself.
Replies: 5
Views: 2618

Re: Let audio repeat over itself.

Alright, I understand now. Thank you
by Dr.Tyler O.
Mon Aug 18, 2014 11:12 pm
Forum: Support and Development
Topic: Let audio repeat over itself.
Replies: 5
Views: 2618

Re: Let audio repeat over itself.

Wouldn't your first solution make a table full of clones of the sound? If so, that doesn't sound like a very good idea unless that's the only way to let the sounds to layer. Then again I suppose you could just have the table start deleting itself when it gets to a larger size but I hope that isn't t...