Hey Simon I figured it out.
Since its already declared in the "var tiledmap = require('gamejs/tiledmap');" you include in the JS code. Not including that you just call it normally...
var map = new tiledmap.Map('TMXFILE');
var mapView = new tiledmap.MapView(map);
...
function render_map ( display ) {
mapView.draw ( display, [ 0 , 0 ] );
}
Anyway, after figuring that out I was able to make the call:
var collisionmapinfo = new tmxCollision.CollisionMap ( map );
Which works great! Im guessing the variable map was being overwritten.
But alas, now the collision.js code moveTest needs certain arguments for the call which I need to figure out!
Thanks!