KungFuMasterRat / SURF-2012

2 stars 1 forks source link

crosshairs #7

Open ralphbean opened 12 years ago

ralphbean commented 12 years ago

You could do crosshairs with something like

    line_color = (124, 124, 124)
    line_length = 100
    pygame.draw.line(
        screen,
        line_color,
        (width/2, height/2 - line_length/2),
        (width/2, height/2 + line_length/2),
        3
    )
    pygame.draw.line(
        screen,
        line_color,
        (width/2 - line_length/2, height/2),
        (width/2 + line_length/2, height/2),
        3
    )
ralphbean commented 12 years ago

Put that inside the redraw() function.