Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Breakout
#5
@grymmjack look for ball vx and vy changes, v for velocity.

_vx uses a PADDLE_GRADIENT multiplier

line 100: ball_vx = (ball_x - paddle_x) * PADDLE_GRADIENT
b = b + ...
Reply


Messages In This Thread
Breakout - by luke - 06-13-2024, 12:28 PM
RE: Breakout - by TerryRitchie - 06-13-2024, 05:09 PM
RE: Breakout - by grymmjack - 07-21-2024, 06:40 PM
RE: Breakout - by grymmjack - 07-21-2024, 06:46 PM
RE: Breakout - by bplus - 07-21-2024, 07:26 PM
RE: Breakout - by grymmjack - 07-23-2024, 12:19 PM
RE: Breakout - by bplus - 07-21-2024, 07:37 PM
RE: Breakout - by Dav - 08-25-2024, 12:24 AM
RE: Breakout - by Pete - 08-25-2024, 02:27 PM



Users browsing this thread: 2 Guest(s)