Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Latest commit

 

History

History
73 lines (59 loc) · 2.92 KB

README.md

File metadata and controls

73 lines (59 loc) · 2.92 KB

💝 Valentine's Game License Contributions welcome Status

My first simple 2D game, with dedication to my friend Kasia, who was inspiration for this project

💻 All resolutions support
🔉 Sounds and music

Gameplay


Screenshots

alt text alt text alt text alt text

Game controls

  • Arrows left/right: flame shot
  • Space: bomb shot
  • WSAD: sprite control

How to use it

If there is a problem with running, try to open it by console with command:

java -jar ValentinesGame.jar
  • Linux
java -jar ValentinesGame.jar

If you will see errors about not having error like this:

java.lang.NoClassDefFoundError: javafx/application/Application

it means that you don't have javafx libraries and you need to follow this steps:

  • Download javaFx libraries for linux javafx-oracle.com
  • Unpack files into your java library destination, for example: /usr/lib/jvm/java-14-oracle
  • Run script made by myself for you:
    • -d or --default flag: open with default java installation folder
    • -p=JAVA_PATH or --path=JAVA_PATH flag: open with custom java installation folder by JAVA_PATH

Examples:

	./runGame.sh --default
	./runGame.sh -d
	./runGame.sh -p=/usr/lib/jvm/java-14-oracle
	./runGame.sh --path=/usr/lib/jvm/java-14-oracle

Software design stuff

Used Designs Patterns:

✅ Builder
✅ Strategy

Code overview:

✔️ 48 classes (including enums and interfaces)
✔️ over 3600 lines of code


📫 Contact

Created by

gajerski.lukasz@gmail.com - feel free to contact me! ✊