This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:discrete:fall2023:projects:ttb1 [2023/09/20 21:48] – [BRICK HIT POINTS] walley | notes:discrete:fall2023:projects:ttb1 [2023/09/21 01:40] (current) – [LARGER PADDLE] cfoster8 | ||
---|---|---|---|
Line 66: | Line 66: | ||
====LARGER PADDLE==== | ====LARGER PADDLE==== | ||
+ | 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==== | ||