URGENT: Collision Detection In Tiled Map

HELP!!!!! I am creating atile map of size 32*32. And thecharacter image size is also 32*32. Now i am stuck in making collision with the walls. I have tried my own method but to no avail. Has anyone tried to doing collision detection? Need a simple logic method to detect the collision...

(Using keyevent to control the character moving around)

Pls I really appreciate your help!!!!!!!

Thanks.....

[445 byte] By [Hanz_05a] at [2007-11-27 3:41:42]
# 1
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
prometheuzza at 2007-7-12 8:45:14 > top of Java-index,Other Topics,Java Game Development...
# 2

I assume you have some way of knowing that you need to display a wall tile on the map, so before you move a particular direction check to see if the square you will move to is an acceptable move (no wall, door, mountain, water etc). If it is unacceptable play a little sound or display a message, otherwise do the move.

patrickmallettea at 2007-7-12 8:45:14 > top of Java-index,Other Topics,Java Game Development...
# 3
Cross-post.[url] http://forum.java.sun.com/thread.jspa?threadID=5170123[/url]We explained to you what needs to be done, we aren't going to spoon feed you code.
maple_shafta at 2007-7-12 8:45:14 > top of Java-index,Other Topics,Java Game Development...