pong the game we love!. sprites we will load all of our sprites. the red pac man guy is our sprite...

15
Pong the game we love!

Upload: bruno-foster

Post on 20-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

Objects The object is the container for actions, events collisions, controllers Objects we need Wizard Wall Paddle1 Paddle2 Game_controller Start_controller Finish_controller Each one has several events and we will create.

TRANSCRIPT

Page 1: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Pong the game we love!

Page 2: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

SpritesWe will load all of our sprites.

The red pac man guy is our sprite creator

Use Naming Conventions

Add sprites for

Wall

Wizard

Paddle1

We will edit paddle1 to create paddle2

Page 3: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Objects• The object is the container for actions, events collisions, controllers

Objects we needWizardWallPaddle1Paddle2Game_controllerStart_controllerFinish_controller

Each one has several events and we will create.

Page 4: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Create a simple Room• This room we

will call the room_Game

• We will add wall objects and the wizard

Page 5: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Simple room_Game actions & events• Events for the

Bear– Event—

keypress-left• Action –

move fixed,speed

– Collison Wall• Action-

Bounce-solids

– Add right,up,down

Page 6: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Edit the room_Game• We need

to edit the room to be a pong game

Page 7: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Room_Start

• Go into Fireworks or photoshop and create a Welcome png

• Add the new picture as a background for your room

Page 8: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Room_Done• Create

another graphic for the end room

• Add it as a background

Page 9: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Events for the Wizard

Collison– Wall-

bounce– Paddle1/2-

bounce,set score +1

Intersect boundry

Press-space-direction/ speed

Page 10: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Events for Wall

• None here but make sure it is a solid or it won’t bounce!

Page 11: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Events for paddles

Paddle1 uses A for up, Z for down action-move fixed

Paddle2 uses Up key and down key and same actions

Page 12: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Now the Controller--Start

• Event-Keypress-Move-Next Room

Page 13: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Controller - Game

Events– Create-Set

Score 0– Step-Test

Score if score>5 then go to next room

Page 14: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Controller - Done

Events– Create-set

alarm0 to 30– Alarm0 – show

high score, go to room_Welcome

Page 15: Pong the game we love!. Sprites We will load all of our sprites. The red pac man guy is our sprite creator…

Game Information

• Every Game will include the following Bolded components– Author– Description– Controls– Score– Credits