Results 1 to 2 of 2
  1. #1
    TP-Oreilly is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default ImageView Collision

    Hi,

    In my little game I have two ImageView objects moving around on the screen, how can I test to see if they have touched?

    I have looked around but I cant find how to do it, I dont even know if its possible with ImageView's.

    Thanks.

  2. #2
    TP-Oreilly is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: ImageView Collision

    No need to reply, I've done it by using the Rect class by putting a bounding box around the images.

Similar Threads

  1. Collision
    By PhQ in forum New To Java
    Replies: 5
    Last Post: 12-12-2011, 02:20 AM
  2. ImageView , Image problems
    By yweeeen in forum JavaFX
    Replies: 0
    Last Post: 10-20-2011, 05:47 AM
  3. 2D - Collision messed up
    By überfuzz in forum New To Java
    Replies: 0
    Last Post: 06-22-2011, 09:20 PM
  4. Collision in GUI 2d Game help
    By heysayjump in forum New To Java
    Replies: 7
    Last Post: 03-14-2011, 02:01 AM
  5. Collision
    By shadycharacter in forum New To Java
    Replies: 0
    Last Post: 04-13-2010, 09:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •