Closed KevinTyrrell closed 6 years ago
It seems you have to run it from the textures folder as the working folder.
No luck with that either:
you have to point your class path to the folder were the .class files are
Just to keep up with all this mess move all the texture subfolders to the src folder :)
@jchama That worked. Thanks.
@lucasnpereira How is that done? Usually I use an IDE to manage my project structure so I'm not familiar with it.
Not moving the character is normal right? Character just drops from the sky and after that, no user input is read?
Check up on the man-pages of javac
and java
; it's quite enlightening to learn how the tools work without an IDE. You can compile and run with:
$ mkdir -p out
$ javac -d out src/*.java
$ java -cp out:textures TerrariaClone
For fixing errors, see #12 and https://github.com/BusyByte/TerraFrame/pull/1, but note that I'm not personally involved in the development of either.
@raxod502 maybe add these compile instructions to readme.md 🤔
That would be nice. :|
compile instructions don't work on windows, w/a is copying textures to out
and running java TerrariaClone
this is a great game
Maybe Windows uses a different delimiter for the classpath. I wouldn't put it past them.
https://i.imgur.com/vK4cg3s.png
Seems the project does not know about the textures folder?