IT Community - Software Programming, Web Development and Technical Support

collision detection in two sprite

This is a discussion on collision detection in two sprite within the Game Development forums, part of the Software Development category; hi, i need to dissappear two sprite images in layermanager when they collide each other.how can i achieve this......


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Game Development

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 08-28-2007, 03:33 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 310
amansundar is on a distinguished road
Default collision detection in two sprite

hi,
i need to dissappear two sprite images in layermanager when they collide each other.how can i achieve this...someone plz assist me....
__________________
cheers
Aman

Last edited by amansundar : 08-28-2007 at 10:04 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-31-2007, 05:12 AM
itbarota itbarota is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 542
itbarota is on a distinguished road
Default Re: collision detection in two sprite

you already have a collision detection function in J2ME.
You can do pixel level collission detection using this.
But you can also use manual distance algorithm if your
sprites are not so complex or that have a rectangular border.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fraud Detection prasannavigneshr Quality Engineering and Methodologies 40 06-08-2009 05:18 AM
JAVSCRIPT turned off detection code? laksh_khamesra Web Design Help 0 09-09-2008 05:47 AM
Mobile Camera Motion Detection? itbarota Mobile Software Development 0 07-23-2007 05:52 AM
Runt, a giant, and a late collision vadivelanvaidyanathan Server Management 0 07-15-2007 05:46 PM
Google Toolbar Detection killerkev06 Google 0 03-18-2007 06:33 PM


All times are GMT -7. The time now is 12:28 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
Stamford Dentist | Euro Millions Lottery | Tech Support Services

SEO by vBSEO 3.0.0