Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team 1 - Animation upon mainMenu title being clicked (Juicy!!!) #116

Open
3 tasks done
Jesseable opened this issue Oct 14, 2021 · 0 comments
Open
3 tasks done

Team 1 - Animation upon mainMenu title being clicked (Juicy!!!) #116

Jesseable opened this issue Oct 14, 2021 · 0 comments

Comments

@Jesseable
Copy link
Contributor

Jesseable commented Oct 14, 2021

Description

Team 1 will be adding an animation to the MainMenu title to increase the games Juiciness.

Sub-feature/component

  1. adding an image that will be called upon when the mainMenu title is pressed
  2. Increasing the image size over a period of time before it is removed
  3. Remove the image after a set time period or set size

Description

  1. Having the head of the player appear, increase in size, and then be removed

Milestones (all at 1600 AEST)

  • Goal 0 (Oct. 14th): Create the image
  • Goal 1 (Oct. 16th): Create the code
  • Goal 2 (Oct. 20th): Make it as juicy as possible

Documentation

  • Create a wiki page detailing the process

Ideas and processes

  • Decided to not have an animation and instead enlarge an image as creating an animations proved onerous
  • Used the MainMenuTitle image as a placeholder for the guys head and enlarged that, removing the original title that was displayed
  • Decided to remove the title image as we did the animations. Having the title image switch from its hovered state back to unhovered detracts the eye from the animation occurring.
  • Discussed having the image rotate in a circular motion as it enlarges
  • Discarded the idea upon realising that the image rotates around the bottom left hand corner, contrary to the hope that it would rotate around it's centre. This meant we would need to create a complex mathematical function in order to implement this sprint. This was too complex at the time as we needed to concentrate on Unit testing instead.
  • As we were able to reset the image's origin to the central position (Because the class inherited the Actor class), we were able to finally implement the rotation code. We also increased the number of rotation proportionally to the number of time the main menu button was clicked.

Members

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant