demos/bp/public/editor-compiled.js
// given pixel x,y returns tile x,y
given pixel x,y returns tile x,y
given pixel x y returns tile x y
screenToWorld(px, py) {
    const {tx, ty} = this.screenToWorldRaw(px, py)
    if (tx == null) return {tx:null, ty:null}
    else return {tx: Math.floor(tx), ty: Math.floor(ty)}
  }
screenToWorld ( px , py ) { const { tx , ty } = this . screenToWorldRaw ( px , py ) if ( tx == null ) return { tx : null , ty : null } else return { tx : Math . floor ( tx ) , ty : Math . floor ( ty ) } }
given pixel x,y returns tile x,y
given pixel x y returns tile x y