Preparation
- There are no external assets required for this training session.
Description
The focus of this tutorial is to build a standard football (soccer) league clock: Premier League 90 minute football match.
Session specific objectives
Using game clocks and added time clocks for specific control by WebControl.
Chapter 1: Creating and editing a game clock
- Add a clock node
- Add an ALPHA node
- Add a step animator
- Add an ALPHA node animator
- Create method: startClock
- Create method: setClock
- Add new inputs
- Create method: setClockEnd
Chapter 2: Creating an added time clock
- Add a clock node
- Create method: addedTimeOn
- Add new inputs
- Set the following user code:
- Add an ALPHA node
- Add an ALPHA node animator
- Create method: addAddedTimeEvent
- Set the following user code:
- Create method: clearAddedTimeEvent
- Set the following user code:
- Create method: setAddedTime
- Set the following user code
- Create method: setAddedTimeClock
- Add new Block
- Add new inputs
- Create method: startAddedTimeClock
- Create method: stopAddedTimeClock
Expected duration
4 hours
User Level
- Advanced users
- Course complete users