Search found 8 matches

by elkiwydev
Tue Aug 05, 2014 8:08 am
Forum: Support and Development
Topic: Fixture destroy check
Replies: 1
Views: 2840

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...
by elkiwydev
Thu Jul 24, 2014 12:42 pm
Forum: Support and Development
Topic: Complex Collision Detection Doubt
Replies: 3
Views: 2251

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?
by elkiwydev
Thu Jul 24, 2014 9:46 am
Forum: Support and Development
Topic: Complex Collision Detection Doubt
Replies: 3
Views: 2251

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 ...
by elkiwydev
Wed Jul 02, 2014 9:26 am
Forum: Support and Development
Topic: love.keyreleased not working
Replies: 2
Views: 2115

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 :D
by elkiwydev
Wed Jul 02, 2014 8:40 am
Forum: Support and Development
Topic: love.keyreleased not working
Replies: 2
Views: 2115

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...
by elkiwydev
Tue Jul 01, 2014 7:10 pm
Forum: Support and Development
Topic: How to set image width and height?
Replies: 6
Views: 4684

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 ...
by elkiwydev
Tue Jul 01, 2014 6:31 pm
Forum: Support and Development
Topic: How to set image width and height?
Replies: 6
Views: 4684

Re: How to set image width and height?

bartbes wrote:There is not. But what's "bad" about the scaling parameters, they don't have to be integers!
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..
by elkiwydev
Tue Jul 01, 2014 6:10 pm
Forum: Support and Development
Topic: How to set image width and height?
Replies: 6
Views: 4684

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...