A note has also been added to the Corrections section of the Project Brief to call attention to the difference between Video 2 and the updated transcript.
Thursday, 28 September 2017
Core 1: Coding Update
The Core 1: Coding transcript
has been updated to improve section 2, Code: random movement of mole.
The original version set the X and Y values of the mole's position to a random integer in the range 0 to 300 on a 300x300 pixel canvas. However, since the X and Y values correspond to the top left corner of the sprite, a value above 236 on either axis meant that some or all of the image was not visible. The range for the random integers has therefore been changed to 0 to 236.
A note has also been added to the Corrections section of the Project Brief to call attention to the difference between Video 2 and the updated transcript.
A note has also been added to the Corrections section of the Project Brief to call attention to the difference between Video 2 and the updated transcript.

No comments:
Post a Comment