File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Collision between sprite and background(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Collision between sprite and background(urgent)" Watch "Collision between sprite and background(urgent)" New topic
Author

Collision between sprite and background(urgent)

Andrew Red
Greenhorn

Joined: Sep 24, 2003
Posts: 3
Hello everyone!
How can I make the main character of the game (which is sprite) collides with the background.
My background is in tiled layer, and it's the one moving when the main character is in the center.
Puneet Gupta
Greenhorn

Joined: Aug 20, 2003
Posts: 9
sorry need some info on sprites..is sprites midp1.0 technology???
could you please tell me how to use sprites.. in j2me. when i tried doing the same it said sprite class not found!!!
your help required.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Sprite is a MIDP v2 class. But you can implement your own sprite object on top of MIDP v1 as described in this book.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Originally posted by Andrew Red:
Hello everyone!
How can I make the main character of the game (which is sprite) collides with the background.
My background is in tiled layer, and it's the one moving when the main character is in the center.

it might be described in jason lams free midp2.0 book
http://www.jasonlam604.com


MobileBytes blog - Sharing Technology - My Programming Knols
 
 
subject: Collision between sprite and background(urgent)
 
Similar Threads
how to diaplay obstacles on dynamic background
transparency on images on canvas
Coke or Pepsi
Embossing a sprite on an image background
Images on top of each other