½”ëœë‚ SDK †Œê°œ :: Corona SDK

Click here to load reader

  • date post

    09-Jul-2015
  • Category

    Education

  • view

    2.476
  • download

    2

Embed Size (px)

description

코로나 SDK 국내 첫 세미나때 발표한 자료입니다. 코로나에 대한 자세한 정보는 아래 홈페이지를 방문하세요. http://wonhada.com/?cat=41 http://CoronaLabs.kr

Transcript of ½”ëœë‚ SDK †Œê°œ :: Corona SDK

  • Corona SDKCode less. Play more.

    13 8 22

  • Company in Heaven

    Apollocation.com

    www.coronalabs.kr

    13 8 22

  • Corona SDK

    * 2009

    - Cocos2D: 2008

    - Unity3D: 2005

    13 8 22

  • Corona SDK

    * 14 ( )

    13 8 22

  • Corona SDK

    Available on

    *

    same code, multiple stores

    13 8 22

  • Corona SDK

    * (IAP )

    13 8 22

  • Corona SDK

    * ,

    13 8 22

  • Corona SDK

    * ,

    13 8 22

  • Corona SDK

    *

    13 8 22

  • Corona SDK

    * ( + )

    13 8 22

  • Corona SDK

    * ( + )

    13 8 22

  • Lua ::

    * ,

    * C/C++

    *

    * :

    * Garbage Collection

    * Class

    13 8 22

  • * Table 1 Indexing

    Lua ::

    local tbl = {20, 30, 40, first=10}

    print(tbl[1]) -- 20

    print(tbl[2]) -- 30

    print(tbl["first"]) -- 10

    local arr = {}

    arr[1] = {1, 2, 3}

    print(arr[1][2]) -- 2

    13 8 22

  • Lua ::

    * Lua

    function getTwoParams()

    return 3, 5

    end

    local a, b = getTwoParams()

    print(b); -- 5

    13 8 22

  • if (!carMoving) { // do something} else if (noGas) { // something else}

    for (int i=1; i0; j--) {! print(j)}

    Lua ::

    if (not carMoving) then! -- do somethingelseif (noGas) then! -- something elseend

    for i = 1,10 do! print(i)end

    for j = 100,1,-1 do! print(j)end

    C based Language Lua13 8 22

  • Corona SDK API

    ads.*

    analytics.*

    audio.*

    credits.*

    crypto.*

    display.*

    easing.*

    facebook.*

    gameNetwork.*

    (globals)

    graphics.*

    io.*

    json.*

    lfs.* (file system)

    licensing.*

    math.*

    media.*

    native.*

    network.*

    os.*

    package.*

    physics.*

    socket.* (networking)

    sprite.* (deprecated)

    sqlite3.* (database)

    store.*

    storyboard.*

    string.*

    system.*

    table.* (array)

    timer.*

    transition.*

    widget.*

    accelerometer

    audio

    axis

    collision

    completion

    creditsRequest

    enterFrame

    fbconnect

    gameNetwork

    gyroscope

    heading (compass)

    inputDeviceStatus

    key

    licensing

    location (GPS)

    mapAddress

    mapLocation

    memoryWarning

    mouse

    networkRequest

    networkStatus

    notification

    orientation

    popup

    postCollision

    preCollision

    productList (IAP)

    resize

    scene

    sprite

    storeTransaction (In-

    app purchase)

    system

    tap

    timer

    touch

    unhandledError

    urlRequest

    userInput

    13 8 22

  • transition.to( object, { time=3000, x=200, transition=easing.outExpo } )

    local onEnterFrame( event )

    redBall.x = redBall.x + 10

    end

    Runtime:addEventListener( enterFrame, onEnterFrame )

    image:dispatchEvent( { name="myEvent", target=image } )

    local myImage = display.newImage( image.png )

    local myMask = graphics.newMask( circlemask.png )

    myImage:setMask( myMask )

    Corona SDK API

    13 8 22

  • * sublimetext.com

    * ( )

    * ( )

    * API

    coronalabs.kr

    13 8 22

  • * mydevelopersgames.com/Glider

    *

    *

    *

    13 8 22

  • Spine :: 2D Skeletal Animation Tool

    13 8 22

  • Spine :: 2D Skeletal Animation Tool

    13 8 22

  • SHOWCASE ::

    13 8 22

  • Major Magnet ::

    13 8 22

  • Major Magnet ::

    13 8 22

  • Chip Chain ::

    13 8 22

  • Chip Chain ::

    13 8 22