Book Image

Corona SDK Mobile Game Development: Beginner's Guide

By : Michelle M Fernandez
Book Image

Corona SDK Mobile Game Development: Beginner's Guide

By: Michelle M Fernandez

Overview of this book

Table of Contents (19 chapters)
Corona SDK Mobile Game Development Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Paddle movement


Getting the paddle to move side to side is one of the key actions that needs to be accomplished. Part of the game design is to prevent the ball from reaching the bottom of the screen. We will be separating the paddle movement in the simulator and the accelerometer. The movement in the simulator enables us to test with touch events since accelerometer actions cannot be tested in the simulator.