User Tools

Site Tools


notes:discrete:fall2023:projects:ttb1

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
notes:discrete:fall2023:projects:ttb1 [2023/09/21 01:34] – [LARGER PADDLE] cfoster8notes:discrete:fall2023:projects:ttb1 [2023/09/21 01:40] (current) – [LARGER PADDLE] cfoster8
Line 67: Line 67:
  
 To make a larger paddle, all you'd have to so is extend your paddle collision to double the length of your paddle and draw a second paddle where the first one ends, or alternatively use a different paddle sprite To make a larger paddle, all you'd have to so is extend your paddle collision to double the length of your paddle and draw a second paddle where the first one ends, or alternatively use a different paddle sprite
 +
 +You can use the same select region to draw both paddles, like so
 +    select_region( Paddle );
 +    draw_region_at( PaddleX, PaddleY)
 +    draw_region_at( PaddleX + [paddle length], PaddleY)
 +Where [paddle length] is the length of the paddle
 ====PADDLE MAGNET==== ====PADDLE MAGNET====
  
notes/discrete/fall2023/projects/ttb1.1695260076.txt.gz · Last modified: 2023/09/21 01:34 by cfoster8