Git Product home page Git Product logo

banjospeedruns's Introduction

banjospeedruns.com logo

The community website for Banjo-Kazooie speedrunning.

Purpose

The purpose of this website is to serve as a collection of resources, tricks, strategies, and routes for speedrunning all Banjo-Kazooie series games:

  • Banjo-Kazooie
  • Banjo-Tooie
  • Banjo-Kazooie: Grunty's Revenge
  • Banjo-Pilot
  • Banjo-Kazooie: Nuts & Bolts

Layout

The site's homepage is separated into a grid of six panels: one for each game, and one for general information (leaderboard links, Discord server invite, etc). Within each game panel, there are links to pages for individual levels/worlds. Those pages provide a catalog of known tricks per level, with accompanying descriptions and video embeds where applicable. Also in each game panel are links to pages detailing general movement and pages for category routes/information, among other pages.

Framework

The site was built using HTML/CSS and JavaScript. The pages for individual levels in particular are generated from a template file (level.html) on page load using JavaScript.

For example, the URL https://banjospeedrunning.com/btlevels/mt will generate the page for Mayahem Temple (mt) from Banjo-Tooie (/bt/levels). In this case, the /bt/levels directory will be checked for a file mt.json, and the JavaScript will inject the level data into the template. Each level's trick inventory is stored in a JSON file, like the one below. More about this can be found here.

{
	"title": "Mumbo's Mountain",
	"description": "This is a fun level haha!",
	"general": [{
		"name": "Trick 1",
		"description": "This is a cool trick.",
		"video": "https://www.youtube.com/embed/tAq4nIyZWJ8"
	}],
	"outofbounds": [{
		"name": "Trick 2",
		"description": "This is also a cool trick.",
		"video": "https://www.youtube.com/embed/LMvXeUZFbgg"
	}]
}

With this method, the template level page's layout can be changed in the future without much hassle, while the page content can stay the same.

The pages for individual categories are generated in a similar way, from template file (category.html) on page load. More about this can be found here.

banjospeedruns's People

Contributors

a-azmi avatar brandonp728 avatar dechrissen avatar dingoslayer avatar nlonz avatar tsrstormed avatar unlink2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

banjospeedruns's Issues

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.