Skip to content

Conversation

@lucas-james
Copy link
Contributor

@lucas-james lucas-james commented Sep 19, 2018

Related to the following issue: 9afb94d

Based on the work in the following branch:
#123
the reinit_screen function actually no longer needs a return value (only the last commit here adds anything) 👍

if key == keys.SPACE and not game.player.frozen and not is_paused():
sounds.fire.play()
game.bullets.append(game.player.fire())
if key == keys.RETURN:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return is an odd choice for a pause key. Perhaps P instead of return?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants