Git Product home page Git Product logo

pixelaether's Introduction

Pixel Aether Game Server

This repository contains all the packages needed to run a Pixel Aether Server.

To, create a pixelaether.com account. You will need your email and password to proceed.

# With meteor installed:
$ meteor create my-server
$ cd my-server
$ meteor add pixelaether:game-server
$ touch pixel.json
$ meteor --settings pixel.json
# pixel.json will be auto-populate. You will see an warning message

# To proceed:
# 1. Add your pixelaether.com login credentials to pixel.json
# 2. Choose a name for your server, and add it to pixel.json
  • When you run meteor for the first time, it will autogenerate pixel.json in the root of your project dir
  • Open up pixel.json, and add your login credentials using your pixelaether.com account
  • Choose a name for your game server, and add it to pixel.json. Server names must be
    • All lower case
    • Begin with a letter
    • Contain only letters, numbers, underscore, dash, and space characters
    • Less then 65 characters long

View Other servers and Maps

Log in to pixelaether.com. In your browser's JavaScript Console:

// To choose a new map, by name
Maps.chooseMap('main')

// To view maps on a different server:
Rift.open('localhost:3000')

Deploy to meteor.com

$ meteor deploy yourname.meteor.com --settings pixel.json

pixelaether's People

Contributors

charlesholbrow avatar

Stargazers

Ali Panahi avatar Bernard avatar

Watchers

James Cloos avatar  avatar

pixelaether's Issues

Move to modules structure for PixelAetherGameServer.

used by both game server and master:

  • addr client only
    • (no dependencies)
  • characters-server server only
    • check, underscore, coffeescript, mongo, random,
    • maps-server, game-servers, rift
  • dds-server server only
    • random, check, ecmascript, es5-shim,
    • urlz, game-servers
  • game-servers server only only generate-settings.coffee
    • underscore, coffeescript, check, sha,
    • game-servers-shared
  • game-servers-shared server and client
    • es5-shim, coffeescript, check, mongo, random, underscore, accounts-base, ddp
    • urlz
  • maps-server server only
    • underscore, mongo, check
    • dds-server, tilesets-server, urlz, maps-shared
  • maps-shared client and server
    • check
    • (no dependencies MapClass.js for DDS only)
  • tilesets-server server-only
    • (no meteor deps listed)
    • tilesets-shared, dds-server
  • tilesets-shared client and server
    • (no deps at all listed)
  • rift client and server
    • ecmascript, es5-shim, meteor, reactive-var, tracker, underscore, mongo, ddp
    • urlz, game-servers-shared
    • (weak dependency on accounts-base)
  • urlz client and server
    • underscore

used only on game server:

  • login-game-server server only
    • accounts-password, coffeescript, underscore, check, mongo, random, ddp
    • urlz, rift, game-servers ()
    • ongoworks:[email protected] ()
  • pixel-aether-game-server server only
    • coffeescript, urlz, login-game-server,
    • (no imports)
    • IMPLIES: accounts-password, maps-server, characters-server, tilesets-server, login-game-server, rift

Toward dependency injection

We want to be able to test modules that .use(pixelaether:rift).

This will not be possible until we can pass the rift object in to the constructors of our classes, instead of depend on the Rift Global variable.

However, some atmosphere packages depend on Rift. THESE packages must be refactored as instantiable classes before AetherRift can be injected.

Perhaps the solution is to leave rift as a package, but pass it in to classes that we need to test.

pixelaether:maps-isomorphic                                 exports MapClass
pixelaether:game-servers                                    exports GameServers (augmented collection)
pixelaether:dds-server                  uses game-servers   exports DDS
pixelaether:game-server-maps            uses dds-server     exports Maps, MapDDS
pixelaether:rift                        uses game-servers   exports Rift, AetherRift
pixelaether:game-server-characters      uses rift           exports Characters (augmented collection)

aether-login                            uses rift
game-server-master                      uses rift

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.