# Simple realtime platform game build with Phaser.io
**Simple realtime Pokemon game build with Phaser 3, Colyseus.io & Webpack 4.**
![PokeMMO](https://github.com/aaron5670/PokeMMO-Online-Realtime-Multiplayer-Game/blob/master/docs/images/PokeMMO.gif?raw=true)
### Features & ToDo
- [x] Multiple players can join the game
- [x] Maps are can be created/edited with [Tiled Map Editor](https://www.mapeditor.org/)
- [x] Multiple levels/maps
- [ ] Pokémons added
- [ ] Can going inside building (In progress)
### How to install
```
// Clone this repository
$ git clone https://github.com/aaron5670/PokeMMO-Online-Realtime-Multiplayer-Game.git
// Go to the client folder and install all modules
$ cd client && npm install
// Go to the server folder and install all modules
$ cd ../server && npm install
// Start the server
$ node server.js
// Open a new terminal and navigate to the client folder and start the webpack server
$ cd client && npm start
```
After successfully install go to [http://localhost:8080](http://localhost:8080/)
### Known bugs
**Online players won't load in new level (50% fixed, needs help with this bug..)**\
When a player enters a new level/map the [Phaser Scene](https://photonstorm.github.io/phaser3-docs/Phaser.Scene.html) reloads and a new tilemap will be loaded.
But the current players in that map will not be loaded in that level ([see Code](https://github.com/aaron5670/PokeMMO-Online-Realtime-Multiplayer-Game/blob/master/client/src/Scene2.js#L107)).
*See GIF example below*
![Know bug example](https://github.com/aaron5670/PokeMMO-Online-Realtime-Multiplayer-Game/blob/master/docs/images/PokeMMO-know-bug.gif?raw=true)
没有合适的资源?快使用搜索试试~ 我知道了~
使用 Phaser 3、Colyseus.io 和 Webpack 4 构建 的简单实时 Pokémon MMO游戏=
共57个文件
png:26个
js:11个
json:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 66 浏览量
2022-06-24
17:33:59
上传
评论
收藏 7.9MB ZIP 举报
温馨提示
JavaScript_PLSQL_HTML_代码_下载 效果展示: https://github.com/aaron5670/PokeMMO-Online-Realtime-Multiplayer-Game/raw/master/docs/images/PokeMMO.gif?raw=true 功能 多个玩家可以加入游戏 可以使用平铺地图编辑器创建/编辑地图 多个级别/地图 添加了神奇宝贝 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
PokeMMO-Online-Realtime-Multiplayer-Game-master.zip (57个子文件)
PokeMMO-Online-Realtime-Multiplayer-Game-master
client
.babelrc 206B
package.json 940B
index.html 96B
package-lock.json 303KB
src
index.js 397B
Scene2.js 11KB
assets
atlas
players.json 93KB
atlas.json 7KB
atlas.tps 10KB
player
misa-left-walk.002.png 318B
misa-front.png 341B
misa-back-walk.002.png 343B
misa-back-walk.000.png 343B
misa-back-walk.003.png 348B
misa-front-walk.002.png 341B
misa-right-walk.001.png 302B
misa-back-walk.001.png 348B
misa-right-walk.002.png 303B
misa-left-walk.001.png 319B
misa-left-walk.003.png 319B
misa-front-walk.003.png 341B
misa-back.png 348B
misa-front-walk.001.png 341B
misa-front-walk.000.png 338B
misa-left-walk.000.png 319B
misa-right.png 302B
misa-right-walk.003.png 302B
misa-right-walk.000.png 301B
misa-left.png 319B
atlas.png 2KB
images
players
players.png 70KB
tilesets
tuxmon-sample-32px.png 45KB
tuxmon-sample-32px-extruded-v2.png 116KB
tuxmon-sample.png 37KB
tuxmon-sample-32px-extruded.png 188KB
tilemaps
route1.json 195KB
town.tmx 94KB
town.json 202KB
route1.tmx 89KB
Scene1.js 4KB
SocketServer.js 517B
Player.js 5KB
OnlinePlayer.js 1KB
webpack
prod.js 532B
base.js 890B
server
package.json 832B
server.js 1KB
package-lock.json 69KB
.gitignore 13B
loadtest
example.js 531B
README.md 995B
rooms
PokeWorld.js 2KB
docs
images
PokeMMO.gif 6.71MB
PokeMMO-know-bug.gif 813KB
LICENSE 483B
.gitignore 166B
README.md 2KB
共 57 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功