-
Notifications
You must be signed in to change notification settings - Fork 0
Game Juice (Programming)
Ryxali edited this page Feb 12, 2015
·
9 revisions
By changing certain fields, special effects will occur or intensify.
As a rule of thumb, avoid editing the fields of singletons if they aren't listed here as they are likely used as a parameter for the Unity Editor.
HUDSingleton.instance:
- **speed **- update with the speed of the client's character to increase the value of the speedometer
- **onFire **- set to true when the client's character reaches fiery speed mode to make the no-smoking sign shake
Bobber.instance:
- **cheerFactor **- Update with a higher value to have the crowd cheer more frequently.
- startClimax(float, float) - call this function when you want to add a moment of intense cheering, i.e. popular player scores kill.