LittleJS Medal System
- Tracks and displays medals
- Saves medals to local storage
- Newgrounds and OS13k integration
- Tracks and displays medals
- Saves medals to local storage
- Newgrounds and OS13k integration
- Source:
Members
# (static, constant) medals
List of all medals
- Source:
# (static) medalsPreventUnlock
Set to stop medals from being unlockable (like if cheats are enabled)
- Source:
# (static) newgrounds :Newgrounds
This can used to enable Newgrounds functionality
Type:
- Source:
Methods
# (static) medalsInit(saveName)
Initialize medals with a save name used for storage
- Checks if medals are unlocked
- Call this after creating all medals
- Checks if medals are unlocked
- Call this after creating all medals
Parameters:
Name | Type | Description |
---|---|---|
saveName |
String |
- Source: