bowl game

SAMEEN TARIQ

BA(IR) SEM 1

  • choose a background from add new background option
  • add one bowl sprite and three fruits sprite
  • i choose one apple ,one banana and one orange sprite.
  • for the bowl add the following script
  • now for the apple add the following script:
  • now for banana add the following script
  • and for the orange add the following script
  • the game looks like this,and its working.

Mishal ashraf

  • First I selected a fruit salad bowl sprite
  • Then I clicked when clicked
  • Then I opened the option motion
  • There I clicked change X by 10
  • Then I clicked control
  • Selected the option forever
  • Then I again opened control and clicked if then
  • Then I chose sensing and selected key option
  • Then opened motion and selected the option change X by 10
  • Again added if selected the same option
  • And repeated the same procedure
  • Then I added a new sprite apple
  • Started writing its scripts
  • Added when clicked
  • Selected motion and added go to mouse pointer
  • Then added set y by -5
  • Then added forever
  • Then added if
  • Then opened sensing and added change y position
  • Then added go to mouse pointer
  • Then added set y to
  • Then I made a separate variable
  • Then I repeated this step for the other two apples sprite

 

 

apple game

Urva Amir 

  • First I selected a fruit salad bowl sprite
  • Then I clicked when clicked
  • Then I opened the option motion
  • There I clicked change X by 10
  • Then I clicked control
  • Selected the option forever
  • Then I again opened control and clicked if then
  • Then I chose sensing and selected key option
  • Then opened motion and selected the option change X by 10
  • Again added if selected the same option
  • And repeated the same procedure
  • Then I added a new sprite apple
  • Started writing its scripts
  • Added when clicked
  • Selected motion and added go to mouse pointer
  • Then added set y by -5
  • Then added forever
  • Then added if
  • Then opened sensing and added change y position
  • Then added go to mouse pointer
  • Then added set y to
  • Then I made a separate variable
  • Then I repeated this step for the other two apples sprite

 

Fruit Game

Sabira Ahsan, Sem 1, IR

Fruit Game assignment

26 November 2016

we chose 4 scripts, the three fruits will go in the bowl and every time a fruit touches a bowl the score will be updated

A separate script will be needed for the bowl where as the same script can be used for the 3 fruits with slight variations.

The screenshots above show in detail the dialogues we have chosen

Fruit Game (3 fruits)

Post-Mid assignment

Suhaima Khalid

Submitted to:Ms.Hina gull

Steps:

Firstly,We will add sprites ,bowl,apple,orange,watermelon respectively.

-Then we will add bowl script,furthermore apple script adding data which is score for apple particularly.

-A new feature added is  value which is smaller than -170

-Furthermore we will duplicate apple script to other fruits script editing the data value to orange score and watermelon score.

-Lastly,background will be added to enhance the scenario.

 

 

Apple Game in Scratch

To implement Apple game in Scratch a step wise procedure is as follows:

1. Click on new sprite option and add one sprite apple and one sprite empty bowl.

2. Click on the new backdrop option and add any backdrop.

After these three steps interface will look like this.

interface in scratch

3.  select bowl sprite and write the following script.

code for bowl

4. select apple sprite and write the following script.

code for apple

5. to create a new variable, click on the Data and make a variable option then write the following script.

new variable in scratch

 

Score variable in scratch

6. . Click the green flag to run the game.

A pdf of the given tutorial is here. Apple Game