MCPcopy Index your code
hub / github.com/geekcomputers/Python / draw_text

Function draw_text

Street_Fighter/src/main.py:99–101  ·  view source on GitHub ↗
(text, font, color, x, y)

Source from the content-addressed store, hash-verified

97
98
99def draw_text(text, font, color, x, y):
100 img = font.render(text, True, color)
101 screen.blit(img, (x, y))
102
103
104def blur_bg(image):

Callers 4

main_menuFunction · 0.85
scores_screenFunction · 0.85
countdownFunction · 0.85
game_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected