• PROGRAMMING THE GAME

    It should be noted that there are different layouts to carry out the programming, the elements that we want to appear in the background will be programmed in the background section, and for the elements of sprite in the sprites section.


    In the first image the elements programmed for the background are appreciated, and in the second the elements of the sprite.




    In the background layout, we will initialize the variables:



    In the sprites layout, we will schedule the presentation of the game and the questions:




    Next, we will analyze each block of programming in more detail:


    1. Game Presentation:


    2. Questions Programming:



    3. End of the game:



    DESIGN OF BACKGROUNDS AND GAME ELEMENTSTESTING THE GAME