Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Targetting Mechanism for Shoot em up

This topic is 6704 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Targeting mechanism. I want to implement a target feature for a shoot em up in DelphiX, but I want it to be logical and smooth. So how should I do it. What I''ve currently done so far: For the moment I just count each sprite and target the first sprite of the proper type. If I''m targeting for the next target, I store the current number of the sprite, and then go through with the same counting and targeting the first proper sprite after the old one. But as my sprites for the moment appear randomly on screen (ranomd y coord) the targeting mechanism seems a bit odd. Is there a better way of doing this? thanks guys PS: sorry for the previous doble post.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!