Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

245
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!