Skip to content
Oleksandr Malakhov edited this page Jul 25, 2018 · 1 revision

There are 3 util files in the game:

Animations:

Saved here are all the animations for the player and additionally the animation for the ball The speed of the Animation is controlled with the frameRate

Constants:

Contains various constants like Width and Height of the game canvas but also the brick patterns

Gamehelpers:

Contains a lot of code which helps the scenes. There are such functions like creating the ball or the player sprite, but also all the functionallity for the fullscreen experience and the game over procedure

Clone this wiki locally