1 / 10

POP QUIZ!

POP QUIZ!. LO: Learn how to control a sprite to move using the X and Y co-ordinates. Learning Objective. Go to www.touchdevelop.com Sign in using a windows live ID. Click on the open link at the top of the screen. Click on the name of your script used previously.

dore
Download Presentation

POP QUIZ!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. POP QUIZ!

  2. LO: Learn how to control a sprite to move using the X and Y co-ordinates Learning Objective

  3. Go to www.touchdevelop.com Sign in using a windows live ID. Click on the open link at the top of the screen. Click on the name of your script used previously. Loading Your Previous Script

  4. Use Touch develop to build an application which : Moves characters along X and Y co-ordinates without input Extend your game to use interactions: If characters bump into each other on the X and Yco-ordinates create an event or an action whenthis takes place. Learning Outcomes

  5. What is X and Y?

  6. Create a procedure click on new in the code section. Name the procedure to something you can remember. I.E – Score setup Write out your code which would set up the score on the screen. Insert your procedure into main(). Creating a moving object

  7. Try and get a number of moving objects through out your game. Have a character which moves up and then down using a loop. Have a character which moves left and then right using a loop. Task: -

  8. Extension – Get your characters to do some, type of action if they happen to bump into each other. Edge of screen… See if you can get your character to change direction when it is at a particular position on the screen. Extensions: -

  9. Hint….

More Related