Publish Settings

Publish Settings

Export images and Publish only current page are also controlled from Publish Settings. You see them at the top of check list of Publish Tab.

When publsih only current page, start Simulator in the current page is checked, kwik makes a change in the main.lua This would conflict Publish only pages .lua (do not export main.lua etc).

You can manually change which page to open with Corona Simulator. Just edit the _K.page = 1 in main.lua

build4/main.lua

local function startThisMug()
	local _K = require "Application"
	local function bootstrap()
		display.setStatusBar(display.HiddenStatusBar)
		_K.appName     = ""
		_K.imgDir      = "assets/images/"
		_K.spriteDir   = "assets/sprites/"
		_K.thumbDir    = "assets/thumbnails/"
		_K.audioDir    = "assets/audios/"
		_K.videoDir    = "assets/videos/"
		_K.particleDir = "assets/particles/"
		_K.trans       = {}
		_K.gt          = {}
		_K.timerStash   = {}
		_K.allAudios    = {kAutoPlay = 5}
		_K.gtween      = require("extlib.gtween")
		_K.btween      = require("extlib.btween")
		_K.Gesture     = require("extlib.dmc_gesture")
		_K.MultiTouch  = require("extlib.dmc_multitouch")
		_K.syncSound   = require("extlib.syncSound")
		_K.kBidi       = false
		_K.goPage      = 1
                ...
		}
	end
	--
	bootstrap()
end