Search found 8 matches
- Tue Aug 05, 2014 8:08 am
- Forum: Support and Development
- Topic: Fixture destroy check
- Replies: 1
- Views: 3034
Fixture destroy check
Hi everyone, I have a little problem.. I'm stuck in the error "Attempt to use a destroyed fixture" and I can't find a solution.. How do I check if a fixture is destroyed or not? I tried with "a==nil" (a is the fixture) but is not nil,is just destroyed.. Also every method I try to...
- Thu Jul 24, 2014 12:42 pm
- Forum: Support and Development
- Topic: Complex Collision Detection Doubt
- Replies: 3
- Views: 2360
Re: Complex Collision Detection Doubt
Thank you very much, I already tried setUserData a while ago but for some reason it didn't worked..now everything is fine..
Also can I ask you if you know how to do the "not equal" expression?
Also can I ask you if you know how to do the "not equal" expression?
- Thu Jul 24, 2014 9:46 am
- Forum: Support and Development
- Topic: Complex Collision Detection Doubt
- Replies: 3
- Views: 2360
Complex Collision Detection Doubt
Hi everyone, I'm developing a game for quite long now and It's start to get very messy.. Especially with the "beginContact" function.. I want to know if there is any better method to do this : I have many enemy running around in my level, all the enemy are in "enemyArray[]", and ...
- Wed Jul 02, 2014 9:26 am
- Forum: Support and Development
- Topic: love.keyreleased not working
- Replies: 2
- Views: 2224
Re: love.keyreleased not working
Nevermind.. I found out that I'm importing a custom love.run which messed up with the callbacks function.. I disabled it and now it works fine
Thank you anyway
Thank you anyway
- Wed Jul 02, 2014 8:40 am
- Forum: Support and Development
- Topic: love.keyreleased not working
- Replies: 2
- Views: 2224
love.keyreleased not working
Hi everyone, I'm having some trouble with the "love.keyreleased" function and I don't have clue to what the problem is. I litterally copy and pasted the example from the wiki in to my game but nothing happen. I put this : function love.keyreleased(key) if key == "escape" then lov...
- Tue Jul 01, 2014 7:10 pm
- Forum: Support and Development
- Topic: How to set image width and height?
- Replies: 6
- Views: 4967
Re: How to set image width and height?
I think that this method is pretty bad when I want to make an image with an exact width and height so.. There is any other method to change the width and height of an image? There is not. But what's "bad" about the scaling parameters, they don't have to be integers! It's 'bad' because it ...
- Tue Jul 01, 2014 6:31 pm
- Forum: Support and Development
- Topic: How to set image width and height?
- Replies: 6
- Views: 4967
Re: How to set image width and height?
I know, with scaling I can be quite precise, but I have to try and try and try again to find if that is the "correct scale" to match a measure..bartbes wrote:There is not. But what's "bad" about the scaling parameters, they don't have to be integers!
- Tue Jul 01, 2014 6:10 pm
- Forum: Support and Development
- Topic: How to set image width and height?
- Replies: 6
- Views: 4967
How to set image width and height?
Hi, I'm kinda new in Löve2D but I did quite a lot of coding in lua with other platforms.. I search in all the wiki but I did only found that the one and only method to modify an image's dimension is with the xScale and yScale when I draw it with "love.graphics.draw( image, x, y , rotation, xSca...