Index

images  A

Apple app store

    app review guidelines

    publishing

        application loader

        distribution

        iTunes connect site

        portal page

Application structure

    Astro rescue game

    build.settings file

        androidPermissions element

        Astro Rescue

        build-time properties and meta information

        iphone.plist element

        orientation element

        screen 180 degrees

        values

    config.lua file

        dynamic substitution

        imageSuffix attribute

        launchpad attribute

        virtual screen size

        width and height

    disclaimer

    err

    event handler

    main.lua file

        file I/O operations

        imports

        initial execution

        variables

    purge

        Astro Rescue main menu scene

        scene object

        storyboard.removeScene( ) and storyboard.removeAll( ) methods

        view object

    scene lifecycle events

    storyboard API

        Astro Rescue title scene

        basic code structure

        scene

        single line code

        triggers Corona

    transition effects

    utilities

        code

        Corona projects

        handling cross-platform audio concerns

        log messages

        utils object

        utils.lua file

Astro Rescue

    gameCore object

        gameCoreCollisionEvents.lua file

        gameCoreInputEvents.lua file

        gameCoreMainLoop.lua

    physics

        Box2D

        cannonball

        DisplayObject

        gravity

        physics.addBody( )

        shapeDefs object

    player control input (see Player control input)

    scene lifecycle handlers

        createScene( )

        enterScene( ) method

        gc:destroy( ) method

        gc:init( ) method

        gc:start( ) method

        gc:stop( ) method

        willEnterScene( ) and didExitScene( ) methods

images  B

images  C

Collision events

    code handling level

        Astro Rescue

        check

        colonists

        fireball

        fuel pods

        landing pad

        mothership-landing bay

        system.vibrate( )

    collision detection

        algorithms

        Astro Rescue

        bounding boxes

        physics

        visualization

    fuel gauge

Corona SDK

    benefits

    Corona simulator

        build system

        circle object

        DisplayObject

        moveCircle( ) function

        onComplete property

        rectangle object

        welcome screen

    future aspects

    history of

        Ansca Mobile

        Bubble Ball

        Engineer

        NOOK Color tablet

        The Secret of Grisly Manor

    IDE support

    Lua scripting language

    mobile game development

    Particle Candy

    in school

    sprites and tween-based animations

    transition library

    Widget Candy

    writing video games, benefits

images  D

images  E

images  F

images  G, H

gameCore object

    colonist object

        appearanceRangeFrames attribute

        explosion object

        fadingIn attribute

        framesSinceLastAppearance attribute

        fuelPod object

        plasmaBall object

        sequences

        shell and fill attributes

    controlName

    createScene( ) method

    destroy( ) method

    drawCurrentLevel( ) method

    explosion image sheet

    gameDG variable

    isSensor attribute

    levelDG variable

    loadGraphics( ) method

    mothership

    phases

    popup variable

    resetLevel( )

        callback function

        transition.cancel( )

    scale( ) method

    scoreText variable

    showMessage( ) method

    sprites

        animation sequence

        colonistsOnboard attribute

        count attribute

        display.newSprite( ) method

        image sheets

        loopCount and loopDirection attribute

        name attribute

        sequenceData attributes

        thrustLeft and thrustRight attributes

        thrustVertical attribute

        time attribute

    start( ) method

    stopAllActivity( ) method

    stop( ) method

    topYAdjust variable

Google Play

    publishing

    steps

images  I, J, K

images  L

Lua

    comments

    concepts

    control structures

    data types

        boolean

        function

        nil

        number

        string

        table

    DSL

    expressions

    functions

        add( )

        arguments

        colon

        errors

        holes

        iteration

        metatable

        methods

        pcall( )

        print ( )

        properties

        reference

        return a value

        return multiple values

        setmetatable( )

        table

        tostring ( )

        type ( )

        xpcall( )

    garbage-collection language

    host program

    keywords

        list of words

        operators

        tokens

    lexicology

        anonymous block

        concept

        function

        semicolon

        statements and loops

        underscore

        words

    loops

        break statement

        for loop

        repeat construct

        while loop

    mark-and-sweep collector

    modules

        global scope

        interpreter

        require( ) statement

        utils.lua and module2.lua

    operators

        concatenation operator

        length operator

        logical operators

        mathematical operators

        numerics and strings

        objects

        relational comparison operators

    table

        array

        length operator (#)

        numeric/nonnumeric keys

        properties

        reference functions

    type of value

    variables

        arrays

        block scope

        function

        global variables

        loop

        multiple assignment form

        scope resolution

        swap

    variations

images  M, N

Menu scene

    Astro rescue main menu

    creation

        buildShapes( ) method

        createScene( ) method

        horizontal position

        menu items

        OS-related functions

        quit menu option

        target value

        transition.to( )/transition.from( )

    grapics

        append( ) method

        Astro rescue main menu

        buildShapes( ) method

        random shape-rectangle

        review

        shape

        square

        triangle

    shapes

    unused scene event handlers

    wrapper

images  O

Odds and ends See also SQLite database

    Ads

    analytics

        analytics.init( )

        API present

        Corona launchpad

    in-app purchases

    LUAFileSystem

        file system

        lfs.touch( ) method

        results

    network access

        content

        function

        single user

        socket networking

    social gaming

        facebook integration

        game network integration

        OpenFeint

images  P, Q, R

Player control input

    accelerometer input

        audio and animations

        neutral tilt

        tilting to left

        tilting to right

    audio and animations updation

    input handling with corona

    touch input

        audio and animations

        began phase

        ended phase

        left and right thrust

        vertical thrust

images  S

Setting scene

    Astro rescue

    creation

        createScene( ) method

        DisplayObject text

        PickerWheel widget

        ScrollView

        SegmentedControl widget

        slider widget

        spinner widget

        stepper widget

        TabBar widget

        TableView widget

        text creation code

        widget creation

        widget.newSwitch( )

    instantiation

    unused event handlers

    wrapper

SQLite database

    contacts object

    database creation

        code

        general form

        long and short

    function

    in-memory database

    nrows( ) method

    nrows( ) method

    package

images  T, U

Testing and publishing

    Apple app store

        app review guidelines

        publish

    app store model

        Amazon Appstore for Android

        Google Play

        modern-day app stores

        PocketPC

    build Android applications

        Corona window

        on-device debugging

        devices

        Java-style package

        keystore

        kicking off

        release build

        setting

        steps

        typical installation

    iOS application

        Apple developer

        build window

        Dev Center web site

        on-device debugging

        devices

        Mac

        provisioning profile

        simulators

        store package

        Xcode organizer

        Xcode simulator

Title scene

    Astro rescue

    continuous action

    createScene( ) and enterScene( ) method

    creation

        audio

        callback function

        createScene( ) method

        graphics

        stage

    destroy scene

    exit scene

    handling touch

    scene object

    unused scene event handlers

    variable declaration

    wrapper

images  V

images  W, X, Y, Z

Wrapping up

    lifecycle methods and event handlers

    scene creation

        circlemask.png

        display.captureScreen( )

        formats

        gradients

        lifecycle methods

        line of text

        methods

        process

        spotlight move

        turn on-spotlight effect

    touch events

    variables

        benefit

        left side-spotlight

        right side-spotlight

        spotlight centered

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.206.91