Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 006f1ec

Browse files
committed
add: pixi
1 parent 305b21c commit 006f1ec

32 files changed

+12263
-7855
lines changed

custom-renderer-pixijs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

custom-renderer-pixijs/README.md

Lines changed: 18 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,18 @@
1-
# 打飞机
2-
3-
## 启动
4-
5-
1. 先启动服务
6-
7-
```shell
8-
yarn start
9-
```
10-
11-
2. 访问 http://localhost:5000/dist/
12-
13-
## 开发
14-
15-
```shell
16-
yarn build --watch
17-
```
18-
19-
## TODO
20-
21-
- [ ] 地图可滚动
22-
- [x] 逻辑实现
23-
- [ ] 素材
24-
- [ ] 开始页面
25-
- [ ] 结束页面
26-
- [ ] 战斗
27-
- [ ] 敌机
28-
- [ ] 从上往下移动
29-
- [ ] 移动的方向随机变换
30-
- [ ] 可以发射炮弹
31-
- [ ] 碰到敌机子弹的话会减少血量
32-
- [ ] 血量为零时 game over
33-
- [ ] 显示我方飞机的血量
34-
- [ ] 优化
35-
- [x] 飞机移动不流畅
36-
- [ ] 刚进战斗时,飞机应该自己飞出来
37-
- [ ] 抽离所有的参数配置到 options 内
1+
# vue-pixijs
2+
3+
使用 vue3 的语法来开发 pixijs
4+
5+
## 实现原理
6+
7+
实现了自定义的 vue Renderer ,渲染使用 pixijs
8+
9+
10+
## why
11+
12+
1. 需求驱动学习 vue3 + pixijs
13+
2. 以开发小游戏的形式去完善 Renderer
14+
15+
16+
## 进行中
17+
1. [打飞机游戏](https://github.com/cuixiaorui/vue-pixijs/tree/master/example/play-plane)
18+
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# 打飞机
2+
3+
## 启动
4+
5+
1. 先启动服务
6+
7+
```shell
8+
yarn start
9+
```
10+
11+
2. 访问 http://localhost:5000/dist/
12+
13+
## 开发
14+
15+
```shell
16+
yarn build --watch
17+
```
18+
19+
## TODO
20+
21+
- [ ] 地图可滚动
22+
- [x] 逻辑实现
23+
- [ ] 素材
24+
- [ ] 开始页面
25+
- [ ] 结束页面
26+
- [ ] 战斗
27+
- [ ] 敌机
28+
- [ ] 从上往下移动
29+
- [ ] 移动的方向随机变换
30+
- [ ] 可以发射炮弹
31+
- [ ] 碰到敌机子弹的话会减少血量
32+
- [ ] 血量为零时 game over
33+
- [ ] 显示我方飞机的血量
34+
- [ ] 优化
35+
- [x] 飞机移动不流畅
36+
- [ ] 刚进战斗时,飞机应该自己飞出来
37+
- [ ] 抽离所有的参数配置到 options 内
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)