Giter Site home page Giter Site logo

ntt's Introduction

Network Table Top

Present tabletop assets on a remote screen.

Mission

  1. Eliminate paper maps
  2. Run on any screen
  3. Stay simple
  4. Stay open source
  5. Stay cheap

For cost -- try to keep it free for everyone even on hosted unless they want asset storage.

Ideally give people the option to host their own install too.

ntt's People

Contributors

micahg avatar

Watchers

 avatar  avatar

Forkers

maheshchandra10

ntt's Issues

websocket keep alive

Add a keep alive ping so we don't constantly close out the socket and reopen it.

Redo Toolbars

When you come back to this, think back -- you tried to change the toolbar to dynamically respond to the scene component state and it did not go well.

Because the canvasses are basically their own state and have a separate state machine, you can away with the janky implenetation of how those toolbars work. But the implementation is probably "wrong" or at least isn't the right way to do it with react.

Reminder: right now you have an object in the ContentEditor module (not the functional component state) that represents the state of the buttons. It'll have properties you'll use to enable or disable the button. This is janky but you need it because the functions in the GameMasterAction don't pull up-to-date values from the component state (eg: something you set with useState).

When you come back around to this, i think its important to revisit how you can signal between components or how effects from one can influence another.

Handle failed asset uploads

If you upload a really big asset (right now > 32mb) the system fails without error.

Specifically a 413, which we know is "too big" is just ignored.

clear remote overlay on scene flip to scene without overlay

To reproduce, flip between two scenes:

Scene A) player content and overlay
Scene B) payer content only

When you go from A to B and update the remote display, we leave scene A's overlay up on the remote. The easy workaround is to just clear the overlay and sync the remote display again...

docker compose for local install

Now that docker images are created we can:

  • stop making npm packages, and only make docker images
  • use docker compose for local runs to make life (and testing) easier
  • its probably possible to have docker build in nttinfra FROM ntt and nttsrv. Maybe a monorepo makes more sense?

Fix zoom toggle

Problem

Zoom in/out works initially but after some play (maybe opacity related) you can't toggle the zoom state anymore.

Root Cause

Didn't really figure out how/when it happens but moving around and zooming in and our and playing with the opacity seem to do it.

use offscreen canvas for overlay

Right now the overlay image is sized to whatever fits in the window for the editor. It should use an off-screen canvas sized to the full background. I think it should:

  • capture the dimensions on the onscreen canvas using mouse or whatever
  • upsize
  • render offscreen
  • then paint onscreen

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.