Skip to content

lilgallon/javafx-nero-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

92 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

travisCI Maintainability codecov maven build

An easy to use java 2D game engine powered by JavaFX 13. ๐ŸŽฎ

1. Progression

I have a blog on my website where I speak about the last changes.

2. Project description

This is my most ambitious project yet. I plan to implement everything that I have learned in Computer Science these last years. I hope that the first version will be released this summer.

Acknowledgments:

  • Bordeaux Institute of Technology,
  • University of Bordeaux.

Libraries and external services used:

Core:

Tests (cov & CI):

Miscellaneous:

5. Set up your environment

5.1 Project import

Fork the project. If you use IntelliJ, you need to open the folder as a project. Then make sure to right click on:

  • "src/main/resources" add "Mark Directory as" -> "Resources root",
  • "src/main/java", add "Mark Directory as" -> "Sources root",
  • "src/test/java", add "Mark Directory as" -> "Test Sources root",
  • "src/demo/java", add "Mark Directory as" -> "Sources root",
  • "src/demo/resources", add "Mark Directory as" -> "Resources root". Also, make sure to use Java 13 (File -> Project Structure -> Project SDK: 13 & Language level: 13).

Folders :

  • src/main: contains the engine source code,
  • src/test: contains the engine tests,
  • src/demo: contains a demo game using the engine.

5.2 Code coverage & Continuous Integration (CI)

You don't have to do anything concerning the CI. Regarding code coverage, write mvn clean test jacoco:report. Then, from the menu select Analyze > Show Coverage data. In the new window press the + button and select target/jacoco.exec file. The test coverage results will appear in the editor Coverage tab.

5.3 Execution

Intellij tools: Go in src/demo/java/sample/main/Main and click on "run Main.main()".

Maven tools: Type mvn javafx:run

If there is an error saying Error: Could not find or load main class sample.main.Main, it is probably because you typed mvn clean. To fix it, go in IntelliJ, click on Build and then, Rebuild project.

4. Contributing

Please read CONTRIBUTING.md for details.

5. Contributors

6. License

This project is licensed under the GPL 3.0 License - see the LICENSE file for details. In brief, you can do almost anything that you want, except distributing closed source versions.

About

๐Ÿ“š An easy to use 2D game engine powered by JavaFX13

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages