Skip to content

Player Pos bug #2

@Paramamithra

Description

@Paramamithra

There is a small bug where player can hide outside screen during game
please change the code in line 95

if event.key == pygame.K_LEFT and x>=player_size:
x -= player_size
elif event.key == pygame.K_RIGHT and x<=WIDTH-2*player_size:
x += player_size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions