kruptein / planarally Goto Github PK
View Code? Open in Web Editor NEWA companion tool for when you travel into the planes.
Home Page: https://www.planarally.io/
License: MIT License
A companion tool for when you travel into the planes.
Home Page: https://www.planarally.io/
License: MIT License
The scroll event should only zoom if above the map
First off, love the project so far! I'll see if I can dockerize it nicely to use it with docker swarm :)
What I want to suggest is a simplified FOW System for in-person sessions where we could use PA as virtual tabletop.
Streaming the players view (via chromecast probably) on a screen flat on the surface, the FOW System is cool but without tokens in game (more like physical minis) we can't use the dynamic light.
Is it possible to create a draw tool that allows to actually draw on the layer instead of creating shapes that enable seeing/blocking?
This drawing could also be used to create objects that are blocking light for example.
This would allow a DM to draw on the FOW layer, removing it or adding to it and thus making it possible to use it nicely for in person sessions :)
When loading a session, all layers are rendered with full opacity instead of the correct change in regards to which layer is active.
If you want to track attributes for monsters or other tokens you need to manually add in every attribute for each one.
Currently the gridlines just get very close to eachother when zooming out, which can become very noisy.
Current idea is to have a maximum visual grid size and if this is crossed, make the gridboxes larger.
Add a |--5ft--| kind of thing somewhere on screen to show the current size of a grid cell.
Only thing is what to do with the DM grid size option as that seems fairly ambiguous in this context
Documentation can (and probably should) be much more in-depth, the readme is not really a good place for this though, so a dedicated separate 'wiki' should be used, I'm thinking either readthedocs or hosting something using github pages.
If you select the FoW layer and make a selection box you will notice only one of the corner pieces shows up.
Currently key events are ignored if used in an INPUT field, this should also be done for TEXTAREA fields.
The arrow keys now move the camera.
A good addition would be to move an asset if it is selected instead.
Was wondering how you are planning to do version numbering in the future. The current one is very simple and straight forward but the next release is 0.9. After that you will reach 1.0 if you don't plan on doing 0.10 etc. Personally in my opinion the 1.0 release should be the first stable release that is somewhat feature complete so it would be nice to keep track of everything in this issue that is blocking v.1.0
When opening a planarally session as a DM, all tokens are immediately retrieved from the server so that they can be shown in the asset menu.
This heavily increases the initial payload without any real advantage. In my personal asset lib it for example retrieves 180mb worth of images taking 1.3 minutes.
This should be improved to something using lazy loading.
Ideally this is tied in with the general asset design overhaul in #44
In both login.jinja2 and rooms.jinja2 we have the following html to load jQuery:
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
If it fails to load from the CDN it goes on and loads the local file instead. But in the planarally.jinja2 it looks like this:
<script src='/static/extern/js/jquery-3.3.1.min.js' integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="></script>
It is not a problem necessarily but I just thought it was odd. Why not use the same method as in login.jinja2 and rooms.jinja2?
When creating a session with a space in its name the board is completely white and most functions don't work. The output when creating or joining a session with a space:
message async handler error
Traceback (most recent call last):
File "/home/jakob/.pyenv/versions/3.6.5/lib/python3.6/site-packages/engineio/asyncio_server.py", line 269, in _trigger_event
ret = await self.handlers[event](*args)
File "/home/jakob/.pyenv/versions/3.6.5/lib/python3.6/site-packages/socketio/asyncio_server.py", line 360, in _handle_eio_message
await self._handle_connect(sid, pkt.namespace)
File "/home/jakob/.pyenv/versions/3.6.5/lib/python3.6/site-packages/socketio/asyncio_server.py", line 257, in _handle_connect
self.environ[sid]) is False:
File "/home/jakob/.pyenv/versions/3.6.5/lib/python3.6/site-packages/socketio/asyncio_server.py", line 325, in _trigger_event
ret = await self.handlers[namespace][event](*args)
File "PlanarAlly/planarserver.py", line 494, in test_connect
KeyError: ('The%20Dead%20Exiles', 'Anti')
Username: Anti
Session name: The Dead Exiles
Python Version: 3.6.5
OS: Linux x64
When the location is changed something breaks causing tokens to not be moveable.
Add some sort of loading screen or just indicator to show that some images are still loading.
When panning around the map, tokens get misaligned with the grid until you stop panning. Here is a gif to show what I mean.
Browser: Firefox 60.0
Current UI code is pretty ugly having to link all the events and build all the UI.
The vue framework seems interesting as it can be introduced gradually.
This would allow to change the size of fonts and UI elements when playing on large/small screens
It's still too easy to get various tokens stuck in movementblockers that are not grid aligned
Could not find any license information about any of the images included in this project.
Browser: Firefox 61.0.2
When pressing the button nothing happens.
Console log:
TypeError: Object(...) is not a function assets.js:170
createDirectory assets.js:170
createDirectory self-hosted:983:17 assets.js:170
invoker vue.esm.js:2027
withMacroTask/fn._withTask vue.esm.js:1826
It would be nice to have the ability to use animated assets. For example, https://www.patreon.com/dynamicdungeons
Multiselect move makes tokens move weirdly and not together
currently using a very tiny grid size with small units does not feel great with the larger borders
In my games, we often forget about concentration checks, so I would like to add an easy quick identifier to the initiative tracker to show if someone has concentration.
Clicking on a tracker/aura value no longer shows a popup
This is not a priority but it would be nice to have a logo for this project, obviously the problem is finding a person to actually design it. But it would be nice to have at some point and would also help when marketing this project.
Additional features desired for a 1.0 release:
Optionally
Currently without default options, a location will keep the settings from the last visited location, causing some inconsistencies when for example moving from a fullFOW page or not.
the Bring Players feature somehow messes with the colours of the fog.
A refresh of the page fixes the issue.
When creating new trackers, the data is not immediately shown in the quick lookup panel.
Only after reselecting the token it shows up.
When zooming out sometimes the page hangs and crashes.
I believe this has to do with an attempt to draw an asset with a very small width at that zoom scale.
Draw/FOW/brush all have some similar idea.
One singular tool could be created to cover all three.
Having the option to select whether you want to use normal drawing mode or fog drawing mode.
Having the option to choose between shapes, one of them being a freehand brush.
Whereas panning is very smooth in chromium based browsers, it feels very jagged in firefox.
Right now you can create a note by creating an empty token but it would be nice if this was more officially supported so that both players and the DM would be able to create notes.
Asset management is currently very barebones and frankly just horrible albeit functional.
Desired changes
Something causes a major slowdown over time in opening the edit asset dialog
Depending on angle the ruler text will sometimes be upside down
The layer selection UI should move to the right when the settings menu is open.
Currently when you draw shapes you can't align them to the grid without having to resize them. It would be nice if you could directly snap to the grid when drawing.
Toggling the grid at first glance has no effect on other clients but is only propagated on reload.
The direction is correct but the position and length are wrong.
The ruler is always displayed at actual coordinations instead of scaled coordinations
If you update the dimvalue field it will actually update the normal value field for an aura
Currently scrolling behaves kinda odd seemingly going very fast when zoomed out and very slow when zoomed in.
This behaviour should change to something that feels more linear.
GIF to illustrate the issue: https://gfycat.com/gifs/detail/ScrawnyUniqueBighorn
When scrolling in the settings menu, the exit button does not stay at the bottom
When using the map tool only doing a selection from topleft to bottomright will behave properly.
The code that determines where to put annotations on screen wrongly calculates the width of the text for long annotations.
When an object is active and you attempt to resize it while there is another object behind the resize buttons, that object will become selected instead of having the resize tool work as expected on the original token
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.