Skip to content

Player Pos bug #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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