Page 98 - 2502_Pakistan-kifayat_C-8
P. 98

Add the following scripts to your Egg sprite: When the green flag is clicked, set Score to 0 and
                 position the egg at coordinates (x: 220, y: -145). Make the egg move continuously from right to left
                 across the screen using glide and go to blocks.












































                   Create variables named Score, Level, and  Timer to keep track of the player's points  and  game
                 progress.




































                  96  Premium Edition-VIII
   93   94   95   96   97   98   99   100   101   102   103