Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve atoms collection #8

Open
beghelli opened this issue Mar 15, 2023 · 0 comments
Open

Improve atoms collection #8

beghelli opened this issue Mar 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@beghelli
Copy link
Owner

Player should have the ability to collect atoms. This behavior is implemented now by just allowing the player to touch the atom and collect it.

We need to make this process a little bit harder so it is more challenging and involves a little bit more skill from the player.

The collection should only happen if the player is:

  • facing the atom; if the atom touches the back or the sides of the player, it won't be collected;
  • holding the SPACE key; it forces the player to be more active related to the collection process;
  • have enough space in the recipient that should hold that atom;

To avoid spamming the SPACE key, holding it should consume energy, so players will only be holding it when they really need to.

If the player touches an atom without completing all necessary actions listed above, the collection should not happen. For now, let's not change anything related with both entities. The player and atom collision behavior should be implemented in another issue.

@beghelli beghelli added the enhancement New feature or request label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant