Searched refs:ballrect (Results 1 – 10 of 10) sorted by relevance
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/5.HP_bar/ |
H A D | Advanced OUTPUT with Advanced PROCESS.rst | 37 ballrect = ballrect.move(speed) 38 if ballrect.left < 0 or ballrect.right > width: 40 if ballrect.top < 0 or ballrect.bottom > height: 69 ballrect = ballrect.move(speed) 70 if ballrect.left < 0 or ballrect.right > width: 72 if ballrect.top < 0 or ballrect.bottom > height: 101 ballrect = ballrect.move(speed) 102 if ballrect.left < 0 or ballrect.right > width: 135 ballrect = ballrect.move(speed) 167 ballrect = ballrect.move(speed) [all …]
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/6.Buttons/ |
H A D | Advanced INPUT with Advanced OUTPUT.rst | 37 ballrect = ballrect.move(speed) 38 if ballrect.left < 0 or ballrect.right > width: 40 if ballrect.top < 0 or ballrect.bottom > height: 69 ballrect = ballrect.move(speed) 70 if ballrect.left < 0 or ballrect.right > width: 72 if ballrect.top < 0 or ballrect.bottom > height: 103 ballrect = ballrect.move(speed) 104 if ballrect.left < 0 or ballrect.right > width: 135 ballrect = ballrect.move(speed) 136 if ballrect.left < 0 or ballrect.right > width: [all …]
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/1.Prolog/ |
H A D | introduction.rst | 31 ballrect = ball.get_rect() 37 ballrect = ballrect.move(speed) 38 if ballrect.left < 0 or ballrect.right > width: 40 if ballrect.top < 0 or ballrect.bottom > height: 66 ballrect = ball.get_rect() 72 ballrect = ballrect.move(speed) 73 if ballrect.left < 0 or ballrect.right > width: 75 if ballrect.top < 0 or ballrect.bottom > height: 109 ballrect = ballrect.move(speed) 110 if ballrect.left < 0 or ballrect.right > width: [all …]
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/7.Game_board/ |
H A D | Advanced OUTPUT and plus alpha.rst | 31 ballrect = ball.get_rect() 37 ballrect = ballrect.move(speed) 38 if ballrect.left < 0 or ballrect.right > width: 40 if ballrect.top < 0 or ballrect.bottom > height: 63 ballrect = ball.get_rect() 69 ballrect = ballrect.move(speed) 70 if ballrect.left < 0 or ballrect.right > width: 72 if ballrect.top < 0 or ballrect.bottom > height: 101 ballrect = ballrect.move(speed) 102 if ballrect.left < 0 or ballrect.right > width: [all …]
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/3.Move_text/ |
H A D | Basic PROCESS.rst | 35 ballrect = ball.get_rect() 41 ballrect = ballrect.move(speed) 42 if ballrect.left < 0 or ballrect.right > width: 44 if ballrect.top < 0 or ballrect.bottom > height: 48 screen.blit(ball, ballrect) 68 ballrect = ball.get_rect() 74 ballrect = ballrect.move(speed) 75 if ballrect.left < 0 or ballrect.right > width: 77 if ballrect.top < 0 or ballrect.bottom > height: 81 screen.blit(ball, ballrect)
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/4.Control_text/ |
H A D | Basic INPUT.rst | 35 ballrect = ball.get_rect() 41 ballrect = ballrect.move(speed) 42 if ballrect.left < 0 or ballrect.right > width: 44 if ballrect.top < 0 or ballrect.bottom > height: 48 screen.blit(ball, ballrect) 68 ballrect = ball.get_rect() 74 ballrect = ballrect.move(speed) 75 if ballrect.left < 0 or ballrect.right > width: 77 if ballrect.top < 0 or ballrect.bottom > height: 81 screen.blit(ball, ballrect)
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/en/Red_or_Black/2.Print_text/ |
H A D | Basic TEMPLATE and OUTPUT.rst | 35 ballrect = ball.get_rect() 41 ballrect = ballrect.move(speed) 42 if ballrect.left < 0 or ballrect.right > width: 44 if ballrect.top < 0 or ballrect.bottom > height: 48 screen.blit(ball, ballrect) 68 ballrect = ball.get_rect() 74 ballrect = ballrect.move(speed) 75 if ballrect.left < 0 or ballrect.right > width: 77 if ballrect.top < 0 or ballrect.bottom > height: 81 screen.blit(ball, ballrect)
|
/dports/games/tong/tong/ |
H A D | pong.cpp | 213 ballrect.x = 0; in LoadGraphics() 214 ballrect.y = TILESIZE * 3; in LoadGraphics() 215 ballrect.w = TILESIZE; in LoadGraphics() 216 ballrect.h = TILESIZE; in LoadGraphics() 455 if(SDL_BlitSurface(pongbits, &ballrect, surf, &destrect)) { in Draw() 457 SDL_BlitSurface(pongbits, &ballrect, surf, &destrect); in Draw()
|
H A D | pong.h | 61 SDL_Rect ballrect, destrect; variable
|
/dports/devel/py-game/pygame-2.1.0/docs/reST/tut/ |
H A D | PygameIntro.rst | 80 ballrect = ball.get_rect() 86 ballrect = ballrect.move(speed) 87 if ballrect.left < 0 or ballrect.right > width: 89 if ballrect.top < 0 or ballrect.bottom > height: 93 screen.blit(ball, ballrect) 118 image we create a variable named ballrect. Pygame comes with a 133 :clr:`Lines 17` moves the ballrect variable by the current speed.
|