Giter Site home page Giter Site logo

cycy-wrote-custom-macros's Introduction

Cycy wrote custom macros


Installation

Download this repository (easiest way to grab everything, really) and cherry pick whatever you want in your project. Some might have CSS files, others won't, but everything you need is there. Along with a README.md for each macro which has further instructions on installation and usage.

Each macro set provides a <macro-name>.twee-config.yaml file which can also be added to workspace if using the Twee 3 Language Tools VSCode extension, for macro definitions of that set. It's recommended for error diagnostics.

Besides that, there's a cycy.twee-config.yaml in the root of the repo, and that has definitions for all the macro-sets in one file. This is the better way to go about it โ€” only one file to keep track of.


Macro sets

  1. Click to Proceed (CTP) v2

    • Clean way to reveal text block-by-block in the same passage without having to nest a million <<linkreplace>> macros.
    • Primarily made for sequential rendering, e.g. VN like interfaces.

    NOTE: CTP v1 can be found here.

  2. Crossfade

    • Crossfade between two images with simple macros.
    • Can be used to fade-in/out too.
  3. Live Update

    • Make the display of an expression 'live' and 'update' every such display to see the changes instantly.
    • Under the hood, it works similarly to how the <<replace>> and other DOM macros do, but on the surface, it's wayyy simpler to use.

JavaScript Libraries

  1. Rock paper scissors (RPS)
    • Makes RPS logic simpler.
    • Works for more than just three elements.

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.