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

Post on 20-Jan-2018

219 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

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

Pong the game we love!

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

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.

Create a simple Room• This room we

will call the room_Game

• We will add wall objects and the wizard

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

Edit the room_Game• We need

to edit the room to be a pong game

Room_Start

• Go into Fireworks or photoshop and create a Welcome png

• Add the new picture as a background for your room

Room_Done• Create

another graphic for the end room

• Add it as a background

Events for the Wizard

Collison– Wall-

bounce– Paddle1/2-

bounce,set score +1

Intersect boundry

Press-space-direction/ speed

Events for Wall

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

Events for paddles

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

Paddle2 uses Up key and down key and same actions

Now the Controller--Start

• Event-Keypress-Move-Next Room

Controller - Game

Events– Create-Set

Score 0– Step-Test

Score if score>5 then go to next room

Controller - Done

Events– Create-set

alarm0 to 30– Alarm0 – show

high score, go to room_Welcome

Game Information

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

top related