09/02/23 - Animate Work
In today's lesson, we started to work on how we will make our interactive posters, focusing on creating the buttons that we would need to move around our documents.
We then had to place all of these buttons onto their correct places within the Main Stage, and name them. To start coding our buttons, we started by copying in the code for our menu button that we were given, making sure that it linked up with the names that we had written. We had to copy this code for the different menu buttons within the other pages as well, but slightly changing the name each time.
We then had to copy in the code to work the other buttons on our Main Menu page. We had to make sure that all of the names within the functions and Event Listeners matched up with the names we had given our buttons previously. After this, we had to test our pages, to see if they actually worked, which luckily mine did.
To finish off the lesson, we created a circle button, which we made change colour when hovered over, and then added into our main stage, onto a new layer, where we added in a Motion Tween, so that it would move around the page, creating a design. We then duplicated this, and slightly rotated it, so that there were a couple of circles moving around the page.
https://ca-net.herts.ac.uk/~na21aav/Poster/Poster.html - Link to Work.






Comments
Post a Comment