diff --git a/composer.lua b/composer.lua index 6a1c1a1..472785c 100644 --- a/composer.lua +++ b/composer.lua @@ -549,7 +549,43 @@ local effectList = { alphaEnd = 1.0 }, concurrent = true - } + }, + + ["tossLeft"] = + { + ["from"] = + { + xStart = 0, + xEnd = -displayW * 3, + rotationStart = 0, + rotationEnd = -30, + }, + + ["to"] = + { + xStart = 0, + xEnd = 0, + }, + concurrent = true + }, + + ["tossRight"] = + { + ["from"] = + { + xStart = 0, + xEnd = displayW * 3, + rotationStart = 0, + rotationEnd = 30, + }, + + ["to"] = + { + xStart = 0, + xEnd = 0, + }, + concurrent = true + }, } lib.effectList = effectList @@ -1632,4 +1668,4 @@ lib._sceneFileExists = function( fileName ) return fileExists end -return lib \ No newline at end of file +return lib