team-thirtyfour / js13kgame

Glitch or die trying
https://team-thirtyfour.github.io/js13kgame/
1 stars 1 forks source link

fixed collision logic #31

Closed jeremy-flusin closed 8 years ago

jeremy-flusin commented 8 years ago

collision factor should be

negative to change direction < 1 so that we do not gain speed (except for trampoline)

and collision factor should be applyied on eA because every entity are eA in the loop

manland commented 8 years ago

J'ai tenté de -5 à +20 sans penser à 0.X :hankey: