GithubHelp home page GithubHelp logo

lineanimation's Introduction

LineAnimation

Make lines that move

Requirements

  • A Quaver build that
    • Doesn't sandbox plugins (allows the load() function)
    • Has map.InitialScrollVelocity
  • A map with BPM affects SV disabled

Recommended

  • Knowledge of algebraic functions
  • Knowledge of expressing such functions in Lua
  • A graphing calculator
  • A way to backup .qua files
  • Maybe knowledge of basic calculus

How to Use

  1. Select a time period for an animation to occur during
  2. Adjust advanced settings if desired
  3. Press the "Setup" button to place the base animation SVs
  4. Express the desired paths of lines as algebraic functions written in lua
  5. Press the "Add" button to place timing points and SVs so that moving lines appear during the selected time period

Writing a Function

  • The function should take one number as an input representing the progress through an animation
  • The function should return a table/list of numbers as an output representing the position of lines in a frame
  • The function's domain is [0, 1)
    • 0 represents the start of the animation
    • 1 represents the end of the animation
  • The function's range should be [0, 1]
    • 0 represents the bottom of the playfield
    • 1 represents the top of the frame
      • Frame size defaults to 600 ms equivalent distance at 1x SV
    • Numbers outside of this range will result in lines under or overflowing into adjacent frames

Important Notes

  • Changing the SVs anytime before an animation is likely to mess it up
  • Once the base animation SVs are placed, the advanced settings should not be changed
  • A note present during an animation will show for only a single frame before it gets hit
  • Separate lines can be added one at a time instead of in a batch, if desired
  • Do not delete the layer this plugin creates, as it contains important data for it to function
  • The .qua file will dramatically increase in size
  • The gameplay preview playfield in the editor is taller than during gameplay
  • Make backups, as it is somewhat painful to edit/remove animations after being saved

Example

lineanimation's People

Contributors

illuminati-craz avatar

Watchers

 avatar

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.