Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

## v1.0.1

### Added

- **Monster respawn, map module, Death feature**: New module added to the map. Monster spawn every 60s. Player can now die ([b30b092](https://github.com/mitallast/diablo-js/commit/b30b092fd74e73eb626bcfca9c5d1a3b9d68fcb1#diff-20d58da2a70dcbd6717377fa7c94b16cbd422b453c9c6f75504b9a3b03a0283f) by [Rhapsodiew](https://github.com/Rhapsodiew))

- **Added Changelog**: Changelog added ([b312cba](https://github.com/Rhapsodiew/diablo-js/commit/b312cbac5d97c6aed633ee403d36c4a607ee7bcf) by [Rhapsodiew](https://github.com/Rhapsodiew))

### Changed

- **Fix the README**: README fixed ([6f7ad32](https://github.com/Rhapsodiew/diablo-js/commit/6f7ad3238f5799b99f4f1efb47fdc3020d763fe5) by [Rhapsodiew](https://github.com/Rhapsodiew))
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"

gem "jekyll"
gem "webrick"
155 changes: 155 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0)
bigdecimal (3.1.9)
colorator (1.1.0)
concurrent-ruby (1.3.5)
csv (3.3.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.1)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-aarch64-linux-musl)
ffi (1.17.1-arm-linux-gnu)
ffi (1.17.1-arm-linux-musl)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86-linux-gnu)
ffi (1.17.1-x86-linux-musl)
ffi (1.17.1-x86_64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
ffi (1.17.1-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (4.30.2)
bigdecimal
rake (>= 13)
google-protobuf (4.30.2-aarch64-linux)
bigdecimal
rake (>= 13)
google-protobuf (4.30.2-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.30.2-x86-linux)
bigdecimal
rake (>= 13)
google-protobuf (4.30.2-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.30.2-x86_64-linux)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
jekyll (4.4.1)
addressable (~> 2.4)
base64 (~> 0.2)
colorator (~> 1.0)
csv (~> 3.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
json (~> 2.6)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3, >= 0.3.6)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.1.0)
sass-embedded (~> 1.75)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.10.2)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.4.1)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.86.1)
google-protobuf (~> 4.30)
rake (>= 13)
sass-embedded (1.86.1-aarch64-linux-android)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-aarch64-linux-gnu)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-aarch64-linux-musl)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-arm-linux-androideabi)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-arm-linux-gnueabihf)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-arm-linux-musleabihf)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-arm64-darwin)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-riscv64-linux-android)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-riscv64-linux-gnu)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-riscv64-linux-musl)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-x86_64-darwin)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-x86_64-linux-android)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-x86_64-linux-gnu)
google-protobuf (~> 4.30)
sass-embedded (1.86.1-x86_64-linux-musl)
google-protobuf (~> 4.30)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.9.1)

PLATFORMS
aarch64-linux
aarch64-linux-android
aarch64-linux-gnu
aarch64-linux-musl
arm-linux-androideabi
arm-linux-gnu
arm-linux-gnueabihf
arm-linux-musl
arm-linux-musleabihf
arm64-darwin
riscv64-linux-android
riscv64-linux-gnu
riscv64-linux-musl
ruby
x86-linux
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux
x86_64-linux-android
x86_64-linux-musl

DEPENDENCIES
jekyll
webrick

BUNDLED WITH
2.6.6
69 changes: 53 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,60 @@
diablo-js
=========
<h1 align="center">React Native</h1>

Isometric minimal-code style game at html5 canvas and javascript
<p align="center">
<a href="https://github.com/Rhapsodiew/diablo-js/blob/master/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="This project is released under the MIT license." />
</a>
</p>

Demo
----
Mini diablo game with html5 canvas and javascript

http://mitallast.github.com/diablo-js/
## Contents

