Solved

making space invaders game using microcontroller and lcd display

Posted on 2004-10-08
1
653 Views
Last Modified: 2012-06-22
how do i shoot the bullets at Aliens as they come down the screen?
(a flow chart or pseudo code will suffice)
0
Comment
Question by:ANDYMORELL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
LRHGuy earned 500 total points
ID: 12263915
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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's recap what we learned from yesterday's Skyport Systems webinar.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question