Game+-+Fruit



=First Game=


 * Adding Sprites**




 * Step 1.** Click on the button with the Pacman symbol. In this form, press the button **Load Sprite**. Find **wall.png** file in the "First Tutorial" > "Sprites" folder Name it spr_wall and press OK to finish.

"First Tutorial" > "Sprites" folder. Name it **spr_apple** and press OK to finish.
 * Step 2.** Click on the button with the Pacman symbol. In this form, press the button **Load Sprite**. Find **apple.png** file in the

"First Tutorial" > "Sprites" folder. Name it **spr_banana** and press OK to finish.
 * Step 3**. Click on the button with the Pacman symbol. In this form, press the button **Load Sprite**. Find **banana.png** file in the

"First Tutorial" > "Sprites" folder. Name it **spr_bomb** and press OK to finish.
 * Step 4**. Click on the button with the Pacman symbol. In this form, press the button **Load Sprite**. Find **bomb.png** file in the


 * Adding Sounds**


 * Step 5**. Click on the button with the sound symbol. In this form, press the button **Load Sound**. Find **click.wav** file in the "First Tutorial" > "Sounds" folder. Name it snd_click and press OK to finish.


 * Step 6**. Click on the button with the sound symbol. In this form, press the button **Load** **Sound**. Find **music.mid** file in the "First Tutorial" > "Sounds" folder. Name it snd_music and press OK to finish.


 * Step 7.** Click on the button with the sound symbol. In this form, press the button **Load** **Sound**. Find **explosion.wav** file in the "First Tutorial" > "Sounds" folder. Name it snd_explosion and press OK to finish.


 * Adding Background**


 * Step 8**. Click on the button with the picture symbol. In this form, press the button **Load Sprite**. Find **wood.png.wav** file in the "First Tutorial" > "Backgrounds" folder. Name it bck_wood and press OK to finish.


 * Create Objects**


 * Step 9.** Click on the blue ball button. Name it obj_wall. Click on and select spr_wall. Check Solid.


 * Step 10.** Click on the blue ball button. Name it obj_apple. Click on and select spr_apple.

Add Event>Create>Start Moving>Select all arrow buttons (NO middle button) > put under speed 4.

Add Event > collision > obj_wall > bounce against solid objects - the last button under Jump.



Add Event > mouse > left pressed > jump to a random position (under Jump - first row - the third button with a question mark).



Click on the Score Tab, select first button > select the score relative to 50.

Click on the Main Tab > select Sound> find snd_click>leave loop>false. Click OK to finish obj>apple

by clicking Start Moving button with arrows, and changing speed to 8. Change the score relative to 100, since it's harder to click on obj_banana due to its speed 8.
 * Step 11.**Control_click on obj_apple and duplicate. Rename it obj_banana, and select spr_banana. Change speed under



Add Event>Create> jump to a random position Add Event >select tab Main 1> Sound>select snd_sxposion>loop>false. Select Main 2 tab>second button on the top zzz (sleep), milliseconds 1000, redraw true. Select Score Tab > select the first button on the second row with numbers 1, 2, 3 "Show Highscore"> Background bck_wood> click OK. Select Main 2 tab> Game > restart game.
 * Step 12.** Click on the blue ball button. Name it obj_bomb. Click on and select spr_bomb.





Add Event>Create>select tab Main 1> Sound>select snd_music>loop>TRUE. Select Main 2 tab> Select Alarm under Time>number of Steps 60>click OK. Add Event > Alarm > select alarm0 Select Main 1>a yellow bulb 'Create Instances">select obj_bomb under Objects. Select Main 2 tab> Select Alarm under Time>number of Steps 60>click OK.
 * Step 13.** Click on the blue ball button. Name it obj_music. You don't have to select a sprite for the object music.






 * Create a Room**
 * Step 14.** Select **Create a Room** (white rectangle button) > under objects select **obj_wall** and click on the stage to draw wall. Use shift to add multiple objects. Control-click to delete objects.

Under Objects, select **obj_apple** and click on the stage three times to put 3 apples on the stage. You can add more apples later.

Under Objects, select **obj_banana** and click on the stage three times to put 3 bananas on the stage. You can add more bananas later.

Under Objects, select **obj_banana** and click on the stage three times to put 3 bananas on the stage. You can add more bananas later.

Under Objects, select **obj_music** and click on the stage ONCE and you should see small blue ball indicating that the sound was added to the stage.

Under Backgrounds, change no background under Foregrounds to bck_wood.




 * Preview Game**
 * Step 15.** Click on a green triangle to preview game. The new window will open.


 * Create an Executable File**
 * Step 16.** Create an executable file.