text: let imagemCenario;
  let imagemPersonagem;
  let somDoGame;
  let cenario;
  let personagem;
  let inimigos = [];
  let imagemInimigo;
  let imagemInimigoGrande;
  let imagemInimigoVoador;
  let imagemCoracao;
  let fonteInicio;
  let gameOver;
  let somGameOver;
  let somPulo;
  let somPerderVida;
  let jogo;
  let HomemAranha;
  let telaInicial;
  let vidas;
  let heart;
  let heartVazio;
  
  let fonteJogo;
  
  let speedJogo = 40;
  
  let fita;
  
  let botaoGerenciador;
  
  let cenas;
  let cenaAtual = "telaInicial";
  
  let pontuacao;
  const matrizInimigo = [
    [0, 0],
    [105, 0],
    [210, 0],
    [315, 0],
    [0, 104],
    [105, 104],
    [210, 104],
    [315, 104],
    [0, 208],
    [105, 208],
    [210, 208],
    [315, 208],
    [0, 312],
    [105, 312],
    [210, 312],
    [315, 312],
    [0, 409],
    [105, 409],
    [210, 409],
    [315, 409],
    [0, 503],
    [105, 503],
    [210, 503],
    [315, 503],
    [0, 609],
    [105, 609],
    [210, 609],
    [315, 609],
  ]
  const matrizInimigoGrande = [
    [0,0],
    [400,0],
    [800,0],
    [1200,0],
    [1600,0],
    [0,400],
    [400,400],
    [800,400],
    [1200, 400],
    [1600, 400],
    [0,800],
    [400, 800],
    [800, 800],
    [1200, 800],
    [1600, 800],
    [0, 1200],
    [400, 1200],
    [800, 1200],
    [1200, 1200],
    [1600, 1200], 
    [0, 1600],
    [400, 1600],
    [800, 1600],
    [1200, 1600],
    [1600, 1600],
    [0, 2000],
    [400, 2000],
    [800, 2000]
  ]
  const matrizInimigoVoador = [
    [0,0],
    [200, 0],
    [400, 0],
    [0, 150],
    [200, 150],
    [400, 150],
    [0, 300],
    [200, 300],
    [400, 300],
    [0, 450],
    [200, 450],
    [400, 450],
    [0, 600],
    [200, 600],
    [400, 600],
    [0, 750],
  ]
  const matrizPersonagem = [
        [0, 0],
        [220, 0],
        [440, 0],
        [660, 0],
        [0, 270],
        [220, 270],
        [440, 270],
        [660, 270],
        [0, 540],
        [220, 540],
        [440, 540],
        [660, 540],
        [0, 810],
        [220, 810],
        [440, 810],
        [660, 810],
      ]
  
  
  
  