Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

tanx multiplayer webgl game

License

NotificationsYou must be signed in to change notification settings

cvan/tanx-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tanx multiplayer WebGL game

online demo

installation & running

  1. Install the Node dependencies:

     npm install
  2. Run the server:

     npm start

    Or:

     node app.js

    WebSocket and HTTP servers will be started on port30043 by default. You can change the port or host via environment variables:

    • TANX_PORT=30043
    • TANX_HOST='0.0.0.0'

usage

  1. Fork thetanx client project.

  2. From your fork's page, click theCode nav link to openclient.js in the PlayCanvas code editor (you should be athttps://playcanvas.com/editor/code/<id-of-your-fork>/client.js).

  3. Find the line that readsvar socket = … = new Socket and change theurl like so:

     http://localhost:30043/socket
  4. Play your fork!

changelog

v1.3.0 (16.02.15)
  • added teams - 4 of [blue, red, green yellow] colours
  • added scores - teams and players have score
  • added end game scenario - first team to reach 32 kills
  • added lobby and rooms - each room can handle up to 16 players, then new room will be created
v1.2.1 (10.02.15)
  • added pickables: repair, bullets, shield
v1.1.0 (09.02.15)

About

tanx multiplayer webgl game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp