Giter Site home page Giter Site logo

godxkey / mir2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from c-zhuo/mir2

0.0 1.0 0.0 14.5 MB

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

Home Page: https://github.com/chenzhuo1992/Mir2/wiki

mir2's Introduction

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

mir2's People

Contributors

c-zhuo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.