All Projects → c-zhuo → Mir2

c-zhuo / Mir2

Javascript+Easycanvas+Node实现热血传奇(Mir2)游戏,还原了人物&装备&刷怪&战斗&背包等功能,支持联机,详情见wiki。

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mir2

Game
⚔️ An online JavaScript 2D Medieval RPG.
Stars: ✭ 388 (+163.95%)
Mutual labels:  game-development, canvas
Html5 Canvas Game Boilerplate
Provides a set of default code that makes getting up and running with an HTML5 canvas game very easy.
Stars: ✭ 182 (+23.81%)
Mutual labels:  game-development, canvas
Melonjs
a fresh & lightweight javascript game engine
Stars: ✭ 3,721 (+2431.29%)
Mutual labels:  game-development, canvas
Planck.js
2D JavaScript Physics Engine
Stars: ✭ 4,149 (+2722.45%)
Mutual labels:  game-development, canvas
Html5 Animation
Foundation HTML5 Animation with JavaScript example code and book exercises.
Stars: ✭ 667 (+353.74%)
Mutual labels:  game-development, canvas
Icon Machine
Web application for randomly generating pixel art icons.
Stars: ✭ 73 (-50.34%)
Mutual labels:  game-development, canvas
Phaser
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
Stars: ✭ 30,918 (+20932.65%)
Mutual labels:  game-development, canvas
Bouncing Balls
Bouncing balls simulation using plain JavaScript
Stars: ✭ 96 (-34.69%)
Mutual labels:  game-development, canvas
Opensurge
A fun 2D retro platformer inspired by Sonic games and a game creation system.
Stars: ✭ 143 (-2.72%)
Mutual labels:  game-development
Taskchain
TaskChain Control Flow framework. Helps facilitate running tasks on an application's "Main Thread" (such as a game), and tasks off the main (async).
Stars: ✭ 143 (-2.72%)
Mutual labels:  game-development
Croquis.js
HTML5 drawing tool library
Stars: ✭ 142 (-3.4%)
Mutual labels:  canvas
Unityfx.async
Asynchronous operations (promises) for Unity3d.
Stars: ✭ 143 (-2.72%)
Mutual labels:  game-development
Zeu
A JavaScript library for real-time visualization
Stars: ✭ 1,777 (+1108.84%)
Mutual labels:  canvas
Fundcharts
轻量级canvas数据可视化组件库(可在web移动端、微信小程序、服务端nodejs运行)。包含折线图/面积图、饼图/环形图、柱状图、雷达图(蜘蛛图),散点图,K线图,组合图,持续更新及维护。
Stars: ✭ 143 (-2.72%)
Mutual labels:  canvas
Matter Js
a 2D rigid body physics engine for the web ▲● ■
Stars: ✭ 12,522 (+8418.37%)
Mutual labels:  canvas
Ape Ecs
Entity-Component-System library for JavaScript.
Stars: ✭ 137 (-6.8%)
Mutual labels:  game-development
Phaser Examples
🎮 Game collections made by Phaser
Stars: ✭ 140 (-4.76%)
Mutual labels:  game-development
Rocket
RocketMod — .NET Game Server Plugin Framework
Stars: ✭ 147 (+0%)
Mutual labels:  game-development
Html2pdf.js
Client-side HTML-to-PDF rendering using pure JS.
Stars: ✭ 2,287 (+1455.78%)
Mutual labels:  canvas
Openhow
Open-source reimplementation of Gremlin's Hogs of War (PC/PSX).
Stars: ✭ 144 (-2.04%)
Mutual labels:  game-development

Mir2 in Javascript

https://github.com/chenzhuo1992/Mir2/blob/master/README.gif

介绍

复刻2001年的Mir2,客户端使用Javascript+Canvas。

线上地址:这里

作者QQ:272643575,基础库Easycanvas,服务端使用Node.

服务器比较低配、部分类型检查没有完成,所以请高抬贵手,不要试图寻找bug……

素材源自盛大《热血传奇》等游戏、m6m等游戏素材网,只供学习使用。

杂项

  • 性能方面没啥问题,我用我自己14年买的3000块钱的笔记本(独显都没有)可以保持不降帧;

  • 上面那个gif的demo大概是8、9个周末的程度,目前还原了人物、装备、刷怪、战斗、背包等功能。可以联机,我自己的Mac和Windows联机效果正常;

  • 代码还没放出来,图片资源几百兆,传上来太难了,我想想办法,看看能不能随便找几个图替代;

  • 为什么服务端用Node?因为主要是试试Canvas动画的性能和扩展性,服务端用Node的话还可以复用一部分js逻辑;

  • 因为从网上找的素材都是一张大图里几十个小元素,所以切图用脚本切的。脚本写的糙,所以人物可能有毛边,不是渲染问题;

架构

https://github.com/chenzhuo1992/Mir2/blob/master/README.png

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].