home *** CD-ROM | disk | FTP | other *** search
- on pongPaddleChange piPaddleSize
- global giPaddleHalfWidth, giPaddleQuarterWidth, giPongPaddleChannel
- set the width of sprite giPongPaddleChannel to (piPaddleSize * 11) + 16
- set the height of sprite giPongPaddleChannel to 10
- updateStage()
- set giPaddleHalfWidth to integer(0.5 * the width of sprite giPongPaddleChannel)
- set giPaddleQuarterWidth to integer(0.5 * giPaddleHalfWidth)
- debugMessage("pongPaddleChange complete w/ piPaddleSize = " & piPaddleSize)
- end
-