my main.lua file
display.setStatusBar( display.HiddenStatusBar )
screenW, screenH, halfW, halfH = display.contentWidth, display.contentHeight, display.contentWidth*0.5, display.contentHeight*0.5
local storyboard = require “storyboard”
local ads = require( “ads” )
local function adListener( event )
if ( event.isError ) then
print(“Failed to receive an ad”)
end
end
ads.init( “inneractive”, “CrosshairStudios_BattleAirship_Android”, adListener )
storyboard.gotoScene ( “menu”, { effect = “fade”} )