-
Notifications
You must be signed in to change notification settings - Fork 6
event strings
Tylar edited this page Jul 3, 2015
·
1 revision
angular's $broadcast/$emit/$on are used to communicate across modules, but there isn't a great way to list out all the event strings in code so this page is used to document event string constants and their function. This list may not be fully up-to-date, but it's better than nothing.
*** remember: event strings are case-sensitive and must match exactly, so watch out for typos ***
used to tell the module handler to switch from current module to another.
str moduleName : name of the module to switch to
- asteroid-mining
- travel-screen
- main-menu
- the-oregon-trajectory.game
used to change background music from within a module
newMusic: Howler.js sound object to be set as new background music.
- asteroid-mining
- main-menu
- the-oregon-trajectory.game
global un-mute volume.
- audio-controls
- asteroid-mining
global volume mute.
- audio-controls
- asteroid-mining
#Nav
- Locations
- KSC, Earth
- ISS, LEO
- Moonbase Alpha, Moon
- ...
- Planetary bodies
- Earth
- Moon
- Ceres
- Mars
- Jupiter
- Europa
- Ships
- J-R0D
- Orion mk3
- Trajectories
- story:
- Gameplay
- Characters
- art style:
- sound design
- UI