OverviewDuring this assignment, you will bring together your knowledge from the previous weeks and build on it to create an engaging, collision-based 2D animation. There are many different kinds of...

1 answer below »

Overview




During this assignment, you will bring together your knowledge from

the previous weeks and build on it to create an engaging,

collision-based 2D animation. There are many different kinds of choices

you may make with this work, so take time to explore your options before

getting started. You should not feel limited by the possibilities

provided here. Feel free to try out new and different ideas as you

create!




Prompt




You will be completing your coding work in Visual Studio. Be sure to

begin with a project file that has the libraries set up correctly from

your earlier efforts in Module One. Then, copy the starter code from the

Module Eight Assignment CodeTXT

file into your Visual Studio project. Remember, this is the same code

you reviewed in the video for this week. From here you will be able to

manipulate the provided code in a number of different ways. Note that

Linmath.h is the only file from the original ZIP folders you used to

complete your setup in Module One that is used in this week’s provided

code.




Specifically, you must address the following rubric criteria:






  • Arrange the bricks into an organizational structure that promotes engagement with the animation.

    The goal is to create a layout that is visually unique or compelling

    and includes bricks of a style that makes the animation more interesting

    to watch. Some options for details you may wish to include are as

    follows, but you do not need to complete all of these. You can also try

    an idea of your own instead.


    • Add texture or color to the different kinds of bricks.

    • Change the sizes of the bricks.

    • Add a manually controlled paddle to the bottom of the screen, using the brick item as a base.










  • Apply physics laws to the circles. When a circle

    hits one of the sides of the screen, its progress should be altered in

    some way. While the circles currently move at a constant speed and have

    randomized movement once they bounce off one edge of the screen, there

    are ways you can alter this to make the animation more engaging. Some

    options you may wish to use for your work are as follows, but you do not

    need to complete all of these. You can also try an idea of your own

    instead.


    • Alter the speed of the circle.

    • Change the angle of trajectory so it follows physics laws instead of

      taking a randomized pattern. (This means it would continue in the

      direction it was heading rather than moving backward.)

    • Add friction to specific surfaces, which would affect the circle and slow its progress once it collided with the surface.










  • Alter the state of the bricks upon collision. When a

    circle collides with a brick, you will need to code for an event to

    occur. This means updating the code to alter the state of the bricks

    upon collision. Some options you may wish to use for your work are as

    follows, but you do not need to complete all of these. You can also try

    an idea of your own instead.


    • Require the brick to take a certain number of hits before it disappears.

    • Change the color or texture of the brick when it is hit.

    • Combine both of the previous two options, meaning the brick changes

      its texture each time it is hit until it disappears. For example, you

      may choose to add cracks to the texture of the brick until it is

      “destroyed.”










  • Alter the state of the circles upon collision. When

    a circle collides with another circle, you will need to code for an

    event to occur. This means updating the code to alter the state of the

    circles upon collision. Some options you may wish to use for your work

    are as follows, but you do not need to complete all of these. You can

    also try an idea of your own instead.


    • The two circles combine to become one larger circle.

    • The circles change their color or texture.

    • Both circles disappear once hit.

    • The circles spawn multiple smaller circles.










  • Explain the changes you made to the code. Discuss

    the work you completed by focusing on the different tactics you used to

    create a fully realized 2D animation. What were the changes you chose to

    make? What was your intent behind them? How did you approach coding to

    successfully create this outcome?






  • Create code that follows a logical flow without syntax errors.

    The code you create has to be executable and all the code that is

    included needs to be reached by the execution. Note that not everything

    should be written in a single function and your work should be

    well-modularized.






  • Apply coding best practices in your creations. Pay

    particular attention to the way you format and comment your code.

    Program code should be easy to read and follow industry standard code

    formatting practices, such as indentation and spacing. Commenting best

    practices should be in place to ensure the code is briefly and clearly

    explained using descriptive comments.




Guidelines for Submission




Submit a 100- to 200-word Microsoft Word document along with a

completed ZIP folder containing all of your code. Your ZIP folder may

include one or multiple CPP files along with Visual Studio project

files. It should also include an EXE file, because without this your

code will not be able to run. Checking for the EXE can be used as a

quick reference on the functionality of your code before you submit.

Answered 1 days AfterDec 11, 2022

Answer To: OverviewDuring this assignment, you will bring together your knowledge from the previous weeks and...

Aditi answered on Dec 13 2022
33 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here