ADV is an abbreviation that stands for.. idk to be honest 😅
Maybe, ADVenture, or maybe Adult Dog Violence.. 🐶
I thought that I would create an adventure game, hence the acronym.
I created this game just for fun, I wanted to learn more about sockets and network programming in general.
As a result, we got such a fun 2D online shooter 🔫
$ git clone https://github.com/ZERDICORP/adv__client.git
$ java --version
openjdk 17.0.3 2022-04-19
OpenJDK Runtime Environment (build 17.0.3+3)
OpenJDK 64-Bit Server VM (build 17.0.3+3, mixed mode)
$ jar --version
jar 17.0.3
$ cd adv__client/src/ && ./build && cd ../build/
windows user?
> cd adv__client\src\ && win_build.bat && cd ..\build
$ ./run
[adv:log] Please specify a server..
windows user?
> win_run.bat
[adv:log] Please specify a server..
Oops, I forgot to clarify something.. since this is an online multiplayer game, we have to tell our client which server he wants to join.
So far only one server is available - mine.
$ ./run 95.165.89.228:86
windows user?
> win_run.bat 95.165.89.228:86
W - move up
A - move left
S - move down
D - move right
Important!
With the first press, you turn the player's gaze, and only with the second - move forward.
E - take a shot
Cartridges can be seen around the player
F - set a block
Blocks can only be placed in the central square
Interesting facts:
- The game follows the classic "wave" scenario.
- At the bottom of the screen, you can see the "new wave" indicator, which means the time until the next wave starts in seconds.
- Before the onset of the wave, you need to build a shelter.
- The number of blocks is limited (this can also be seen at the bottom of the screen).
- Blocks will be restored after the end of the wave.
- Your player model is shaded.
If your screen height is less than 800 pixels, the picture will break.
You will be able to play, but the bottom of the game window will simply float under the screen.
Don't hit me hard!
I'm not a frontender!
It's not my thing to adjust pixels! 😤