Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
0
Members

Epileptic Bug x(

A topic by gagota336 created Jul 16, 2017 Views: 218
Viewing posts 1 to 1

Hello !

I'm creating a video game based on fighting. So I am programing now the two players. When I enhance one of those behaviors, I copy/paste the good one on wrong one. But since I tried to reorgeniz the Player2 code with multiple behaviors (and an asset dedicated to variables), the two players are epileptic ! I displayed in the consol the checks of collisions with the ground, and it appears that the check's true one in two time (true, false, true, false...), so it alternate between "Idle" animation and "Falling" animation. I don't think the problem directly come from players beheviors because the check is same for them at same time (true-true, false-false, true-true...). I don't know what to poste on the topic but I hope you can help me ^^

I'm french so I hope my english is not too bad, but I think it still comprehensible. Thanks for your answers ;)