Solved

making space invaders game using microcontroller and lcd display

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Buffer Bomb Phase Bang 9 2,463
Converting Native Code to VB or C# 9 1,467
convert decimal to floating point numbers in 32 bit IEEE 754 5 744
Binary Bomb: Phase 4 func4 3 385
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
How many times a day do you open, acknowledge, or close an IT incident? What’s your process? Do you have a process depending on the incident, systems involved, and other factors? New Relic Alerts gives you options for how you interact with notifica…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

732 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