+ 6

[CANVAS] collisions

How to check collision between spikes and the player ? When this one is aligned with a spike, their Y coordinates are not same. For example, when Yplayer = 275, Yspike = 3 ... https://code.sololearn.com/WvrSeQFe7Tim/?ref=app

17th Feb 2018, 7:34 PM
NoxFly
NoxFly - avatar
2 Respostas
+ 4
thanks
1st Mar 2018, 4:46 PM
NoxFly
NoxFly - avatar
+ 1
check this link. this man makes a flappy bird game using js maybe it would help https://youtu.be/cXgA1d_E-jY
18th Feb 2018, 11:48 AM
Dominique Abou Samah
Dominique Abou Samah - avatar