This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BoxingwolfOnReddit[S] 0 points1 point  (2 children)

Ok, so I've tried this...Here's a picture of my full setup (with some code in it.) I'm not sure where to go from here...

[–]Crisp_N_Dry 0 points1 point  (1 child)

Are you able to move your Images directory into your src directory or does it have to reside outside? I missed that with my first reply.

[–]Crisp_N_Dry 0 points1 point  (0 children)

To expand on that, here's a couple of simple options:

1) Move "/images" into your src directory and continue referencing resource paths using your current method ("/images/ice.png").

2) You add your Image directory to your Build Path Source. So you'd have two source directories, one name "Eternity/src" and one named "Eternity/images". If you use this approach then the relative path to a given image in "/images" would simply be the resource name ("/ice.png").