• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 662
  • Last Modified:

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)
0
ANDYMORELL
Asked:
ANDYMORELL
1 Solution
 
LRHGuyCommented:
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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now