add sound loading from resources.json
textures have a name now
resolves the tilemap collision bug