This project is part of the GDJ100 course from GameDev Basics Java provided by the SnapGames site.
Propose an intepretation of the famous ParticleSystem game engine pattern to add special effects capabilities to the core. This will implement Rain effect.
To compile the full project, please execute the following command :
$> mvn clean install- On any platform (Linux, MacOS, Windows)
to execute the compiled jar, please execute the command bellow :
$> mvn exec:javaor :
$> java -jar GDJ110-0.0.1-SNAPSHOT-jar-with-dependencies.jar- Specifically to Windows platform
To build a windows executable file, you must run :
C:\> mvn clean install siteThis will build a GDJ110.exe into the target directory.
Then you can directly execute :
C:\> target/GDJ110.exeIf needed, you can also add some arguments from the bellow table:
| argument | short | sample | default | Description |
|---|---|---|---|---|
| --debug | -d | -d [0-4] | 0 | Request debug information with the level |
| --height | -h | -h 320 | 320 | Set the width of the window |
| --width | -w | -w 240 | 240 | Set the height of the window |
| --scale | -s | -s 2 | 2 | Set a scale factor for the window |
| --full | -f | -f | off | switch to fullscreen mode |
Executing the following line bello:
C:/> target/GDJ110.exe -d 1will open the next window :
Import this project as an Existing Maven Project into your prefered IDE, (like Eclipse ?)
This screenshot/gif will demonstrate how animated Rain effect is.
TODO
To publish to the right maven repo, just execute the following lines:
$> mvn clean site deployBefore execution, be sure that your settings.xml contains a server entry with your login/password for the github repository.
<servers>
<server>
<id>github</id>
<username>[GITHUB-USERNAME]</username>
<password>[GITHUB-USERPASSWORD]</password>
</server>
</servers>
Have Fun !
Send a mail to SnapGames
