Podcast
Questions and Answers
What should be done to change the sign of c.dx?
What should be done to change the sign of c.dx?
- Stand still when reaching the edge of the canvas
- Set c.dx to -c.dx (correct)
- Use conditionals to reverse the sign of c.dx
- Set c.dx to 0
In Bounded Motion, what action should be taken when reaching the edge of the canvas?
In Bounded Motion, what action should be taken when reaching the edge of the canvas?
- Reverse directions
- Increase the speed
- Stand still (correct)
- Move to the opposite edge of the canvas
What is the key difference between Vertical and Diagonal Motion in terms of movement direction?
What is the key difference between Vertical and Diagonal Motion in terms of movement direction?
- Use reverse directions in Diagonal Motion
- Always move horizontally in Vertical Motion
- Use dy instead of dx in Vertical Motion (correct)
- Vertical Motion does not use conditionals
How does the speed of the shape change in Smooth Motion with respect to dx?
How does the speed of the shape change in Smooth Motion with respect to dx?
How can one speed up the application according to the text?
How can one speed up the application according to the text?
What happens when changing the position properties of a group?
What happens when changing the position properties of a group?
How can groups be used to set non-position properties like fill and opacity?
How can groups be used to set non-position properties like fill and opacity?
What can groups not access or set in terms of non-position properties?
What can groups not access or set in terms of non-position properties?
How can one remove a shape from a group?
How can one remove a shape from a group?
What is a common use of the onStep function?
What is a common use of the onStep function?
How can you adjust the speed at which onStep runs?
How can you adjust the speed at which onStep runs?