-
Notifications
You must be signed in to change notification settings - Fork 0
Game Settings
The settings screen allows the player to change the clock format and adjust the in-game sound volumes. The clock format can either be 24/12hr time selected with a toggle button and the sounds options are separated into individual volume sliders for sound effects and background music and a global mute checkbox.
These settings are automatically saved to the player's system using the Preferences API so that they are saved between game plays.
- 24/12hr toggle
- Sound effects volume
- Background music volume
- Mute check
- Back to Main Menu
Sound
represents the players sounds settings
Parameters | Description |
---|---|
boolean muted, double sfxVolume, double backgroundVolume |
A Sound object is created with the given values. sfxVolume and backgroundVolume are bounded between 0 and 1 and if they are outside those bounds they will be automatically adjusted to fit between them (eg. -0.17 -> 0, 1.53 -> 1) |
Method | Parameters | Returns | Description |
---|---|---|---|
isMuted |
none |
boolean |
Check if the Sound object is muted |
getSFXVolume |
none |
double |
Get the volume for sound effects, returns [0,1] |
getBackgroundVolume |
none |
double |
Get the volume for background music, return [0,1] |
Resolution
represents a screen resolution (currently not in use)
Parameters | Description |
---|---|
double width, double height, String ratio |
A Resolution object is created with the given values. |
Method | Parameters | Returns | Description |
---|---|---|---|
getWidth |
none |
double |
Get the width of the resolution |
getHeight |
none |
double |
Get the height of the resolution |
toString |
none |
String |
Get the string representation of the resolution in the form, "width x height ratio " |
Method | Parameters | Returns | Description |
---|---|---|---|
saveWindowSettings |
none |
none |
Save the current position of the game window to user's system |
set24Hour |
boolean set |
none |
Saves the value of set as the 24hr toggle settings to the user's system |
is24Hour |
none |
boolean |
Check if the 24hr toggle setting, from the user's sysmte, is true |
setSound |
Sound sound |
none |
Updates the Sound object in GameManger to sound and save all the settings from sound to the user's system |
getSound |
none |
Sound |
Get the current Sound object from GameManager
|
Saving and Loading
Statistics tracking
- Statistics Tracking Overview
- Statistics Tracking
- User Statistics
- Champion Statistics
- Common Statistics
Game Play
APIs
- Section One: Pyramid Scheme Beginner's Guide
- Section Two: Getting Started
- Section Three: The Pyramid
- Section Four: Game Layout Explanation
- Section Five: Cards
- Section Six: Champions
- Section Seven: DuckDust
- Section: Eight: How to play Pyramid Scheme
- Section Nine: Ways to play
- Section Ten: Deck Building
- Section Eleven: How to Acquire Cards
- Section Twelve: Achievements
- Section Thirteen: Accessories
Other Guides
Design Guides
Overviews
- Architecture Overview
- UI Overview
- Main Menu Screen Overview
- Standardised Screen Graphics
- Overview of Graphics
Features
- Story Mode
- Cutscenes
- Beginners Guide Tutorial
- Clock
- Deckbuilding
- Card Deck Gallery
- Champion Roster
- Market Place
- Card Packs
- Game Settings
- Tool-tips
Animations
Splash Screen & Create Account Screen
Player Account Settings
AI
Duck Dust
Brainstorming
- Brainstorming - General
- Brainstorming - UI
- Brainstorming - Mechanics
- Brainstorming - Pyramid Design Discussion
- Brainstorming - Champions, Abilities and Design Mock-up
- Brainstorming - Achievement
Future Development