Skip to content

Add powerups and their probabilistic spawning. #27

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

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Conversation

karnkaul
Copy link
Member

@karnkaul karnkaul commented Mar 21, 2024

Screencap:

recording-2024-03-22_19.51.11.mp4

@swagween Any ideas to improve the look and feel? 😛

This consolidates death events from multiple sources (`EnemySpawner`s) into a single sink (`World`), which can then decide whether to spawn a powerup there.
@karnkaul karnkaul marked this pull request as ready for review March 22, 2024 14:23
@karnkaul karnkaul requested a review from swagween March 22, 2024 14:23
@karnkaul karnkaul merged commit 325b770 into main Mar 26, 2024
@karnkaul karnkaul deleted the karnage/powerup branch March 26, 2024 05:47
@swagween
Copy link
Contributor

it looks so amazing!!!

@swagween
Copy link
Contributor

some small things that might improve the visuals after I thought about it for a bit:

  • make the bullets and laser beam a tiny bit bigger
  • transfer a bit of the player's velocity to the exhaust particles' vertical velocity
  • make the powerups rounded squares, and they can spin slowly!

@karnkaul karnkaul mentioned this pull request Mar 28, 2024
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