CHANGELOG
---------
- [Demo](#-demo)
- [How to Contribute](#-how-to-contribute)
- [Documentation](#-documentation)
- [Road map](#-road-map)
- [Test your features](#-test-your-features)
- [Useful tools](#-useful-tools)
- [License](#-license)

- Big update! Extracted one original level from Diablo 2
- Use [tab] to show map
- New map layers - walls, floors, objects
- Tools for extract levels, pictures and another resources from origin Diablo 2 files
## 🎮 Demo

Test the demo:
**http://mitallast.github.io/diablo-js/**

Useful tools
------------
## 👏 How to Contribute

Tool for extract original diablo resources:
The main purpose of this repository is to continue evolving this project. We want to make contributing to this project as easy and transparent as possible, and we are grateful for contributing bug fixes and improvements. Read below to learn how you can take part in improving this project.

## 📖 Documentation

The map can be found in the `var level`. You can add new value to the array to change the map layout.

The game work with few `setInterval`.
There is one for the hp regeneration of the player, one for the rendering of the map, one for the movement of the entities.

Different class can be found to create object like Mob, Object, Wall, Player, etc...

Right now, everything can be found in the [diablo.js][d] file.

[d]: https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/blob/death/diablo.js

## 📍 Road map

- **Segment the code**: Export function in different file to make it easier to read.

## 🧪 Test your features

You can use jekyll with ruby to run a local server and test your feature on your computer.
[**Check the documentation**](https://docs.github.com/fr/enterprise-cloud@latest/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll)

## ⚒️ Useful tools

Tool for extracting original diablo resources:
https://github.com/mitallast/diablo-js/tree/master/dttool

Tool for calculate and transform primitive shadow for extracted monster & hero tiles:
Tool for calculating and transforming primitive shadow for extracted monster & hero tiles:
https://github.com/mitallast/diablo-js/tree/master/shadowmaker
Builded shadowmaker
https://github.com/mitallast/diablo-js/blob/master/shadowmaker.jar
Expand All @@ -34,3 +65,9 @@ https://github.com/mitallast/diablo-js/blob/master/monsters/rename.sh

More information you can find at original research from blizzhackers:
http://www.blizzhackers.cc/viewtopic.php?f=182&t=370174&start=0

## 📄 License

This project is MIT licensed, as found in the [LICENSE][l] file.

[l]: https://github.com/Rhapsodiew/diablo-js/blob/master/LICENSE
17 changes: 17 additions & 0 deletions _site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog

## v1.0.1

### Added

- **Death feature**: Player can now die in game. ([73b1e122](https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/commit/73b1e122c462baaa529e378c7aa8278a9a72a51d) by [semavo_t](https://rendu-git.etna-alternance.net/semavo_t))

- **Monster wave**: New monsters appear every minute. ([970e302f](https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/commit/970e302fcd9b2c5ade0f65cb32c8bdd1f4aab047) by [semavo_t](https://rendu-git.etna-alternance.net/semavo_t))

- **New map modufle**: Bigger map, new rooms / module. ([92473401](https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/commit/92473401c941fc45ca1e075aa5b739c192c6d44b) by [semavo_t](https://rendu-git.etna-alternance.net/semavo_t))

### Changed

- **Prettier format**: Format diablo.js file to prettier. Make it more readable. ([5468d9e2](https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/commit/5468d9e29c3e51af9e0728c141116d50e7ca88e3) by [semavo_t](https://rendu-git.etna-alternance.net/semavo_t))

- **Documentation of diablo.js**: Commented and added docstrings to function. ([97cf5942](https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/commit/97cf5942f4e07253d951db5fc20b7b54153edb80) by [semavo_t](https://rendu-git.etna-alternance.net/semavo_t))
7 changes: 7 additions & 0 deletions _site/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright (C) 2013 Alexey Korchevsky <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73 changes: 73 additions & 0 deletions _site/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<h1 align="center">React Native</h1>

<p align="center">
<a href="https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/blob/death/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="This project is released under the MIT license." />
</a>
</p>

Mini diablo game with html5 canvas and javascript

## Contents

- [Demo](#-demo)
- [How to Contribute](#-how-to-contribute)
- [Documentation](#-documentation)
- [Road map](#-road-map)
- [Test your features](#-test-your-features)
- [Usefull tools](#-useful-tools)
- [License](#-license)

## 🎮 Demo

Test the demo:
**http://mitallast.github.io/diablo-js/**

## 👏 How to Contribute

The main purpose of this repository is to continue evolving this project. We want to make contributing to this project as easy and transparent as possible, and we are grateful for contributing bug fixes and improvements. Read below to learn how you can take part in improving this project.

## 📖 Documentation

The map can be found in the `var level`. You can add new value to the array to change the map layout.

The game work with few `setInterval`.
There is one for the hp regeneration of the player, one for the rendering of the map, one for the movement of the entities.

Different class can be found to create object like Mob, Object, Wall, Player, etc...

Right now, everything can be found in the [diablo.js][d] file.

[d]: https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/blob/death/diablo.js

## 📍 Road map

- **Segment the code**: Export function in different file to make it easier to read.

## 🧪 Test your features

You can use jekyll with ruby to run a local server and test your feature on your computer.
[**Check the documentation**](https://docs.github.com/fr/enterprise-cloud@latest/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll)

## ⚒️ Useful tools

Tool for extracting original diablo resources:
https://github.com/mitallast/diablo-js/tree/master/dttool

Tool for calculating and transforming primitive shadow for extracted monster & hero tiles:
https://github.com/mitallast/diablo-js/tree/master/shadowmaker
Builded shadowmaker
https://github.com/mitallast/diablo-js/blob/master/shadowmaker.jar

Some shell scripts for batch update images:
https://github.com/mitallast/diablo-js/blob/master/monsters/make.sh
https://github.com/mitallast/diablo-js/blob/master/monsters/rename.sh

More information you can find at original research from blizzhackers:
http://www.blizzhackers.cc/viewtopic.php?f=182&t=370174&start=0

## 📄 License

This project is MIT licensed, as found in the [LICENSE][l] file.

[l]: https://rendu-git.etna-alternance.net/module-9980/activity-53344/group-1053825/-/blob/death/LICENSE
Loading