-
Notifications
You must be signed in to change notification settings - Fork 6
Home
emilplane edited this page Oct 11, 2024
·
3 revisions
Welcome to the Battles 2 Popology documentation! This documentation is for the upcoming 1.0 version of the website, which is currently in heavy development. The page in interest can be found at /newpopoplogy.html.
The CSS for this page has been revamped and is completely seperate from other parts of the website. There are two CSS files:
- /styles/ui.css: this file is for defining key elements (buttons, basic text formatting, etc.) that are indended for use across the entire website.
- /styles/newpopology.css: this file is for defining elements specifically for the Popology page.
Due to the increased complexity of the code, it has been split into multiple files and folders:
- main.js: main script, called in the HTML file
- popologyTower.js: the powerhouse of the new way that Popology stats work. Houses the class
PopologyTowerthat is responsible for handling instances of a tower. - modulesHeiarchy folder: houses more functionality for the
PopologyTowerclass:- towerLevel.js: houses classes for a tower/upgrade
- moduleLevel.js: houses classes for "modules"
- propertyLevel.js: houses classes for module properties
- even more files (will be expanded on later)