Commit 433ff394 authored by O'Reilly Media, Inc's avatar O'Reilly Media, Inc
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading
+41 −0
Changes for Beginners App Development With Corona SDK - Working Files/Chapter 1/Getting started/build.settings: 41 added lines, 0 removed lines.
Original line number Diff line number Diff line
-- Supported values for orientation:
-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {
	
	orientation = {
		default = "portrait",
		supported = { "portrait", }
	},
	
	iphone = {
		plist = {
			UIStatusBarHidden = false,
			UIPrerenderedIcon = true, -- set to false for "shine" overlay
			--UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend

            --[[
            -- iOS app URL schemes:
            CFBundleURLTypes =
            {
                {
                    CFBundleURLSchemes =
                    {
                        "fbXXXXXXXXXXXXXX", -- example scheme for facebook
                        "coronasdkapp", -- example second scheme
                    }
                }
            }
            --]]
		}
	},
	
	--[[
	-- Android permissions

	androidPermissions = {
  		"android.permission.INTERNET",
  	},

	]]--
}
+29 −0
Changes for Beginners App Development With Corona SDK - Working Files/Chapter 1/Getting started/config.lua: 29 added lines, 0 removed lines.
Original line number Diff line number Diff line
application = {
	content = {
		width = 320,
		height = 480, 
		scale = "letterBox",
		fps = 30,
		
		--[[
        imageSuffix = {
		    ["@2x"] = 2,
		}
		--]]
	},

    --[[
    -- Push notifications

    notification =
    {
        iphone =
        {
            types =
            {
                "badge", "sound", "alert", "newsstand"
            }
        }
    }
    --]]    
}
+11 −0
Changes for Beginners App Development With Corona SDK - Working Files/Chapter 1/Getting started/main.lua: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
-----------------------------------------------------------------------------------------
--
-- main.lua
--
-----------------------------------------------------------------------------------------

-- Your code here

local mytxt = display.newText("Hello y'all", 0, 0, native.systemFont, 24)
mytxt.x = 100
mytxt.y = 100
 No newline at end of file
+41 −0
Changes for Beginners App Development With Corona SDK - Working Files/Chapter 2/Animating display objects/begin/build.settings: 41 added lines, 0 removed lines.
Original line number Diff line number Diff line
-- Supported values for orientation:
-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {
	
	orientation = {
		default = "portrait",
		supported = { "portrait", }
	},
	
	iphone = {
		plist = {
			UIStatusBarHidden = false,
			UIPrerenderedIcon = true, -- set to false for "shine" overlay
			--UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend

            --[[
            -- iOS app URL schemes:
            CFBundleURLTypes =
            {
                {
                    CFBundleURLSchemes =
                    {
                        "fbXXXXXXXXXXXXXX", -- example scheme for facebook
                        "coronasdkapp", -- example second scheme
                    }
                }
            }
            --]]
		}
	},
	
	--[[
	-- Android permissions

	androidPermissions = {
  		"android.permission.INTERNET",
  	},

	]]--
}
+29 −0
Changes for Beginners App Development With Corona SDK - Working Files/Chapter 2/Animating display objects/begin/config.lua: 29 added lines, 0 removed lines.
Original line number Diff line number Diff line
application = {
	content = {
		width = 320,
		height = 568, 
		scale = "letterBox",
		fps = 30,
		
		--[[
        imageSuffix = {
		    ["@2x"] = 2,
		}
		--]]
	},

    --[[
    -- Push notifications

    notification =
    {
        iphone =
        {
            types =
            {
                "badge", "sound", "alert", "newsstand"
            }
        }
    }
    --]]    
}
Loading