making space invaders game using microcontroller and lcd display

how do i shoot the bullets at Aliens as they come down the screen?
(a flow chart or pseudo code will suffice)
ANDYMORELLAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
LRHGuyConnect With a Mentor Commented:
How are you making the Aliens come down the screen? Make the bullet work the same way, only in the opposite direction (up).

While moving bullets/aliens, you can check for a collision to determine a "hit".

What code do you have to far? Are you keeping a separate array of the screen? Even just tracking the current location of objects allows you to check for collisions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.