ethanjli / linerider-userscript-mods Goto Github PK
View Code? Open in Web Editor NEWThis project forked from emergentstudios/linerider-userscript-mods
Userscript mods for Line Rider
This project forked from emergentstudios/linerider-userscript-mods
Userscript mods for Line Rider
It would be nice to be able to view and adjust the angle and length of the selected lines, with a user setting for adjusting from either the x1,y1 endpoint or the x2,y2 endpoint or from the endpoint with smaller or larger x/y
Right now the only way to change rider position is to drag an icon, and there's no GUI support to change the starting velocity of riders. It'd be great if we could adjust the starting velocities of riders. For more precise positioning, and for adjusting the position only along one axis, it'd also be nice to have a GUI for setting each rider's position numerically.
I received the following bug report:
there's an annoying thing where you can't erase the input boxes and type a new number, side effect being if you want to type "-15" you like, have to type 15 and then add the "-" after, if you try to just start typing with "-" it resets to 0. So if you select it and type "-15" you wind up with "015"
The issue here is probably that the onChange
handler for number inputs is (via parseFloatOrDefault
) trying to parse the input value even when it's blank, which resets the value back to zero. We can add a special handling case where it does nothing if the input value is an empty string, and that should probably fix this issue.
It'd be great if the Bezier tool functioned more like a proper pen tool where all handles are editable simultaneously, instead of requiring a "Commit" before the next segment is added and made editable.
This would show a grey translucent overlay of where the lines were in the last frame relative to the camera. It would enable nice animations. Ideally it could be configured with either a frame offset relative to the current frame, or with a fixed frame ID.
We'll need to figure out how to call the getPlaybackCamera
and/or getCurrentCamera
selectors. It may also be useful to investigate window.store.getState().simulator.engine
.
This would repeatedly apply a particular simple transformation (e.g. translation or rotation) to the selection, drawing making a copy with each application of the transformation. It'd be even better if it could output the copies onto separate layers, but that may be complicated.
Right now it cancels the draft and thus loses data while also not being undoable/redoable.
Ideally we'd have a scrollable sidebar/overlay for all mods, and mods would register as accordion panels within that sidebar. Right now, installing many mods means that users can quickly run out of screen real-estate.
This may need to be implemented in linerider.com
It was requested to be able to randomize the rotation of the selection in the transform mod. Perhaps we can add a checkbox which toggles showing/hiding randomization actions, including one for the rotation setting. To keep things simple and intuitive, we can just use the slider limits as the randomization limits.
Tiling preview would draw virtual duplicate copies of the current selection at a certain translational and/or rotational offset (e.g. for triangular/square/hexagonal tiling)
It'd be nice if the Transform Mod could behave as if the tool will copy the old selection, make a new copy with the transformation applied, on the currently-selected layer, and select that new copy (without resetting the settings). This allows patterning, like the linear/rotational array mod described in #11, with fine manual control. It'd probably be an "advanced mode" tool.
In order to change which layer a selection is on, we currently have to do a sequence of copying a selection, changing the layer, pasting the selection, changing the layer, and re-selecting the old selection in order to delete it. This is annoying.
We should be able to add a drop-down menu to the Selection Metadata Mod to change which layer the selection is on. Implementation: The lines
array in the loadOriginals
function of the selection metadata mod exposes a way to change the layer ID of each line, so that we can change which layer the line is on. store.getState().simulator.engine.engine.state.layers
gives an array of layers, so we can look up the name of each layer from its ID.
It was requested to have a mode where clicking and dragging will continuously add the lines/dots/polygons set by the custom tool. This could also be used to essentially create rudimentary "brushes" in LR.
It'd be pretty great if we could do the svg import within the browser, as a mod.
Currently, in order to move lines from one layer to another you have to copy the lines, delete them, and paste them to the other layer. It's annoying and unnecessarily complicated. It'd be great if the Line Metadata mod could get the list of layers and make a drop-down for selecting a layer to move them to.
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.