Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Starter game repo run problem

+4 votes
We finished the first tutorial but when we try to run it eclipse just run the other project under the workspace, under run configuration the project we are working is also missing, We tried to create a new workspace but still the program won't run, We are confused. Any suggestion? Thanks

asked Sep 4 in CSC 285 (F17) by Zijian Jia (230 points)

2 Answers

+1 vote
Best answer
Steve stopped by, and it turned out that the problem was the way that the Gradle Project was imported.  We deleted the project (from Eclipse, not from disk), and did the "Import -> Gradle Project" procedure again, and then the Run button worked after that.
answered Sep 5 by Forrest Stonedahl (3,153 points)
+2 votes
Did you specifically open up the DesktopLauncher class, and run that?  (You can't run the game in the -core project directly)
answered Sep 4 by Forrest Stonedahl (3,153 points)
Yeah i run it with the Launcher class