- Install Java 17 or newer
- Go to Deployments > Releases.
- Download the correct archive for your OS
- Unzip it into an empty directory
- Run the start file (start.sh or start.bat)
- Windows: Install git for windows
- import the repository...
- Method 1
- Click the blue clone button
- Click "Visual Studio Code (HTTPS)
- Method 2
- Click the source control button on the sidebar
- Click clone repository
- Return to GitLab and click the blue clone button
- Copy the "Clone with HTTPS" link
- Paste the link into the VSCode popup
- Click the run and debug button on the sidebar
- Click "create launch.json" and open the file
- Add the key "vmArgs" and put in the VM arguements for your OS
For example:
"configurations": [
{
"type": "java",
"name": "Driver",
"request": "launch",
"mainClass": "gui.Driver",
"projectName": "GuitarHero",
"vmArgs": "--module-path lib/linux --add-modules javafx.controls,javafx.fxml,javafx.media -Dprism.forceGPU=true"
},
Do not forget the comma after the second to last item.
- Click the search icon in the upper right corner
- Search "git repositories" and select it
- Click "Clone a git repository"
- Return to GitLab and click the blue clone button
- Copy the "Clone with HTTPS" link
- Paste it into the URI box
- Other information should fill in automatically, click next
- Ensure that the Main branch is selected and click next
- Change the directory to your eclipse workspace
- Check "Import all existing Eclipse projects after clone finishes"
- Click finish
- Right click on project > Properties
- Select Run/Debug Settings > Driver
- Click Edit
- Click the Arguments tab
- Paste in the VM Arguements for your OS
These are automatically run by the start files when installing from an archive.
--module-path lib/windows/lib --add-modules javafx.controls,javafx.fxml,javafx.media
--module-path lib/linux --add-modules javafx.controls,javafx.fxml,javafx.media -Dprism.forceGPU=true
javafx guides (really helpful website): edencoding.com