Search found 28 matches

by Yell0w
Wed Jan 16, 2013 1:58 pm
Forum: Support and Development
Topic: Looking for translators
Replies: 29
Views: 14206

Re: Looking for translators

Nynorsk / Norwegian "Velkommen til " "Din versjon er " "Du angrip " "Du kan ikkje angripa eigne styrkar" "Du kan ikkje bevega deg så longt" "Du flyttar på magikaren din " "Vel ei rute for å flytta magikaren din" "Vel ei rute ...
by Yell0w
Tue Jan 15, 2013 11:04 pm
Forum: Support and Development
Topic: trying to make a click and drag curling rock demo
Replies: 31
Views: 21973

Re: trying to make a click and drag curling rock demo

maybe you could do a check on the stones velocity before allowing to drag it (a second time)
https://love2d.org/wiki/Body:getLinearVelocity might be of help
by Yell0w
Tue Jan 15, 2013 11:00 pm
Forum: Support and Development
Topic: Deleting efficiently from a linked list
Replies: 2
Views: 1049

Re: Deleting efficiently from a linked list

Danke Boolsheet for simplifying it for me and cleaning up my code. Its easier to read now and hopefully performs better ;)
by Yell0w
Tue Jan 15, 2013 3:22 pm
Forum: Support and Development
Topic: trying to make a click and drag curling rock demo
Replies: 31
Views: 21973

Re: trying to make a click and drag curling rock demo

Another crude way of doing it is to deaccelerate it over time by applying a force in the opposite direction untill it reaches zero or something.
by Yell0w
Mon Jan 14, 2013 9:24 pm
Forum: Support and Development
Topic: Collision Detection
Replies: 6
Views: 3580

Re: Collision Detection

This is how i check if bodies are colliding, messy code as usual but it works (for me) function beginContact(a, b, coll) x,y = coll:getNormal() if a:getUserData() then if b:getUserData() then if a:getUserData() == "Cannonball" then if string.find(b:getUserData(), "Enemy_") == 1 t...
by Yell0w
Mon Jan 14, 2013 8:32 pm
Forum: Support and Development
Topic: trying to make a click and drag curling rock demo
Replies: 31
Views: 21973

Re: trying to make a click and drag curling rock demo

In the wiki there is a comment that the property you are trying to use is not possible in love 0.8.0 (https://love2d.org/wiki/Shape:testPoint) maybe you can solve it differently? for example when you click the stone you can select an angle with the mouse, and the power applied is increased the furth...
by Yell0w
Mon Jan 14, 2013 8:23 pm
Forum: Support and Development
Topic: Deleting efficiently from a linked list
Replies: 2
Views: 1049

Deleting efficiently from a linked list

Hi lövers, i experimented with linked lists today and its quite a strange concept, but i think im getting the hang of it. One thing that i have a problem with is iterating over the correct data and deleting the ones that should be deleted (in the PerformCleanup function) Id be very happy for some in...
by Yell0w
Sat Jan 12, 2013 8:38 am
Forum: Support and Development
Topic: Drawing a 90degree bend
Replies: 8
Views: 2869

Re: Drawing a 90degree bend

Thats very elegant micha!. Maybe your function could be added as a parameter to the arc function in future releases?
Math is used alot in love and i wish i paid better attention at school :)
by Yell0w
Fri Jan 11, 2013 1:43 pm
Forum: Support and Development
Topic: Drawing a 90degree bend
Replies: 8
Views: 2869

Drawing a 90degree bend

How can i draw a 90 degree bend? i have tried with arcs, but i only want the outer arc and not the lines leading to the center. In the example i have covered over the part i dont want to show with a filled circle. Are there any simpler way to do this that i am missing? love.graphics.setLine(4, "...
by Yell0w
Thu Jan 10, 2013 11:50 am
Forum: Support and Development
Topic: Line Thickness - love.graphics.rectangle
Replies: 2
Views: 3112

Re: Line Thickness - love.graphics.rectangle

Thanks kikito, i feel like the worlds dumbest lover right now :oops: