+ All Categories
Home > Documents > GameBrix

GameBrix

Date post: 21-Jan-2016
Category:
Upload: zander
View: 21 times
Download: 0 times
Share this document with a friend
Description:
GameBrix. Create your account on www.gamebrix.com Use your personal email address. What is it?. Collaborative portal Allows people to build, share and play games online Web browser platform = don’t need to install any software or programs. Express. - PowerPoint PPT Presentation
Popular Tags:
58
GameBrix Create your account on www.gamebrix.com Use your personal email address
Transcript
Page 1: GameBrix

GameBrix

Create your account on www.gamebrix.com

Use your personal email address

Page 2: GameBrix

What is it?

• Collaborative portal• Allows people to build, share and play games

online• Web browser platform = don’t need to install

any software or programs

Page 3: GameBrix

Express

• Game templates to speed up game development

Page 4: GameBrix

Builder

• Learn to build games from scratch

Page 5: GameBrix

Animator

• Create graphics to use in your game

Page 6: GameBrix

Script Editor

• Edit code used within GameBrix

Page 7: GameBrix

Builder

• Import Graphics – select images and animations used in your game

• Import Sound – select music files in your game• Build Objects – create intelligent objects• Assemble Game – put your game objects into

game levels• Create Game – The Preview Game button on

this tab creates the game for you

Page 8: GameBrix

Animator

• Create images and animations• Paint, draw and create your own images for

your game• Create simple frame-by-frame animations

Page 9: GameBrix

Objects

• Intelligence = set of behaviors• Each object has two parts – an image and a

set of behaviors• Building objects is all about describing a

series of tasks that will be performed when an object moves from one state to another.

Page 10: GameBrix

Build a Simple Game

• Fish bouncing around a room• Goal: get rid of the fish• Click on the bouncing fish to make them

disappear• For each fish you make disappear, you get 10

points• When all the fish are gone, you see a

message: You Win!

Page 11: GameBrix

Bouncing Fish Game

• Need:– Fish– Brick

• Select a fish graphic = import graphic• Image used in a game is called a sprite• Sprites in the game: fish1 and brick• Give fish behaviors

Page 12: GameBrix

Bouncing Fish Game

• Log in to GameBrix (www.gamebrix.com)

Page 13: GameBrix

Bouncing Fish Game

• Click the GameBrix Builder tab

Page 14: GameBrix

Bouncing Fish Game

• You should see the Graphic library now.

Page 15: GameBrix

Bouncing Fish Game

Page 16: GameBrix

Bouncing Fish Game

Page 17: GameBrix

Bouncing Fish Game• Add the Brick to the list of Sprites.

Page 18: GameBrix

Bouncing Fish Game• Click the Build Objects tab.

Page 19: GameBrix

Bouncing Fish Game• You should see this page now.

Page 20: GameBrix

Bouncing Fish Game• Click the New Object button.

Page 21: GameBrix

Bouncing Fish Game

• Type Fish1 in the OBJECT NAME field. Use a capital “F” instead of a lowercase “f”.

Page 22: GameBrix

Bouncing Fish Game

• Click fish1 from the Select Graphic list.

Page 23: GameBrix

Bouncing Fish Game• Click the New button beneath the OBJECT STATE box.

Page 24: GameBrix

Bouncing Fish Game• Click Create and then Add. Next, assign the tasks

that the fish has to perform in the Create state. Under the TASKS box, click New and then StartMoving, then click Add.

Page 25: GameBrix

Bouncing Fish Game

• Change the DIRN Variable to random(360) and then click Apply. Leave the SPEED at 10. Then click DONE.

Page 26: GameBrix

Bouncing Fish Game• Click the New Object tab.

Page 27: GameBrix

Bouncing Fish Game• Type Brick (capital “B”) in the OBJECT NAME

field. Click on the brick sprite so that it appears in the Preview box.

Page 28: GameBrix

Bouncing Fish Game• The brick doesn’t need any behaviors – it will

be just a wall. Click the Done button to save your work.

Page 29: GameBrix

Bouncing Fish Game

• The fish needs some other behaviors. Click Fish1 and then the Edit Objects tab.

Page 30: GameBrix

Bouncing Fish Game

• Click New under OBJECT STATE, then Collision and Add.

Page 31: GameBrix

Bouncing Fish Game• Click COLLIDING OBJECT under Variable and

then choose Brick from the list. Click the Apply button.

Page 32: GameBrix

Bouncing Fish Game• Click the New button under Tasks and select

BOUNCE from the list and then click Add. Click the Done button to save your work so far.

Page 33: GameBrix

Bouncing Fish Game

So far, this is what happens in the game:

When the fish is created and appears on the screen, it randomly moves in any direction (360 degrees) with a speed of 10 pixels per frame. When the fish collides with the brick, it will bounce.

Page 34: GameBrix

Bouncing Fish Game• Return to the Build Objects window. Click the

Assemble Game tab.

Page 35: GameBrix

Bouncing Fish Game• Click and drag an object to the game room.

Add a few fish to the window. You can resize them by dragging the sides or corners after you click on the image. You can rotate the images when you see the arrow.

Page 36: GameBrix

Bouncing Fish Game• Click and drag a brick to the upper left corner.

Press the shift key and click on the brick at the same time and then drag the mouse to bottom left corner. Stop at the corner and repeat for the rest of the sides.

Page 37: GameBrix

Bouncing Fish Game

Page 38: GameBrix

Bouncing Fish Game

• Test the game! Click the Create Game tab to the open the Create Game window. Click Preview Game.

Page 39: GameBrix

Bouncing Fish Game• Save your game as BouncingFish1

Page 40: GameBrix

Bouncing Fish Game

Page 41: GameBrix

Bouncing Fish Game• Preview your game. You can’t play anything yet

so it is time to add some gameplay.• Click Fish1 and then Edit Object.

Page 42: GameBrix

Bouncing Fish Game• Click the New button under OBJECT STATE and

choose Click from the list. Then click the Add button.

Page 43: GameBrix

Bouncing Fish Game

• Under TASKS click the New button and then choose SetScore and click the Add button.

Page 44: GameBrix

Bouncing Fish Game

• Change the value to 10 and then click Apply.

Page 45: GameBrix

Bouncing Fish Game• Under TASKS click the New button and then

choose Destroy from the list. Click the Add button.

Page 46: GameBrix

Bouncing Fish Game• Under TASKS click the New button and choose

IfInstanceCount and then click the Add button.

Page 47: GameBrix

Bouncing Fish Game• Under OPTIONS, click OBJECT. Choose Fish1

from the list and click Apply.

Page 48: GameBrix

Bouncing Fish Game

• Under TASKS click the New button and then choose StartBlock from the list. Click Add.

Page 49: GameBrix

Bouncing Fish Game• Under TASKS click the New tab and then

choose DisplayMessage and then click Add.

Page 50: GameBrix

Bouncing Fish Game• Click the blank box next to MESSAGE under value in

the OPTIONS box. Type You Win! and the click Apply.

Page 51: GameBrix

Bouncing Fish Game• Under TASKS click the New button and choose

EndGame from the list. Click the Add button.

Page 52: GameBrix

Bouncing Fish Game

• Under TASKS click the New button and choose EndBlock from the list. Click the Add button.

Page 53: GameBrix

Bouncing Fish Game

• Click Done in the bottom right corner. This will save all the changes you made to Fish1.

Page 54: GameBrix

Bouncing Fish Game

• Click the Create Game tab.

Page 55: GameBrix

Bouncing Fish Game• Click Preview Game button.

Page 56: GameBrix

Bouncing Fish Game• Click the Save Game tab.

Page 57: GameBrix

Bouncing Fish Game• Click the Save button.

Page 58: GameBrix

Bouncing Fish Game

• Click OK.