Jump to content

Joshi2122

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Joshi2122

  1. Hello, I've been recently trying to implement the system. When I try to load up the scml-file I'll get an error thrown out by the SpriterException class. It says the following: Exception in thread "main" com.brashmonkey.spriter.SpriterException: Error parsing XML on line 1 near: res/GameRes/Player/Spriter/player.scml at com.brashmonkey.spriter.XmlReader.parse(XmlReader.java:286) at com.brashmonkey.spriter.XmlReader.parse(XmlReader.java:25) at com.brashmonkey.spriter.SCMLReader.load(SCMLReader.java:46) at com.brashmonkey.spriter.SCMLReader.(SCMLReader.java:36) at js2122.mygame.Entity.SpriterTestEntity.(SpriterTestEntity.java:29) at js2122.mygame.Game.init(Game.java:40) at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171) at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:393) at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:317) at js2122.mygame.Application.main(Application.java:42) I already checked wether the path is the correct one and it is. I can't figure out the problem with my code Data data = new SCMLReader("res/GameRes/Player/Spriter/player.scml").getData(); I hope someone can help me out with that. :?
×
×
  • Create New...