Commit b73b3062 authored by Wenyuan  Cui's avatar Wenyuan Cui
Browse files

Update README.md

parent fb68f7f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ jMonkeyEngine can provide the customized gravity. The elasticity of triangle edg
## Usage
Unzip the file. This project is based on gradle. You have to install gradle here:https://gradle.org/.

After downloading and build gradle, you can run the group5\src\main\java\bouncingshape\GUI.java. The image files are also in the group5\src\main\java\bouncingshape. For example src/main/java/bouncingshape/sphere_triangles.txt.
After downloading and build gradle, you can run the "group5\src\main\java\bouncingshape\GUI.java". The image files are also in the "group5\src\main\java\bouncingshape". For example "src/main/java/bouncingshape/sphere_triangles.txt". Speed and directions are the initial attributes of the object.

The program some times will crash and error "Process 'command 'C:\Program Files\Java\jdk\bin\java.exe'' finished with non-zero exit value 1 eclipse". You can try "File -> invalidate cache.. -> invalidate and restart" if you are using Intellij. This problem also sometimes exists when the input image file is too large.