<p align="center">
<img src="https://github.com/Delaford/game/raw/master/src/assets/github/logo.png"/>
</p>
<div align="center">
<a href="https://discord.gg/nkZnHvD"><img src="https://camo.githubusercontent.com/b12a95e20b7ca35f918c0ab5103fe56b6f44c067/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636861742d6f6e253230646973636f72642d3732383964612e737667" alt="Discord" /></a>
<a href="https://www.youtube.com/watch?v=GRd7GVzMNwk"><h3>VIDEO DEMO OF GAME</h3></a>
</div>
<p align="center">
<strong>Welcome to Delaford. An online, 2D medieval game using JavaScript and HTML5.</strong>
<img width="704" alt="Game screenshot" src="https://github.com/delaford/game/blob/master/src/assets/github/readme_hero.png">
</p>
## Getting Started
First, fork the repository. Then, go into your favorite terminal.
git clone [email protected]:YOUR_USERNAME/game.git
cd game
npm install
npm run serve
> `npm run serve` will start the development server and watch for changes on the client-side code inside the `src` folder and otherwise elsewhere applicable.
Now, while still inside the `game` folder, open another terminal session in that same location. Type and run `npm run dev:node`. This will start the Node.js game server.
> If you want to debug, type `npm run ndb`. `ndb` is Google Chrome's Node Debugging tool which allows Node.js programs to be easily debugged and see all its context and variables. Highly recommended for a much easier time.
Now you may visit `http://localhost:8080` to login and start developing!
For a better time, make sure to join the [Discord channel](https://discord.gg/nkZnHvD) to talk to other developers for help and exclusive dicussions!
> Please be aware of a [possible scam in regards to Delaford](https://github.com/delaford/game#possible-scam-notice) that promises money for testing or similar action.
## Contributing
Please check out our [CONTRIBUTING.md](https://github.com/Delaford/game/blob/master/.github/CONTRIBUTING.md) guide on how you can actively participate in the development of this medieval game. It's pretty easy and fun!
## Systems and Engines
Here are the types of things I will be adding as a minimum viable product (alpha). Not too over the top but enough to cover the basics until more is added. Each section links to a project which will contain its sub-tasks within.
### What does a checkmark mean?
When an item is checkmarked, it means the basic foundation is in place but not necessarily complete. For example, Inventory is checkmarked but it currently only supports weapons. You can help fix that.
- [Player](https://github.com/Delaford/game/projects/1)
- [x] Walking / pathfinding
- [X] Context-menu / Actions
- [ ] Health and stats
- [X] Inventory
- [X] Character wear
- [ ] Your first quest
- [User Interface](https://github.com/Delaford/game/projects/2)
- [x] Inventory tab
- [ ] Quests tab
- [x] Chatbox (for players and actions)
- [x] Character wear tab
- [x] Overall look & feel
- [NPC](https://github.com/Delaford/game/projects/3)
- [X] Trading (Shops)
- [ ] Dialog Interaction
- [x] Walking around
- [X] Banking
- [Monsters](https://github.com/Delaford/game/projects/3)
- [ ] Battle System
- [ ] Looting
- [ ] Spawning
- [Networking](https://github.com/Delaford/game/projects/5)
- [X] Players see each other
- [X] Non-playable characters
- [ ] Monsters
- [ ] Player trading
- [X] Items
- World
- [X] Respawn system
- [ ] Player versus Player
- [ ] Resource skills
- [X] Mining
- [ ] Smithing (Almost finished)
- [ ] Fishing
- [ ] Cooking
Once all of these items are checked, Delaford will be stable without breaking changes. But for the time being, please jump in and help add some of these features -- if you'd like!
## Debugging
Learning how to debug in this game is critical in order to interact with the Node.js server and to the client. Your primary source should be the [ndb](https://github.com/GoogleChromeLabs/ndb) tool from Google. It is an improved debugging experience witch __drastically__ improved client-side debugging.
Read more at [DEBUGGING.md](debugging.md).
## Notice
Delaford contains work from multiple sources not organically made by contributions from Delaford directly.
- [Tileset, monsters, items, players](http://pousse.rapiere.free.fr/tome/tome-tiles.htm) by David E. Gervais. · [CC license](https://creativecommons.org/licenses/by/3.0/)
- [Main screen music](https://opengameart.org/content/enchanted-festival) by [Matthew Pablo](http://www.matthewpablo.com). · [CC license](https://creativecommons.org/licenses/by/3.0/)
- Game font '[PixelMix](https://www.dafont.com/pixelmix.font)' by [Andrew Tyler](http://andrewtyler.net/fonts/)
- Chat font '[IBM VGA 8](https://int10h.org/oldschool-pc-fonts/fontlist/)' by [IBM](https://www.ibm.com).
- [Heroicons](https://github.com/sschoger/heroicons-ui) by [Steve Schoger](http://www.steveschoger.com/)
## Website Status
__Website is not currently up.__ The number of users did not justify the monthly charge.
## Possible Scam Notice
Delaford contributors nor anyone associated with Delaford will never contact you in regards testing or instructing you to downloading anything in regards to the development of the game for the reward of payment or digital currency such as cryptocurrency.
We have had verifiable reports of users pretending to be owners of Delaford promising money if they download a folder with the repository's contents inside. Please be aware.
没有合适的资源?快使用搜索试试~ 我知道了~
一个在线 JavaScript 2D 中世纪角色扮演游戏_JavaScript _代码_下载
共174个文件
js:68个
png:31个
vue:22个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 176 浏览量
2022-06-23
04:04:09
上传
评论
收藏 8.2MB ZIP 举报
温馨提示
效果展示: https://github.com/delaford/game/blob/master/src/assets/github/readme_hero.png 现在,虽然仍在game文件夹中,但在同一位置打开另一个终端会话。键入并运行npm run dev:node. 这将启动 Node.js 游戏服务器。 如果要调试,请键入npm run ndb. ndb是 Google Chrome 的节点调试工具,它允许 Node.js 程序轻松调试并查看其所有上下文和变量。强烈推荐一个更轻松的时间。 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
一个在线 JavaScript 2D 中世纪角色扮演游戏_JavaScript _代码_下载 (174个子文件)
.babelrc 354B
.babelrc 29B
.env 28B
.gitignore 281B
index.html 652B
weapons.js 23KB
context-menu.js 17KB
index.js 17KB
armor.js 16KB
map.js 11KB
shop.js 11KB
player.js 10KB
ui.js 7KB
bank.js 6KB
smithing.js 6KB
map.js 5KB
action.js 4KB
Delaford.js 3KB
item.js 3KB
action-list.js 3KB
jewelry.js 3KB
npc.js 3KB
index.js 3KB
client.js 3KB
smithing.js 3KB
authentication.js 3KB
players.js 2KB
index.js 2KB
wear.js 2KB
mining.js 2KB
map-utils.js 2KB
socket.js 2KB
engine.js 2KB
player.js 2KB
server.js 2KB
config.js 2KB
main.js 1KB
store.js 1KB
general.js 1KB
inventory.js 1KB
resources.js 1KB
database.js 1KB
npcs.js 1KB
query.js 912B
events.js 896B
.eslintrc.js 734B
resource.js 660B
shops.js 650B
client-ui.js 539B
jest.config.js 519B
handler.js 489B
vue.config.js 413B
world.js 406B
example.spec.js 388B
item.js 362B
player-socket.js 331B
index.js 304B
socket.js 300B
world.js 283B
miscellaneous.js 269B
screen.js 257B
ecosystem.config.js 252B
index.js 246B
index.js 243B
npc.js 149B
index.js 132B
bus.js 89B
weapons.js 84B
armor.js 80B
index.js 78B
postcss.config.js 62B
.eslintrc.js 52B
jewelry.js 19B
package-lock.json 724KB
surface.json 275KB
package.json 3KB
player.json 2KB
jsconfig.json 152B
objects.png.kra 616KB
LICENSE 1KB
README.md 5KB
CONTRIBUTING.md 2KB
README.md 2KB
PULL_REQUEST_TEMPLATE.md 1KB
README.md 619B
bug_report.md 459B
README.md 408B
feature_request.md 293B
main_menu.mp3 4.83MB
readme_hero.png 756KB
tileset.png 431KB
server-client.png 230KB
terrain.png 190KB
objects.png 161KB
armor.png 83KB
logo.png 75KB
weapons.png 35KB
bg-screen.png 31KB
general.png 26KB
logo.png 18KB
共 174 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功