 <p>I'm the maintainer of JSTileMap. I have a sample project I did about a month ago that has some examples of what you're talking about here. You are welcome to have a look at my code: <a href="https://dl.dropboxusercontent.com/u/14626689/Platformer%20Test%201.zip">https://dl.dropboxusercontent.com/u/14626689/Platformer%20Test%201.zip</a></p> <p>It should give you most of the answers you are looking for as well as having some slight tweaks to JSTileMap that are as yet unpublished.</p>