Whack-a-mole style, circle clicker
- Clone the project (change in project name)
git clone git@github.com:scottzach1/WhackyCircle.git
git clone https://github.com/scottzach1/WhackyCircle.git
-
Open the project in vscode
code WhackyCircle
-
Install the extension Processing Language by Tobiah Zarlez
-
Under the
/.vscode
folder, create a new file calledsettings.json
-
Inside the
settings.json
file, write the following json block, and save the file
{
"processing.path": "<path-to-processing-folder>/processing-java"
}
- Alternatively, hit
ctrl + ,
and search for "processing". Then find the "Processsing: Path" variable, and alter the location to be<path-to-processing-folder>/processing-java
- Run the project via
Ctrl + Shift + B
Depending on your environment, you may experience the following error when you attempt to run the project:
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp
-Djava.ext.dirs=/usr/share/processing/java/lib/ext is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
This can be resolved by editing the file /usr/bin/processing-java
. Edit the _JAVA_OPTIONS
variable and omit the following: -Djava.ext.dirs=/usr/share/processing/java/lib/ext
.