Skip to main content
2 of 3
added 65 characters in body
dzonatan
  • 185
  • 1
  • 6

Deploying GWT application / LibGDX and TextureAtlas problem

I encountered with a little problem. After GWT (and LibGDX) deployment I got an error:

GwtApplication: exception: Couldn't load image '/images/objects.png', file does not exist Couldn't load image '/images/objects.png', file does not exist

This error throws when TextureAtlas tries to load the image from settings.text file:

images/objects.png
format: RGBA8888
filter: Nearest,Nearest
repeat: none
hills
rotate: false
xy: 0, 0
size: 1024, 146
orig: 1024, 146
offset: 0, 0
index: -1

I tried to use any type of path

  • "/assets/images/object.png"
  • "/clutchkick/assets/images/object.png"
  • "/public_html/clutchkick/assets/images/object.png"
  • and so on..

Any suggestions?

By the way there are no any problems on android or desktop deployment.

EDIT: The same problem occurs when trying to load a Tmx map.

dzonatan
  • 185
  • 1
  • 6