2D puzzle game for Android inspired by various shoot 'em up games reduced to a duel of two players and combined with gravity effects (but only for impulses).
Disclaimer: this game was written directly on an Android smartphone with the QLua IDE and the LÖVE for Android app.
- entities:
- the player:
- the player can only perform one possible action at a time;
- the possible actions:
- movement:
- forward;
- backward;
- to the right;
- to the left;
- rotation:
- to the right;
- to the left;
- player impulse performing;
- movement:
- the target:
- appearance:
- at a random point in time;
- in the segment in front of the player;
- restricted lifetime:
- by duration;
- by quantity of hits of player impulses;
- appearance:
- the hole:
- kinds:
- the black holes;
- the white holes;
- appearance:
- at a random point in time;
- in the segment in front of the player;
- restricted lifetime:
- by duration;
- change trajectories of player impulses in accordance with gravity effects:
- the black hole attracts them;
- the white hole pulls away them;
- kinds:
- the player:
- game stats:
- metrics:
- current:
- quantity of performed player impulses;
- quantity of hit targets;
- accuracy of player impulses;
- quantity of destroyed targets;
- best:
- accuracy of player impulses;
- quantity of destroyed targets;
- current:
- storing the game stats in the FlatDB database:
- save only the best metrics;
- save only when the best metrics change.
- metrics:
Clone this repository:
$ git clone https://github.com/thewizardplusplus/gravity-duel.git
$ cd gravity-duel
Build the game with the makelove tool:
$ makelove ( win64 | macos | appimage )
Take the required build from the corresponding subdirectory of the created builds
directory.
See for details: https://love2d.org/wiki/Getting_Started#Running_Games
Clone this repository:
$ git clone https://github.com/thewizardplusplus/gravity-duel.git
$ cd gravity-duel
Make a ZIP archive containing it:
$ git archive --format zip --output gravity_duel.zip HEAD
Change its extension from .zip
to .love
:
$ mv gravity_duel.zip gravity_duel.love
Transfer the resulting file to the Android device.
Open it with the LÖVE for Android app.
Clone this repository:
$ git clone https://github.com/thewizardplusplus/gravity-duel.git
$ cd gravity-duel
Then run the game with the LÖVE engine:
$ love .
The MIT License (MIT)
Copyright © 2021-2022 thewizardplusplus