![]() Move to your “Event” block, pick up ‘When the green flag clicked For such to happen, we need to write down a code. ![]() The game becomes useless if the Pacman does not move or change directions, the excellency of the game is concerned with the movement of the sprites, the Ghost and Pacman sprites. MOVEMENT OF THE PACMAN AND DIRECTION CHANGES CREATE A VARIABLE FOR ‘SCORE’ AND ‘HIGH SCORE’Ī variable is a quantity that can assume any set of values, therefore we shall create a variable of the score and high score, in which each score is seen on the ‘score’ button and the highest goal points reflects on the ‘High Score’ button, the ‘variable’ can be gotten from the variable block inside the ‘Script’ category. It looks very tiny during your design but clear when placed on the backdrop, the same applies to both the dot and bonus. We shall also bring out the dots sprites as shown on the first image which serve as food or meal for the Pacman, we shall be using two different kinds of dots bonus and dots which will be placed in several parts of the backdrop otherwise called a background. To create a shape for the eyes, select the square-like shape, place it in front of the PacMan created and then apply any kind of colour for the shape.įor your Ghost sprites, make use of the same format, adding your own design and templates.Select your line shape, create a semi-circle, and apply colour by selecting your colour paint. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |