TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Kay
NA
12
7k
Object Type at Coordinate on Canvas
Jul 12 2011 6:07 AM
How can I determine what type of element is at a given coordinate on a canvas?
I am making tetris and have polygons dropping down the canvas. I wish to check position (50,50) for example, and see if that point contains a polygon or not.
Basically I want to do collision detection, and can't find an easy way to do it since my polygons are not all rectangular.
Reply
Answers (
7
)
Polygon Rotation Problem
How to create ListView