Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

249
Visualizações
Can't draw a overlap2d scene

I'm starting with libGDX and overlap2d, I'm following this tutorial: Runtime Quick Start - Overlap2D setup tutorial. I did everything like the video shows, but when I try to run it, some red lines appear. I don't have any idea about what I could do to solve. Can any one help me?

Here's my console: enter image description here


Here's my Main class: enter image description here


Hers my GameStage class: enter image description here


project.dt: {"pixelToWorld":3,"originalResolution":{"name":"orig","width":1920,"height":1200},"scenes":[{"sceneName":"MainScene","physicsPropertiesVO":{}}]}


MainScene.dt: {"sceneName":"MainScene","composite":{"sImages":[{"uniqueId":3,"tags":[],"x":-7.666664,"y":-13,"originX":85.333336,"originY":85.333336,"layerName":"Default","imageName":"chao"},{"uniqueId":4,"tags":[],"x":159.33334,"y":-10.333336,"originX":85.333336,"originY":85.333336,"zIndex":1,"layerName":"Default","imageName":"chao"},{"uniqueId":5,"tags":[],"x":-7.3333282,"y":157.66666,"originX":85.333336,"originY":85.333336,"zIndex":2,"layerName":"Default","imageName":"chao"},{"uniqueId":6,"tags":[],"x":159.33333,"y":158.66667,"originX":85.333336,"originY":85.333336,"zIndex":3,"layerName":"Default","imageName":"chao"}],"layers":[{"layerName":"Default","isVisible":true}]},"lightSystemEnabled":true,"ambientColor":[0,0,0,1],"physicsPropertiesVO":{}}


Does anyone have any idea how can I solve it?

Thank you

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

The thing is that method loadScene(MainScene.dt) is looking for a pixelToWorld field but there is no pixelToWorld in your MainScene.dt file.

Possible reason may be Overlap2d Editor and overlap2d-runtime version incompatibility.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda