dinosaur-exploder icon indicating copy to clipboard operation
dinosaur-exploder copied to clipboard

[Feature]: Added mechanic that punishes players for shooting too much

Open spenceropitziastate opened this issue 8 months ago โ€ข 1 comments

โœ… PR Checklist

[!TIP] Please check the boxes below to confirm you followed the contribution guidelines:

  • [ x] My PR title follows the format: [Type]: clear description of change
  • [ x] I used the correct type: Feature, Fix, Refactor, Docs, Test, Chore
  • [ x] I reviewed my code and removed unnecessary debug logs or comments.
  • [ x] I tested my changes and verified they work as expected.
  • [ x] I ran the project to confirm it compiles and runs correctly.
  • [ x] I read the Code of Conduct and the Contribution Guidelines.

๐Ÿ“ What does this PR do?

  • This PR aims to add a mechanic that punishes the player for attacking too often. The player can previously use their attack, which attacks as fast as they can press the spacebar, and move side to side to trivialize the game. This PR adds two new features: a cooldown to the player's attack (333ms) and a new enemy. The new enemy is an asteroid, and the player is disincentivized to attack it. If shot, it will explode into five projectiles that fan out toward the player, which cannot be destroyed. These changes should make the game more engaging to play.

๐Ÿ”— Related Issue

Link to the issue this PR addresses (if any)

  • [ x] This PR fixes/closes: #133
  • [ ] This PR doesnโ€™t address a specific issue.

๐Ÿ“ธ Screenshots / Demos (if applicable)

https://github.com/user-attachments/assets/74a4b440-ea90-4cc4-ab37-9a23fd79f098

๐Ÿ’ฌ Extra Notes (Optional)

[!NOTE] ๐Ÿฆ• No extra notes.


โค๏ธ Thanks again for your contribution to Dinosaur Exploder!
Your efforts help make this project awesome for everyone. ๐Ÿฆ–โœจ

spenceropitziastate avatar Apr 25 '25 04:04 spenceropitziastate

Build preview ๐Ÿš€

badge

Thanks for your contribution to this open-source project! โค๏ธ

A new build has been generated for this pull request:

  • ๐ŸŽฎ Game Artifacts: ๐Ÿง Linux / ๐ŸŽ macOS / ๐ŸชŸ Windows
  • ๐Ÿงช Workflow Run: View Logs
  • ๐Ÿ”– Commit: 8aa583c2be54c27182c2f1e09acebe757416f196

[!TIP] This JAR lets you test the latest version of the game from this PR.

โณ Note: Artifacts auto-expire after ~90 days.

Happy testing & enjoy the game! ๐ŸŽฎ

The DinoBot Team ๐Ÿฆ–

github-actions[bot] avatar Apr 25 '25 10:04 github-actions[bot]

Close for inactivity. Please re-make a PR with the changes I asked you, thanks so much.

jvondermarck avatar May 15 '25 16:05 jvondermarck