Book Image

Corona SDK Application Design

By : Daniel Williams
Book Image

Corona SDK Application Design

By: Daniel Williams

Overview of this book

<p>Corona SDK is a software development kit, which allows programmers to build mobile applications on iOS and Android devices. It is used by developers to build, both business and gaming apps at record speeds.<br /><br />"Corona SDK Application Design" will show you the power behind Corona SDK and how to make best use of its features to create your own apps. Learn to create apps using your unique ideas quickly and easily.'<br /><br />You will start with a quick introduction to Corona SDK and the Lua programming language. Follow examples for creating a business as well as a gaming app to help you learn how to utilize Corona’s built-in features effectively to develop professional-looking apps with excellent functionality. Soon you will be confident enough to create your own apps and publish them on popular app stores. Towards the end of the book the author shares some of his own tried and tested marketing techniques to help you get your app seen and downloaded by as many people as possible.</p>
Table of Contents (13 chapters)

Preface

This book is designed to teach you the core concepts of the Lua programming language to get you started with building your own apps quickly and easily. After you've learned some of the core concepts, you will learn how to build your first app and your first game using the Corona SDK product. You will also discover how to get your app on the App Store or Google Play.

What this book covers

Chapter 1, Getting Started with Your Mobile Adventure, will get you acquainted with the Corona SDK product and will guide you through the setup of Corona SDK so that you can start creating apps in no time.

Chapter 2, Learning Lua, teaches you the core concepts of the Lua language. We will learn about the basics of variables, tables, decision statements, and functions. Everything in this chapter is designed to jump-start your app development adventure.

Chapter 3, Creating Your First App, will gently guide you along the path of creating your first app. You'll learn about what text editors to use, how to take advantage of the features in Corona SDK, and how to create a real-life example app (no "Hello World!" here).

Chapter 4, Creating a Puzzle App, continues your app development adventure by teaching you how to create your very first game. You'll learn how to use drag-and-drop, widgets, and events, all while creating a puzzle app that's playable by all ages.

Chapter 5, Testing and Publishing, discusses how to start testing your app. Once you've learned how to test your app, this chapter will explain how to publish your app on the App Store or Google Play.

Appendix, Tools, Services, and Marketing, provides information on how to get the most out of the Corona SDK product. Inside this appendix, you will discover third-party tools and services that will help speed up your development as well as marketing tips to help make your app successful.

What you need for this book

You will need a couple of items before you can develop apps with Corona SDK:

  • Mac OS X 10.7 or later, Intel Mac

  • Windows XP or later, 1 GHz processor

  • Java 6 SDK

  • A text editor such as Notepad++ or Sublime Text 2

  • The latest public build of Corona SDK – Build 2012.971

If you would like to publish your apps, you will need a Google Play for Android or an iTunes developer account for iOS.

Who this book is for

This book is for anyone who is interested in creating applications for Android or iOS. You do not need previous development or programming experience.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "To install Corona, open the .dmg file and follow the on-screen instructions."

A block of code is set as follows:

if(age < 29) then
print('You are not quite 30!');
end

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Once installed, you will be presented with the Corona Developer Login screen."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Downloading the color images of this book

We also provide you a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from http://www.packtpub.com/sites/default/files/downloads/7361OT_ColoredImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.