Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derekyang2/diep.java
Diep.io remake in Java, with the same graphics, tanks, physics, UI, score system, and more!
https://github.com/derekyang2/diep.java
diep diep-io diepio game game-development java raylib
Last synced: about 1 month ago
JSON representation
Diep.io remake in Java, with the same graphics, tanks, physics, UI, score system, and more!
- Host: GitHub
- URL: https://github.com/derekyang2/diep.java
- Owner: DerekYang2
- Created: 2024-03-09T16:20:16.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T05:15:50.000Z (5 months ago)
- Last Synced: 2024-09-15T05:41:00.509Z (3 months ago)
- Topics: diep, diep-io, diepio, game, game-development, java, raylib
- Language: Java
- Homepage:
- Size: 115 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Diep.Java
About •
Features •
Build •
Running
---
## About
Remake of Diep.io in Java. All tanks and stats are balanced from the original game thanks to reverse-engineering and research from https://github.com/ABCxFF/diepindepth. A few tank definitions have been tweaked and the newest tank Glider has been added (too new to be found in `diepindepth` definitions). JSON file with all tank stats and geometry (barrel size, angle, etc) are parsed with the library https://github.com/stleary/JSON-java and drawn at runtime. As a result, there is no need to hardcode the art of tanks and their stats. Additionally, it is very easy to add new custom tank definitions or tweak existing ones.
## Features
- Original Diep.io tanks, stats, physics, level/XP system, controls, etc.
- Bots that pre-aim perfectly and dodge bullets (algorithm based on moving perpendicular to incoming bullet velocities and repulsion from obstacles)
- Polygon spawning (square, triangles, pentagons, alpha pentagons, and crashers) system
- Live updating leaderboard, minimap, and leader direction pointer
- Death and menu screen
- Different game modes
- Custom camera zoom for debugging
- ALL tanks except for necromancer and factory are implemented and tested (including more complex custom tanks such as overlord, mothership, spike, auto-5, rocketeer, etc.)
- And more!## Build
The external .jar libraries are already included in the `libs` folder. This includes a Raylib (OpenGL-based game library) port for Java and the JSON parsing library. Add these external libraries to your project (depends on your IDE). For example, in VSCode, add them to `Referenced Libraries` and in IntelliJ IDEA, add them to `Modules` in the `Project Structure` settings.
Next, add the folders `src`, `assets`, and `config` to the classpath.
Finally, run the `Main.java` file in the root folder.
## Running
A pre-configured folder with an exe file can be found in releases. For now, any windows machine should be able to directly play the game without any installation.
The folder comes with all required files and a JRE to run the game.