GithubHelp home page GithubHelp logo

ivansanchez / artemis-glitter Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 6.0 1.13 MB

Node.js client library for Artemis Space Bridge Simulator

License: Other

JavaScript 82.31% Perl 13.67% R 0.21% CSS 3.80%

artemis-glitter's People

Contributors

ivansanchez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

artemis-glitter's Issues

Change server/client detection

Use module.exports instead of navigator to tell worldmodel.js if it's running server-side or client-side.

if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {

Add on/off/mute buttons to proximity monitor

Each of the alerts played by the proximity monitor should have a corresponding on/off/mute control. I need to decide whether to use a button, a slider, a checkbox, or whatever.

This might need some UI/UX design so a LCARS-esque design would be possible by CSS'ing the whole thing.

Consider replacing the DS display with a SHLD display showing just "ON" and "OFF".

Node-webkit wrapper scripts for systems lacking libudev.so.0

Unzipping Glitter on some systems (e.g. Linux Mint 17) and trying to run will silently fail.

Running on a console gives some information: libudev.so.0 is missing. This is related to an upstream bug from node-webkit: nwjs/nw.js#770

The easiest way to solve this for end users is to provide a wrapper shell script that does the appropriate file linking, or modify the binary itself during the build script - there's an example of how to do so at https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0

SVG backgrounds

Experiment using SVGs as backgrounds for the individual elements. They might be able to rescale properly.

Parse vesselData.xml

  • Use node-sax
  • Put the location dat/ directory in the yaml config file, defaults to ./dat/
  • Pave the way to parse the vessel eng matrices

Shorthands for vessel visible and vessel hostile

The visibility or hostility of vessels is not straightforward - I need to check status of the cloaking device, plus scanned state of a vessel, to know its callsign.

Likewise, hostility of a vessel is determined not only by the "isEnemy" flag, but the faction and surrendered flags.

The world model should abstract these details, or provide functions for them.

Artemis 2.3

Will this get updated to Artemis 2.3?

Thanks

Fix consoleStatus packet

The format for ConsoleStatus has changed in 2.1, and one of the consequences is that the ship index appears as -1.

Investigate the new packet format and re-implement it.

Audio in proximity monitor crashes Safari

When running a glitter client on a Mac, playing any sound will crash Safari. (Easiest way to reproduce = red alert).

Seems to be related to the audio element being destroyed after it's been paused.

Windows binaries

Use node2exe or a similar tool to build Win32/Win64 binaries.

Crash on Mac build when looking for vesselData.xml

The packaged 0.3.1 crashes when trying to resolve file paths when looking for the vesselData.xml file:

TypeError: Arguments to path.resolve must be strings
    at Object.exports.resolve (path.js:327:15)
    at Object.eval ([whatever]/artemis-glitter-0.3.1.app/Contents/Resources/app.nw/vesselData.js:13:24)

Check the values of process.execPath and module.uri when running on a Mac.

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.