User Tools

Site Tools


notes:cprog:spring2025:projects:mtb1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:cprog:spring2025:projects:mtb1 [2025/02/18 00:31] – [Ball] tstricklnotes:cprog:spring2025:projects:mtb1 [2025/02/18 00:33] (current) – [Collision detection: ball and paddle] tstrickl
Line 32: Line 32:
  
 ====Collision detection: ball and paddle==== ====Collision detection: ball and paddle====
- +Create variable that represent the hitbox for the paddle. One could possibly make a yhitbox offset that represents the distance from the center of the paddle to it's extreme in one of the y direction. To represent the other direction just negate it. The same can be done for the x direction.
notes/cprog/spring2025/projects/mtb1.1739838688.txt.gz · Last modified: 2025/02/18 00:31 by tstrickl