Amegma / Galaxy-Attack

An inspiration of the original Atari Space Invaders game built in pygame :space_invader: :video_game:
MIT License
40 stars 20 forks source link

Implement Mouse Control #5

Closed Mayank0255 closed 3 years ago

Mayank0255 commented 3 years ago

Allow user to control the ship using the mouse for movement and on left clicking firing the bullets.

There are two approaches to this:

  1. To ask the user on the homepage that "Play using mouse" and "Play using keyboard", then on the basis of there answer do enable and disable the respective controls.

  2. Is to just allow both the controls.

I would prefer the first approach as that's more professional and smart.

debaraj-barua commented 3 years ago

Hi @Mayank0255, I'd love to give this a go. Could you assign it to me?

Mayank0255 commented 3 years ago

@debaraj-barua sure go ahead, and will be implementing the first approach?

debaraj-barua commented 3 years ago

I'll try to implement the second approach

Mayank0255 commented 3 years ago

@debaraj-barua cool

Mayank0255 commented 3 years ago

@debaraj-barua any updates on the progress?

debaraj-barua commented 3 years ago

Hey! Sorry I was swamped with some stuff over the weekend. I should be ready with a PR before this weekend. Does that sound good?

Mayank0255 commented 3 years ago

@debaraj-barua sure