Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.
/ GDJ110 Public archive

A sample implementation of a ParticleSystem to provide basic special effects like rain, wind, snow, etc...

License

Notifications You must be signed in to change notification settings

SnapGames/GDJ110

Repository files navigation

GDJ110

Dependency Status AppVeyor TravisCI

Game Development Java Basics 110

This project is part of the GDJ100 course from GameDev Basics Java provided by the SnapGames site.

Goal

Propose an intepretation of the famous ParticleSystem game engine pattern to add special effects capabilities to the core. This will implement Rain effect.

Compile

To compile the full project, please execute the following command :

    $> mvn clean install

Execute the game

  • On any platform (Linux, MacOS, Windows)

to execute the compiled jar, please execute the command bellow :

    $> mvn exec:java

or :

    $> 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 site

This will build a GDJ110.exe into the target directory.

Then you can directly execute :

    C:\> target/GDJ110.exe

If 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 1

will open the next window :

The welcome title state

Edit

Import this project as an Existing Maven Project into your prefered IDE, (like Eclipse ?)

Some screen shots ?

States

PlayState

This screenshot/gif will demonstrate how animated Rain effect is.

TODO

Maven Repo ?

To publish to the right maven repo, just execute the following lines:

    $> mvn clean site deploy

Before 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

About

A sample implementation of a ParticleSystem to provide basic special effects like rain, wind, snow, etc...

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages