Search found 24 matches

by NowakFul
Tue Jul 14, 2015 9:35 pm
Forum: Support and Development
Topic: [Solved] Problem with AnAL - Animation speeded-up
Replies: 10
Views: 775

Re: Problem with AnAL - Animation speeded-up

bartbes wrote:You're doing it for almost every other variable already, you just have to store it in self (or mobObj), if you do the same with the animations, it should be fixed.
Oh yes, I didn"t understand it that way. Thanks you, it work! Solved :)
by NowakFul
Tue Jul 14, 2015 9:02 pm
Forum: Support and Development
Topic: [Solved] Problem with AnAL - Animation speeded-up
Replies: 10
Views: 775

Re: Problem with AnAL - Animation speeded-up

bartbes wrote: You probably want to store the animations on the enemies themselves, or make sure to update the animations only once.
I've tried things and I've searched on the forums but I doesn't find how I could do this. By which means can I make it? am a bit new to programming sorry. ^^
by NowakFul
Tue Jul 14, 2015 8:28 pm
Forum: Support and Development
Topic: [Solved] Problem with AnAL - Animation speeded-up
Replies: 10
Views: 775

Re: Problem with AnAL - Animation speeded-up

davisdude wrote:The .love would be excellent
There it is!
by NowakFul
Tue Jul 14, 2015 8:13 pm
Forum: Support and Development
Topic: [Solved] Problem with AnAL - Animation speeded-up
Replies: 10
Views: 775

Re: Problem with AnAL - Animation speeded-up

Yes, so what happens if walking_left_bomber and walking_right_bomber are the same? We can't diagnose this properly if you don't share the code. So.. LOAD mobObj.walkright_bomber = love.graphics.newImage('image/MOB/bomber_right.png') mobObj.walkright_bomber:setFilter( "nearest", "nearest" ) mobObj.w...
by NowakFul
Tue Jul 14, 2015 5:45 pm
Forum: Support and Development
Topic: [Solved] Problem with AnAL - Animation speeded-up
Replies: 10
Views: 775

Re: Problem with AnAL - Animation speeded-up

You're probably updating the same animation twice. Thanks for the answer, but the only update that I have in my code is here : if self.walking == "true" and self.direction == "left" then walking_left_bomber:update(dt) self.x = self.x - self.speed end if self.walking == "true" and self.direction == ...
by NowakFul
Tue Jul 14, 2015 3:19 pm
Forum: Support and Development
Topic: [Solved] Problem with AnAL - Animation speeded-up
Replies: 10
Views: 775

[Solved] Problem with AnAL - Animation speeded-up

Hello guys! I have a problem with AnAL lib, when I insert one enemy, the animation is normal for the enemy but when I insert more than one enemy the animation of walking is speeded-up. Video : https://www.youtube.com/watch?v=e_K8kyNhcJs Thank you in advance, if you need more information to help me ...
by NowakFul
Sat May 09, 2015 11:44 am
Forum: Support and Development
Topic: [Solved] Speed increasing - love.physics
Replies: 6
Views: 632

Re: Speed increasing - love.physics

Everything works! Thank you again,see you soon! :awesome:

Edit : Solved
by NowakFul
Sat May 09, 2015 10:30 am
Forum: Support and Development
Topic: [Solved] Speed increasing - love.physics
Replies: 6
Views: 632

Re: Speed increasing - love.physics

Damping would probably work well in this case. Thank you, that's what I used and it works perfectly! Thank you again to both of you! I just have one last problem, the box of the player rotate, I know this is physics but there is a way to stop the rotation? http://i.gyazo.com/4de7ecfe893693699262b06...
by NowakFul
Sat May 09, 2015 8:59 am
Forum: Support and Development
Topic: [Solved] Speed increasing - love.physics
Replies: 6
Views: 632

Re: Speed increasing - love.physics

That is physics lol. You have to play with density and your force to get a nice feel. Also damping. But depending on your game love.physics can be too much. It would be better to use a solution you write up yourself for learning and all that jazz. And p.s force isn't speed. Force is the equivalent ...
by NowakFul
Fri May 08, 2015 12:58 pm
Forum: Support and Development
Topic: [Solved] Speed increasing - love.physics
Replies: 6
Views: 632

[Solved] Speed increasing - love.physics

Hello, My problem is that I use love.physics with body etc.. for my character. But when I press the key to move the character... self.collision.body:applyForce(-400, 0) When I hold the key, I would like to have the same speed but the player speed continues to increases more and more.. if love.keyboa...