• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

onedayitwillmake/RealtimeMultiplayerNodeJs: Realtime Mutliplayer Game Engine usi ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

onedayitwillmake/RealtimeMultiplayerNodeJs

开源软件地址:

https://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs

开源编程语言:

JavaScript 96.2%

开源软件介绍:

RealtimeMultiplayerNodeJS is a framework specifically for building HTML5 multiplayer games with the Client / Server model

JSConf talk

This repo was made to coincide with this talk

https://www.youtube.com/watch?v=z1_QpUkX2Gg

Status:

This repository is not in active development, unfortunately. However I do think there are still not enough good resources for learning how to do this on the client side so this respostory will remain preserved to perhaps give people something to poke around in and borrow concepts from.

ChangeLog:
  • Updated to work with socket.io 0.9.16 (thx @brendonjohn)

Video Demo

https://vimeo.com/24149718

How to use

  1. Download this repo
  2. In the terminal, navigate to the root directory of the repo
  3. Run "npm install"
  4. Run "node js/DemoBox2D/server.js"
  5. Within another terminal, navigate to the root directory and run "python -m SimpleHTTPServer"
  6. From the browser, open "http://127.0.0.1:8000/DemoBox2DApp.html"

DemoBox2D

RealtimeMultiplayerNodeJS comes with 3 demos

DemoHelloWorld

The most basic interesting working demo I could come up with. Objects move from left to right DemoHelloWorld

DemoCircle

A demonstration of the engine's simple CircleCollision engine, which can provide you with simple collision information and fires an event when two objects collide with the two objects.
This demo also shows one implementation of having a special kind of entity which is controlled by the keyboard from a connected user. A character controlled entity
DemoCircle

DemoBox2D

This demo uses a Box2D.js implementation to create a world, and show's off the idea of synchronized physics, and taking advantage that all the simulation happens on the server.
It also shows synchronized interaction between multiple users, and an example of sending a message to the server which it interprets back into the game
DemoBox2D




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap