Presentation is loading. Please wait.

Presentation is loading. Please wait.

GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.

Similar presentations


Presentation on theme: "GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a."— Presentation transcript:

1 GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a simple scoring system Using old and new skills, develop a game of paddle ball

2 Create 5 sprites for Game2. They are located in Game2 Resources. Name them spr_ball spr_edge spr_miss spr_score and spr_paddle NAME THEM EXACTLY AS INSTRUCTED 2

3 Create the 3 sounds from the sound files in Game 2 Resources. Name them exactly as instructed. Snd_beep = beep Snd_miss = miss Snd_hit = hit 3

4 Create a background. Load the background from the Game 2 Resources and name it bckgd_green 4

5 Create the above objects using the sprites you created earlier. Name them: obj_ball (visible and solid should be checked) obj_paddle (visible and solid should be checked) obj_hit (visible and solid should be checked) obj_miss (do not check either visible or solid) obj_edge (visible and solid should be checked) 5

6 Create a Room to look like the one below: obj_edge obj_score obj_miss 6

7 Programming the Objects: Obj_edge: Has no programming Obj_hit: Add Event: Collision with obj_ball Add 2 Actions: Action 2: Play Sound (on the main1 tab). Choose snd_beep from the drop down. Loop = False Action 1: Set Score (on the score tab) New Score = 1 Relative IS checked. (This increases your score when you hit the wall with the ball) 7

8 Obj_miss: Add Event: Collision with obj_ball Add 2 Actions Action 1: Set Score New Score = -2. Relative IS checked. (Decreases your score by 2 when you miss the ball) Action 2: Play Sound (on the main1 tab). Choose snd_miss from the drop down. Loop = False 8

9 Obj_paddle: Add 4 Events: Event 1: Collision with obj_edge Action: Move Fixed Applies to: Self Select center button only – this stops movement. Speed = 0 Relative is NOT checked Event 2: Keyboard Event – select Action: Move Fixed Applies to: Self Select center button only – this stops movement. Speed = 0 Relative is NOT checked 9

10 Obj_paddle (cont.) : Event 3: Keyboard Event Action: Move Fixed Applies to: Self Select the Arrow facing up Speed = 7 Relative is NOT checked Event 4: Keyboard Event Action: Move Fixed Applies to: Self Select the Arrow facing down Speed = 7 Relative is NOT checked 10

11 Obj_ball: Add Five Events: Event 1: Create Add 2 Actions: Action 1: Set Score New Score = 1 Relative is NOT checked Action 2: Move Fixed Applies to: Self Select the 4 corners Speed = 5 Relative is NOT checked 11

12 Obj_ball (cont): Event 2: Collision with obj_edge Add 2 Actions: Action 1: Bounce against solid objects Applies to: Self Precise = Precisely Against = Solid Objects Action 2: Play Sound Choose snd_beep from the drop down. Loop = False 12

13 Event 3: Collision with obj_paddle Add 2 Actions: Action 1: Move Fixed Applies to: Self Select the 3 Left Facing arrows Speed = 1 Relative IS checked – this makes the ball pick up speed each time its hit Action 2: Play Sound Choose snd_hit from the drop down. Loop = False Obj_ball (cont): 13

14 Event 4: Collision with obj_hit Action: Bounce against Solid Objects Applies to: Self Precise = Precisely Against = Solid Objects Event 5: Collision with obj_miss Add 2 Actions Action 1: Jump to Start Applies to: Self Action 2: Action 1: Move Fixed Applies to: Self Select the 4 corner arrows Speed = 5 Relative is NOT checked Obj_ball (cont): 14

15 Save the as Game2 It is now ready to test & play! Assignment: Modify the game so that the ball and paddle move faster (increase the difficulty of the game). Save it as Game 2A 15


Download ppt "GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a."

Similar presentations


Ads by Google