Skip to content

A NodeCG bundle for broadcast graphics for Warwick's Awesome Speedruns & Demos 2022

License

Notifications You must be signed in to change notification settings

ericthelemur/wasd2022-frontend

 
 

Repository files navigation

wasd2022-frontend

about

This is a NodeCG bundle used for broadcast graphics for the videogame speedrunning marathon event Warwick's Awesome Speedruns & Demos 2021 Summer.

It also uses nodecg-cli to setup the bundles.

dependant NodeCG bundles

  • nodecg-speedcontrol for run detail management, run timing and Twitch detail integration
  • nodecg-tiltify for pulling donation and reward information for a campaign from Tiltify.com
  • ncg-spotify for displaying the currently playing song used as background music being played via Spotify

dependant JS packages

  • mithril for a hyperscript based framework for creating the web graphics and interfaces.
  • gsap for providing animations for web graphics
  • fitty for dynamically resizing text to fit in dimension in web graphics.
  • lodash for the get function to fetch deeply nested values
  • moment for providing time conversion convenience functions
  • rollup and it's plugins for bundling the source JS code and it's assets for use with NodeCG.

screenshots

break screen

image

game screen

image

installation

Tested with node 16.13.1 and npm 8.1.2

clone and install NodeCG and bundles

npm install nodecg-cli -g

# Create repo
nodecg setup

# Install bundles
nodecg install speedcontrol/nodecg-speedcontrol
nodecg install daniellockard/nodecg-tiltify
nodecg install EwanLyon/ncg-spotify

# Install this bundle 
git clone https://github.com/ericthelemur/wasd2022-frontend

build

cd nodecg/bundles/wasd2022-frontend
npm ci
npm run build

configuration

Copy the JSON config files to /nodecg/cfg. In wasd2022-frontend:

cp cfg/* ../../cfg

Edit the JSON files in /nodecg/cfg to populate them with credentials. See the README files of the dependent NodeCG bundles for how to obtain these credentials.

running

In wasd2022-frontend:

npm run start

license

All source code in this repository is licensed under the MIT license, aside from exceptions mentioned below. See the license.txt file for full license terms.

exceptions

About

A NodeCG bundle for broadcast graphics for Warwick's Awesome Speedruns & Demos 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.5%
  • CSS 38.5%