Skip to content

Animations Team Teach - Finishline.js, and other small additions #67

@SanPranav

Description

@SanPranav

Finishline.js

Finishline.js is a new file that we are planning to implement into the game as soon as possible. Finish line is a new file that will incorporate all finishing structures code, such as scale factor and other small details into one file base. Mr. Mortenson recommended that we create this in order to simplify the games code as all the different objects had similar code. Below you can see the code for Tube.js, which is the original finish line object.
image
When compared to another object such as Cabin.js we can see that there are barley any differences.
image
As you can see, the only differences in the code are the constants that are defined. This can be incorporated into a larger file that we named finishline.js. So, we are currently adding this file into the game. Derek and I are currently working on other changes to our repository as well. This new file is related to the object oriented programming. As the tube and other items in the game are recognized as objects showing how we are changing the game around an object, therefore is object oriented programming. This new file will make it so that more people will be able to work on the game easier and more faster.

Game Level

Other than that our game is normal, and has all the necessary features. The enemies have different speeds and visual changes for each level, such as in impossible mode the enemies turn upside down.
image
The code above displays the code that we used to change the brightness (color) and rotates the enemies. This allowed us to fulfil one of the necessary requirements for our game.

Transition Screens

With the plethora of new levels that have been added, we are required to make transitions for each level. And so we did. There are now transition screens for all of the levels, including the minigame. We also reorganized the transition pictures into different folders to make it easier to access. We have updated the paths for this folder as well, so that it runs smoothly. Below are the pictures that we added into the game.
Ancient Greece:
ancientgreececompletescreenMiniGame Complete Screen
minigamecompletescreen
Quidditch: quidditchcompletescreen
Fish:
fishcompletescreen
As you can see, these transition screens look a lot better than the older ones and make the game run more smoothly. As of now the transition screens are messed up due to the addition of the new boss level, and we will fix these screens as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions