h5pal
h5pal copied to clipboard
A game
h5pal
Introduction
《仙剑奇侠传》(百度百科)的HTML5 移植,基于SDLPAL。
<The Legend of Sword and Fairy> I.E. PAL (wikipedia) porting to HTML5. Based on SDLPAL.
English version of this README
如何搞起
环境
构建
-
bower install
-
npm install
-
gulp
- 建立
pal-assets/
目录,把仙剑95版(存档180~185KB的版本)的所有文件拷贝进去。(不要问我去哪里找)
运行
-
gulp serve
- 在
chrome://flags
里打开_“启用实验性JavaScript”_ - 打开http://localhost:8005/h5pal.html
- Enjoy
其他
一句话,我TM就想知道能玩吗?
能走,能对话,能开宝箱,能用道具,能打架(没完全实现)……能做很多事情,排除BUG造成剧情无法进行下去以外,只靠走地图可以体验很多很多剧情……了。
因为战斗系统有很多没实现以及很多BUG,当出错的时候会直接判定为赢。建议到common.js
里打开INVINCIBLE
开启无敌降低游戏难度。
没图你说个JB
完成度
模块 | 进度 |
---|---|
资源 | 90% |
读档 | 99% |
存档 | 40% |
Surface | 90% |
位图 | 99% |
Sprite | 99% |
地图 | 90% |
场景 | 90% |
调色盘 | 90% |
文本 | 99% |
脚本(天坑) | 70% |
平常UI | 90% |
战斗UI | 90% |
战斗(天坑) | 70% |
播片 | 90% |
结局 | 95% |
音乐 | 0% |
音效 | 0% |
~~以上数值除了为0的外都是盲目乐观的~~
已知问题
Issues太多了,懒得列,慢慢补。
开发者须知
- ES6 and babel
- ES6 generator/yield and co
License
GPL v3
Inspired by SDLPAL
结语
仙剑20岁生日快乐
How to play
Environment
Build
-
bower install
-
npm install
-
gulp
- Create a folder named
pal-assets
. Copy all pal95 (which one save file is 180~185KB) files into it. (You may not find these files in this repo due to copyright reasons.)
Run
-
gulp serve
- Turn on "Enable experimental JavaScript" in
chrome://flags
- Open http://localhost:8005/h5pal.html
- Enjoy
Etc.
I'm just wondering whether I can play it or not.
You can walk, talk, open chests, use items, fight ... a lot of thing in this game. Without some bugs crashing the game, you can experience the story well.
Due to the completeness and bugs of battle module, you will be judged as win when exception happens. I strongly advise you to turn on INVINCIBLE
in common.js
to make the game easier.
STFU without pictures
Progress
Module | Progress |
---|---|
Resource | 90% |
Loading | 99% |
Saving | 40% |
Surface | 90% |
Bitmap | 99% |
Sprite | 99% |
Map | 90% |
Scene | 90% |
Palette | 90% |
Text | 99% |
Script (OMG) | 70% |
Game UI | 90% |
Battle UI | 90% |
Battle (OMG) | 70% |
Movie | 90% |
Ending | 95% |
Music | 0% |
Sound | 0% |
~~Numbers above are all given at will except zeros.~~
Known Issues
Issues - tooooo many. Will fill this later.
Developers should know first
- ES6 and babel
- ES6 generator/yield and co
License
GPL v3
Inspired by SDLPAL
Ending
Happy 20th birthday to pal.