Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - skullfire

#1
Support / Problem with applet loading resources
August 29, 2006, 11:14:23 PM
Well, I can't get the applet to work on an html... only on the applet Viewer on NetBeans. Perhaps there's something wrong with the dir to the resources?

   public static final String Texture_LightPlayerPiece = "/data/marble.jpg";
   public static final String Texture_DarkPlayerPiece = "/data/wood.jpg";

texMan.addTexture("LightPlayerPiece", new Texture(documentBase, Resources.Texture_LightPlayerPiece));
       texMan.addTexture("DarkPlayerPiece", new Texture(documentBase, Resources.Texture_DarkPlayerPiece));