Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Chronoes/reward-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Special effects should be added to effects.js in the format:

window.__SPECIAL_EFFECTS__ = [
    {
        name: 'johnCena',
        track: '/john-cena-theme.ogg',
        crossFade: 200,
        effectStart: function(duration) {
            return duration - 850;
        },
        useEffect: function(number, minimum, maximum) {
            return minimum === 420 && maximum === 1337;
        },
        injectHtml: function(duration) {
            return duration;
        },
        html: '<span>custom html here</span>',
    },
    {
        name: 'snoopDogg',
        track: '/snoop-d.ogg',
        crossFade: 100,
        effectStart: function(duration) {
            return duration - 950;
        },
        useEffect: function(number, minimum, maximum) {
            return number === 420;
        },
    },
];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published