- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Michelle M. Fernandez
- 220字
- 2021-07-23 19:37:21
Breakout – bringing back old-school gaming
You have probably seen many forms of the game Breakout in the past couple of decades, especially during the Atari days. To give you a good idea of what the game is about, here is a brief editorial by Big Fish Games about the history of Breakout: http://www.bigfishgames.com/blog/the-history-of-breakout/. The following screenshot is an example of Breakout:

On the game screen, there are several columns and rows of bricks placed near the top of the screen. A ball travels across the screen, bouncing off the top and side walls of the screen. When a brick is hit, the ball bounces away and the brick is destroyed. The player loses the round when the ball touches the bottom of the screen. To prevent this from happening, the player has a movable paddle to bounce the ball upward, keeping it in play.
We're going to create a clone using touch events and the accelerometer for the paddle movement that will be controlled by the player. We'll be adding some physics to the ball so that it can bounce around the screen.
In the next chapter, we'll be adding the movement of the game objects, collision detection, score keeping, and win/lose conditions. Right now, we're going to focus on how to set up the game template of Breakout.
- VMware vSphere 6.7虛擬化架構(gòu)實(shí)戰(zhàn)指南
- Mastering Scientific Computing with R
- Building a Recommendation Engine with Scala
- SSM輕量級(jí)框架應(yīng)用實(shí)戰(zhàn)
- 高級(jí)語言程序設(shè)計(jì)(C語言版):基于計(jì)算思維能力培養(yǎng)
- 大模型RAG實(shí)戰(zhàn):RAG原理、應(yīng)用與系統(tǒng)構(gòu)建
- VMware虛擬化技術(shù)
- Python編程:從入門到實(shí)踐
- Windows Phone 7.5:Building Location-aware Applications
- 時(shí)空數(shù)據(jù)建模及其應(yīng)用
- Getting Started with Python and Raspberry Pi
- 零基礎(chǔ)學(xué)C語言第2版
- ExtJS Web應(yīng)用程序開發(fā)指南第2版
- Backbone.js Testing
- 遠(yuǎn)方:兩位持續(xù)創(chuàng)業(yè)者的點(diǎn)滴思考