Page 88 - Digicode_AI_class_6
P. 88

Game Controls: Take control of your game by moving your player character or activating various
               in-game functions through the use of buttons. You can also access the menu and restart your
               game from here.
                Simulator Toolbar:  The  Simulator  Toolbar  equips you  with  essential  controls  for  your  game
               simulation. You can run the game, pause it, restart it, enable debugging, and manage the game's
               display settings.

                Save Project: Secure your game project by saving it to a file with a name of your choice. This
               ensures that your progress is preserved.
                Workspace Toolbar: The workspace toolbar provides tools to undo or redo changes made to your
               code. It also allows you to zoom in or out to adjust your view of the code within the workspace.
                Share: Collaborate and showcase your game by sharing it in the cloud. You'll receive a shareable
               link to distribute to others.
                Download: When your game is ready for deployment, use this option to download your code to
               the arcade hardware for it to be played on a physical device.

            Commonly Used Blocks

            Beginners can program using block-based programming, which allows users to drag and drop code
            pieces into an editor. To programme our games in MakeCode Arcade, we can use a variety of code
            blocks, which are listed below:

                Sprites Blocks: These blocks allow you to create and define sprites, which represent objects
               within your game. Sprites can be anything from players and enemies to food items and projectiles.


















                Controller Blocks: These blocks allow you to specify which buttons on the controller trigger
               specific actions. For instance, you can assign button A to shoot arrows in your game.






















                 86    DigiCode AI-VI
   83   84   85   86   87   88   89   90   91   92   93