Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3406694
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:39:34+00:00 2026-05-18T05:39:34+00:00

I am developing a game where 2 persons are fighting. And both of these

  • 0

I am developing a game where 2 persons are fighting.
And both of these are images with layouts of man.
Now what i want is I want to detect the collision of those men.

Is there any way to do this out?
The image frame is 284X270 and the layout of the person is somewhere inside it and rest of all the image part is transparent.

So I want when the person on image1 touches the filled area of image 2 only then collision occurs.

Any help would be really appreciated. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:39:34+00:00Added an answer on May 18, 2026 at 5:39 am

    For this purpose you will follow 2d mathmatics. Just change x and y coordinates of images(persons) and check intersection point of these images.

    check the link , it contains a 2d game checking intersection of two images.

    When intersection will occur your logic will make whatever you want.

    http://icodeblog.com/2009/02/18/iphone-game-programming-tutorial-part-2-user-interaction-simple-ai-game-logic/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im developing a game for Android using AndEngine. As of now, I want to
I'm developing chess game for Android ( androidchess.appspot.com ). If I want to add
I am developing game editor in c++.I have implemented reflection mechanism using DiaSDK.Now I
I am developing game editor in C# that uses c++ lib files. I want
I have been developing a new online game for the past year now. The
I am developing a Game and I didn't want an array full of levels
So I am developing a game and I want it to have background sound
I am currently developing a game for the iphone in which many images will
i am developing a game.i want to display score on button click.but it should
I'm developing a game, that is running in a separate thread. Now I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.