Solved

making space invaders game using microcontroller and lcd display

Posted on 2004-10-08
1
650 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where/When does Bit endianness matters? 7 532
Bomb lab phase_5 1 1,371
How to Building Five Part Assembly Name for Master Page Inherit 5 560
"for loop" code in assembly language 19 578
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
Ransomware continues to grow in reach and sophistication, putting data everywhere at risk. Learn how to avoid being caught in its sinister clutches with these 11 key tips.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 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