These two keys on the keyboard will be the main control. In the drop down menu choose letter ‘q’ and for the other one choose letter ‘a’. These blocks run the program when a certain condition becomes true. Go to its scripts tab, and from the Events category add two ‘when space key pressed’ blocks, and one ‘when flag clicked’ block. Now it is time to program simple movement for this sprite. Make sure that you set its central point in the middle. Next, create a new sprite by drawing a simple, thick black line onto the painting canvas. For my project, I have chosen a nice creamy, sand color. Next, click on the backdrop, click on costumes and set a nice background color by using the bucket tool. Lets st art by opening a new project, and delete the cat sprite right away. In this article I will show you how to create a very simple Scratch pong.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |