![Page 1: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/1.jpg)
Desenvolvimento de jogos em Flash
BREAKOUT GAME – PARTE 1
![Page 2: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/2.jpg)
Agenda
0Relembrando aula passada0Configurando as ferramentas0 “Hello World!”0Breakout game!
![Page 3: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/3.jpg)
Flash
![Page 4: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/4.jpg)
Ferramentas
![Page 5: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/5.jpg)
Flash Professional
timeline
stage
libraryproperties
<- tools
![Page 6: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/6.jpg)
ActionScript 3.0
![Page 7: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/7.jpg)
Mãos-à-obra!
![Page 8: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/8.jpg)
Criando o Projeto
![Page 9: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/9.jpg)
Configurando o Flash CS5.5
![Page 10: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/10.jpg)
Configurando o Flash CS5.5
![Page 11: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/11.jpg)
Configurando o Flash CS5.5
Salvar na mesma pasta do projeto!
![Page 12: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/12.jpg)
Criando a Document Class
![Page 13: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/13.jpg)
Criando a Document Class
![Page 14: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/14.jpg)
Hello World!
![Page 15: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/15.jpg)
Hello World!
![Page 16: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/16.jpg)
Criando nosso Level
0Criar a classe BreakoutLevel -> extends MovieClip0Criar movieclip e fazer linkage
![Page 17: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/17.jpg)
Criando nosso Level
0Adicionando o level ao stage
![Page 18: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/18.jpg)
Criando nosso Paddle
0Criar movieclip separado0 Aplicar um efeito no paddle
Paddle graphicPaddle
![Page 19: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/19.jpg)
Implementando o PaddleFazer o linkage com o MovieClip
![Page 20: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/20.jpg)
Movendo o Paddle
0EnterFrame e updates
BreakoutMain.as BreakoutLevel.as
![Page 21: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/21.jpg)
Movendo o Paddle
Paddle.as
![Page 22: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/22.jpg)
Criando nosso Brick
0Mesmo processo do Paddle
Brick graphic Brick
![Page 23: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/23.jpg)
Implementando os Bricks
BreakoutLevel.as
![Page 24: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/24.jpg)
Criando a Ball
0Criar um novo movieclip0Mudar a ferramenta de
desenho para um círculo0Escolher gradiente
radial
![Page 25: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/25.jpg)
Implementando a Ball
Ball.as
BreakoutLevel.as
![Page 26: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/26.jpg)
Utilizando uma bola nova
BreakoutLevel.as
![Page 27: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/27.jpg)
![Page 28: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/28.jpg)
Próxima aula!O que poderemos ter...
0Brick Break!0Sons0Power-ups0Levels no XML0Telas de jogo
0 Main Menu0 Map/Level Selection0 End conditions
0Loading
![Page 29: Desenvolvimento de jogos em Flash BREAKOUT GAME – PARTE 1](https://reader036.vdocuments.mx/reader036/viewer/2022081515/552fc130497959413d8d4751/html5/thumbnails/29.jpg)
Desenvolvimento de jogos em Flash
BREAKOUT GAME