dragon hunt

8
DRAGON HUNT The greatest FPS ever made… During this period.

Upload: irisa

Post on 15-Feb-2016

38 views

Category:

Documents


0 download

DESCRIPTION

DRAGON HUNT. The greatest FPS ever made… During this period. Dragon Hunt. Dragon Hunt has two backgrounds It has three different sprites It has two variables It broadcasts two messages It has one additional sound It uses the mouse and spacebar. Setup. For setup we will do the following: - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: DRAGON HUNT

DRAGON HUNTThe greatest FPS ever made… During this period.

Page 2: DRAGON HUNT

Dragon Hunt

• Dragon Hunt has two backgrounds

• It has three different sprites

• It has two variables• It broadcasts two

messages• It has one additional

sound• It uses the mouse and

spacebar

Page 3: DRAGON HUNT

SetupFor setup we will do the following:• Add a dragon• Add a bat• Add an outdoor image• Create a game over

screen• Draw a crosshair• Draw a circle around

the Try Again button• Add the variables timer

and score

Page 4: DRAGON HUNT

BackgroundIt is time to learn about broadcasting. Broadcasting allows us to execute commands that we create.

We want to create two commands: newGame and GameOver

Follow the code on the right to start the time and create a new game.

Page 5: DRAGON HUNT

btnStartThe start button is easy to complete. All we have to do is make sure we shot it on gameOver and hide it on newGame.

Page 6: DRAGON HUNT

CrosshairThe crosshair will be shown all the time. On newGame we simply display the pointer and forever go to the mouse-pointer.

When we receive the gameOver broadcast we will check to make sure it is touching the start button and the spacebar is present to create a new game.

Page 7: DRAGON HUNT

DragonOur dragon is the most complicated piece of the puzzle.On gameOver we hide and wait before hiding again? Why?

We start by making our dragon travel and change costumes before we create the commands for shooting and touching the crosshair.

Page 8: DRAGON HUNT

Bats, bugs, and other things…

Now is the time to copy the dragon code onto another flying creature. Try to experiment with making it turn left, different movement patterns, or even colors.Make this game unique by using your own art to create an amazing shooter of your own.