Search found 4 matches

by FrenchAssassinX
Mon Jul 01, 2019 8:40 am
Forum: Support and Development
Topic: Infinite Runner Collision problem
Replies: 7
Views: 4813

Re: Infinite Runner Collision problem

Actually my isFalling value evolve in a different lua files named Player.lua, in this function : if (player.isFalling) or (player.isSliding) or (player.doubleJumping) then player.isStanding = false else player.isStanding = true end I have tried your solution but the problem was the same even if I se...
by FrenchAssassinX
Sun Jun 30, 2019 5:19 pm
Forum: Support and Development
Topic: Infinite Runner Collision problem
Replies: 7
Views: 4813

Re: Infinite Runner Collision problem

Hello tahoma, thanks for your reply. Actually I'm not overwritting the isFalling in my FOR. In your example, you set to true the isFalling outside of the FOR and set to false inside it.
In my code that's the same. I don't understand how can it solve my problem.
by FrenchAssassinX
Sat Jun 29, 2019 9:21 am
Forum: Support and Development
Topic: Infinite Runner Collision problem
Replies: 7
Views: 4813

Re: Infinite Runner Collision problem

Hi man ! Thanks for your help, I don't exactly understand what I have to do despite of your explanations (I'm french, my english isn't perfect). How can I check all my Tile Collide Boxes in the same times ? I was thinking that my double FOR could doing the job ? I know the AND and OR in programmatio...
by FrenchAssassinX
Thu Jun 27, 2019 1:47 pm
Forum: Support and Development
Topic: Infinite Runner Collision problem
Replies: 7
Views: 4813

Infinite Runner Collision problem

Hi coders ! I'm currently working on an Infinite Runner 2D game. Actually I've great problem with Love2D CheckCollision function. Let me explain : My player has different states like isStanding, isFalling , each steps defines a different animations for the player and his velocity. In my Update funct...