2019-01-12 17:01:38 +07:00
|
|
|
# LibGDX Diablo II
|
|
|
|
This is my attempt at rebuilding Diablo II from scratch. There is still a long
|
|
|
|
ways to go, but a lot of the core is there. The game itself uses 100% original
|
|
|
|
Diablo II assets which are not (and will never) be provided, i.e., you should
|
|
|
|
already own a copy of the game to play this. I am going to do my best to remain
|
|
|
|
faithful to the original game, however I am planning on changing and adding
|
2019-03-09 15:16:44 +07:00
|
|
|
additional features as I think they become necessary (e.g., auto gold pickup).
|
|
|
|
I will write articles in the future explaining how I was able to accomplish
|
|
|
|
certain things, and how some core systems work.
|
2019-01-12 17:01:38 +07:00
|
|
|
|
2019-03-09 15:16:44 +07:00
|
|
|
Unlike the original game, this version supports just about any reasonable
|
|
|
|
aspect ratio (4:3, 16:9, 18:9, 21:9), however by design I'm locking the game to
|
|
|
|
480px in height because the original game assets are all geared for that (i.e.,
|
|
|
|
the width is dynamic). The expansion did introduce 800x600 support, and I may
|
|
|
|
end up supporting that for the desktop version in the future (specifically for
|
|
|
|
some of the multiplayer lobby stuff), but it's not necessary for the core
|
|
|
|
functionality. The mobile version currently uses 360px height to make selecting
|
|
|
|
UI elements easier, however since much of the UI panels are 480px, in-game is
|
|
|
|
locked at 480px, but I will change this in the future or at least provide
|
|
|
|
scaling on a per-component basis (text). This does run on Android, and I have
|
|
|
|
been using a Galaxy Note 5 as the min spec when testing, but older phones may
|
|
|
|
work as well, especially after optimizations have been made. I can already play
|
|
|
|
Diablo II on PC, my goal is to be able to sit back and play it casually with my
|
|
|
|
friends while also supporting cross-platform play. This game supports local
|
|
|
|
play that can then be taken online (similar to Open Battle.net), with a more
|
|
|
|
secure option being far beyond that.
|
2019-01-12 17:01:38 +07:00
|
|
|
|
|
|
|
*NOTE: This is not playable yet, but the game runs and you can load save files,
|
|
|
|
walk around a bit and look at your characters.* Game saves are not modified
|
|
|
|
yet, and 1.13c+ saves are supported (support for some other versions may be
|
|
|
|
added in the future, but it isn't a priority, and I expect most people to
|
|
|
|
create new characters anyways). I do not plan on, or want to make this game
|
|
|
|
compatible with playing with users using the original game client.
|
|
|
|
|
|
|
|
# Features
|
|
|
|
- Written using Java + LibGDX + OpenGL
|
|
|
|
- Runs on PC, Android and eventually more (IOS, Linux, etc.)
|
2019-02-03 17:53:51 +07:00
|
|
|
- Cross-platform multiplayer
|
|
|
|
- Dedicated servers, TCP/IP (listen servers) connections, and single player
|
2019-01-12 17:01:38 +07:00
|
|
|
- Full console, including CVAR support and key bindings
|
2019-03-09 15:16:44 +07:00
|
|
|
- Controller support
|
|
|
|
- Platform-specific features (Android touch, PC mouse, etc)
|
2019-01-12 17:01:38 +07:00
|
|
|
|
|
|
|
# Screenshots
|
2019-01-12 17:02:47 +07:00
|
|
|
![In-Game](https://raw.githubusercontent.com/collinsmith/diablo/master/screenshots/Clipboard-1.png)
|
|
|
|
![Create Character](https://raw.githubusercontent.com/collinsmith/diablo/master/screenshots/Clipboard-2.png)
|
2019-01-12 17:01:38 +07:00
|
|
|
|
|
|
|
# MPQ Viewer
|
|
|
|
Still a work in progress, but this allows you to look at the game's assets and
|
|
|
|
is used to test my MPQ library implementation. Currently this does not allow
|
|
|
|
for viewing all files that the game can load, but those should hopefully come
|
|
|
|
in the future. This should be a replacement for DR Test in the future, at least
|
|
|
|
in a general sense, since the UI I made is much more helpful when writing the
|
|
|
|
game code.
|
2019-01-12 17:12:54 +07:00
|
|
|
<details>
|
|
|
|
<summary>Screenshot</summary>
|
2019-01-12 17:15:11 +07:00
|
|
|
<img src="https://raw.githubusercontent.com/collinsmith/diablo/master/screenshots/Clipboard-3.png" alt="MPQ Viewer">
|
2019-01-12 17:12:54 +07:00
|
|
|
</details>
|
2019-01-12 17:01:38 +07:00
|
|
|
|
|
|
|
# Map Builder
|
2019-01-12 17:12:54 +07:00
|
|
|
Used to test the map building algorithm/renderer. This is very basic at the
|
|
|
|
moment.
|
|
|
|
<details>
|
|
|
|
<summary>Screenshot</summary>
|
2019-01-12 17:15:11 +07:00
|
|
|
<img src="https://raw.githubusercontent.com/collinsmith/diablo/master/screenshots/Clipboard-4.png" alt="Map Builder">
|
2019-01-12 17:12:54 +07:00
|
|
|
</details>
|