-
Notifications
You must be signed in to change notification settings - Fork 9
COMPANION ANIMATION CONTROLLER TEST PLAN
RagGul edited this page Oct 5, 2023
·
1 revision
- Create an instance of
CompanionAnimationController
. - Verify that the object is created successfully and that the animator and infanimator components are initialized correctly.
- Uncomment the code responsible for initializing the infant companion animation renderer and event listeners.
- Ensure that the infant companion animation renderer and event listeners are set up correctly.
- Comment the code responsible for initializing the infant companion animation renderer and event listeners.
- Ensure that the infant companion animation-related methods are not triggered.
- Create an instance of
CompanionAnimationController
. - Call the
animateLeft
method. - Verify that the companion's left animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateRight
method. - Verify that the companion's right animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateUp
method. - Verify that the companion's up animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateDown
method. - Verify that the companion's down animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateUpLeft
method. - Verify that the companion's up-left animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateUpRight
method. - Verify that the companion's up-right animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateDownLeft
method. - Verify that the companion's down-left animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateDownRight
method. - Verify that the companion's down-right animation is started correctly.
- Create an instance of
CompanionAnimationController
. - Call the
animateStop
method with aVector2
parameter representing the last movement direction. - Ensure that the correct standing animation is started based on the direction.
- Create an instance of
CompanionAnimationController
. - Call the
animateStop
method with aVector2
parameter representing the last movement direction as left. - Verify that the companion's left standing animation is started.
- Create an instance of
CompanionAnimationController
. - Call the
animateStop
method with aVector2
parameter representing the last movement direction as right. - Verify that the companion's right standing animation is started.
- Create an instance of
CompanionAnimationController
. - Call the
animateStop
method with aVector2
parameter representing the last movement direction as up. - Verify that the companion's up standing animation is started.
- Create an instance of
CompanionAnimationController
. - Call the
animateStop
method with aVector2
parameter representing the last movement direction as down. - Verify that the companion's down standing animation is started.
- Uncomment the code responsible for initializing the infant companion animation renderer and event listeners.
- Trigger animation events for the infant companion and verify that the corresponding animations are started.
Escape Earth Game
Interaction Controller and Interactable Components
Game and Entity Configuration Files
Loading Game Configuration Files