Lab #25
In this lab, we have to create a secret code that the user must type in order for an image to pop up and it would randomly be placed. To do this, I have to first get a picture that i want to randomly get placed, which I got consent to use. Next I make a function that would append an image as the word is typed. The problem that I had to dealt was making the image randomly placed. Before, the image would only be placed in one spot. In order to fix this, I had to make each image have absolute positioning and then each of them have different positions using random.Math(). This allows for each picture to be placed differently all the time.
Comments
Post a Comment