Medals

Medals

LittleJS Medal System
- Tracks and displays medals
- Saves medals to local storage
- Newgrounds and OS13k integration

Members

# (static, constant) medals

List of all medals

# (static) medalsPreventUnlock

Set to stop medals from being unlockable (like if cheats are enabled)

# (static) newgrounds :Newgrounds

This can used to enable Newgrounds functionality
Type:

Methods

# (static) medalsInit(saveName)

Initialize medals with a save name used for storage
- Checks if medals are unlocked
- Call this after creating all medals
Parameters:
Name Type Description
saveName String