*
The moose likes Java in General and the fly likes TiledLayers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "TiledLayers" Watch "TiledLayers" New topic
Author

TiledLayers

Filip las
Greenhorn

Joined: Jun 24, 2008
Posts: 3
I programing a simple platform game in java and I have a problem with colision betwen TiledLayer and Sprite. I wont to know what cell in tiledlayer is "touched" by Sprite, but function "collisedWitch" alow me only to test if colision is. If it isn't posible to know anything about "touched" cell, must i create new tiled layer for evry new type of scenery?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: TiledLayers