You are previewing Corona SDK Application Design.
O'Reilly logo
Corona SDK Application Design

Book Description

If you have ambitions to build apps that work on both iOS and Android, then this guide to Corona SDK will help you realize them quickly and painlessly. From developing to marketing – it’s all here.

  • Build apps that can be used on multiple platforms

  • Test your apps and publish them on GooglePlay and Apple’s App store

  • Develop your own apps with the help of interactive examples

  • In Detail

    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.

    "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.'

    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.

    Table of Contents

    1. Corona SDK Application Design
      1. Table of Contents
      2. Corona SDK Application Design
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
        2. Why Subscribe?
        3. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Downloading the color images of this book
          3. Errata
          4. Piracy
          5. Questions
      8. 1. Getting Started with Your Mobile Adventure
        1. What is Corona SDK?
        2. Prerequisites for Corona SDK
        3. Downloading, installing, and using Corona SDK
          1. Installing for Mac OS X
          2. Installing for Microsoft Windows
          3. Using Corona SDK
        4. Summary
      9. 2. Learning Lua
        1. Using variables with Lua
        2. Using the terminal
        3. Expressions and operators
          1. Arithmetic expressions
          2. Comparison operators
        4. Making decisions
          1. The if-then statement
          2. The if-then-else statement
        5. Loops, loops, and loops
          1. The for loop
          2. The while loop
          3. More flexibility with tables
          4. Using functions
        6. Summary
      10. 3. Creating Your First App
        1. Using a text editor
          1. Notepad++
          2. Sublime Text
          3. Corona-specific editors
        2. Creating a new project
          1. An introduction to Storyboard
            1. The createScene function
            2. The enterScene function
            3. The exitScene function
            4. The destroyScene function
          2. Switching scenes
          3. Destroying scenes
        3. Using widgets
        4. Starting with main.lua
          1. view1.lua – about us
          2. view2.lua – your BMI
          3. view3.lua – contact us
          4. config.lua – setting up dynamic content resolution
        5. App icons
        6. Summary
      11. 4. Creating a Puzzle App
        1. A quick introduction to puzzle games
          1. Downloading the starter kit
        2. My Jigsaw Puzzle
          1. build.settings
          2. config.lua
          3. main.lua
          4. menu.lua
          5. gameplay.lua
            1. Getting local libraries
            2. Creating variables

            3. Creating display groups
            4. The shuffle function
            5. Creating the shuffle function
        3. Dragging-and-dropping display objects
          1. Creating the drag function
        4. Summary
      12. 5. Testing and Publishing
        1. How to test your app
          1. iOS
          2. Android
        2. Publishing your app
          1. Publishing to Apple's App Store
          2. Publishing to Google Play
        3. Other resources and the Corona community
      13. A. Tools, Services, and Marketing
        1. Third-party tools
        2. Third-party services
        3. Marketing tips
      14. Index