This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
Don't get me started about those stupid light bulbs.
 
subject: TiledLayers
 
Similar Threads
Using a spritesheet
TiledLayer API Question
creating image as a tiledlayer
Tiled Layer
Sprite TiledLayer collision in MIDP2