Ball Direction in "Pong" | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Ball Direction in "Pong"

how do i need to calculate ball direction when he hit the board frame. my board is 2 dimension array.

31st Aug 2017, 10:36 AM
Cain Eviatar
Cain Eviatar - avatar
1 Respuesta
+ 8
divide the paddle up into a bunch of smaller collision boxes
31st Aug 2017, 10:49 AM
jay
jay - avatar