from cocosCairo.cocosCairo import *

class SplashScene(Scene):
	def __init__(self, transition):
		Scene.__init__(self)
		self._transition = transition

	def setup(self):
		self.setBackgroundColor(WhiteColor())
		self.label = Label("cocosCairo", Point(530,-130), color=BlackColor())
		self.label.anchorPoint = Point(0.5, 0.5)
		self.label.fontSize = 72
		self.label.rotation = 0.3
		self.label.bold = True
		self.addChild(self.label)

	def onEnterFromFinishedTransition(self):
		Scene.onEnterFromFinishedTransition(self)
		moveAction = MoveBy(1.5, Point(0, 600))
		moveAction = EaseBounceOut(moveAction)
		delayAction1 = DelayTime(0.5)
		rotateAction1 = RotateBy(0.5, -0.4)
		rotateAction1 = EaseExponentialInOut(rotateAction1)
		rotateAction2 = RotateBy(0.5, 0.2)
		rotateAction2 = EaseExponentialInOut(rotateAction2)
		rotateAction3 = RotateBy(0.5, -0.1)
		rotateAction3 = EaseExponentialInOut(rotateAction3)
		delayAction2 = DelayTime(1.5)
		callbackAction = CallbackInstantAction(self.onSequenceCompletion)
		sequence = Sequence(moveAction, delayAction1, rotateAction1, rotateAction2, rotateAction3, delayAction2, callbackAction)
		self.label.runAction(sequence)

	def onSequenceCompletion(self):
		self.getDirector().replaceScene(self._transition)

69149880b51824d1209797e0db99e18d5d957c04
<mask token>


class SplashScene(Scene):

    def __init__(self, transition):
        Scene.__init__(self)
        self._transition = transition

    def setup(self):
        self.setBackgroundColor(WhiteColor())
        self.label = Label('cocosCairo', Point(530, -130), color=BlackColor())
        self.label.anchorPoint = Point(0.5, 0.5)
        self.label.fontSize = 72
        self.label.rotation = 0.3
        self.label.bold = True
        self.addChild(self.label)
    <mask token>
    <mask token>

<mask token>


class SplashScene(Scene):

    def __init__(self, transition):
        Scene.__init__(self)
        self._transition = transition

    def setup(self):
        self.setBackgroundColor(WhiteColor())
        self.label = Label('cocosCairo', Point(530, -130), color=BlackColor())
        self.label.anchorPoint = Point(0.5, 0.5)
        self.label.fontSize = 72
        self.label.rotation = 0.3
        self.label.bold = True
        self.addChild(self.label)
    <mask token>

    def onSequenceCompletion(self):
        self.getDirector().replaceScene(self._transition)

<mask token>


class SplashScene(Scene):

    def __init__(self, transition):
        Scene.__init__(self)
        self._transition = transition

    def setup(self):
        self.setBackgroundColor(WhiteColor())
        self.label = Label('cocosCairo', Point(530, -130), color=BlackColor())
        self.label.anchorPoint = Point(0.5, 0.5)
        self.label.fontSize = 72
        self.label.rotation = 0.3
        self.label.bold = True
        self.addChild(self.label)

    def onEnterFromFinishedTransition(self):
        Scene.onEnterFromFinishedTransition(self)
        moveAction = MoveBy(1.5, Point(0, 600))
        moveAction = EaseBounceOut(moveAction)
        delayAction1 = DelayTime(0.5)
        rotateAction1 = RotateBy(0.5, -0.4)
        rotateAction1 = EaseExponentialInOut(rotateAction1)
        rotateAction2 = RotateBy(0.5, 0.2)
        rotateAction2 = EaseExponentialInOut(rotateAction2)
        rotateAction3 = RotateBy(0.5, -0.1)
        rotateAction3 = EaseExponentialInOut(rotateAction3)
        delayAction2 = DelayTime(1.5)
        callbackAction = CallbackInstantAction(self.onSequenceCompletion)
        sequence = Sequence(moveAction, delayAction1, rotateAction1,
            rotateAction2, rotateAction3, delayAction2, callbackAction)
        self.label.runAction(sequence)

    def onSequenceCompletion(self):
        self.getDirector().replaceScene(self._transition)

from cocosCairo.cocosCairo import *


class SplashScene(Scene):

    def __init__(self, transition):
        Scene.__init__(self)
        self._transition = transition

    def setup(self):
        self.setBackgroundColor(WhiteColor())
        self.label = Label('cocosCairo', Point(530, -130), color=BlackColor())
        self.label.anchorPoint = Point(0.5, 0.5)
        self.label.fontSize = 72
        self.label.rotation = 0.3
        self.label.bold = True
        self.addChild(self.label)

    def onEnterFromFinishedTransition(self):
        Scene.onEnterFromFinishedTransition(self)
        moveAction = MoveBy(1.5, Point(0, 600))
        moveAction = EaseBounceOut(moveAction)
        delayAction1 = DelayTime(0.5)
        rotateAction1 = RotateBy(0.5, -0.4)
        rotateAction1 = EaseExponentialInOut(rotateAction1)
        rotateAction2 = RotateBy(0.5, 0.2)
        rotateAction2 = EaseExponentialInOut(rotateAction2)
        rotateAction3 = RotateBy(0.5, -0.1)
        rotateAction3 = EaseExponentialInOut(rotateAction3)
        delayAction2 = DelayTime(1.5)
        callbackAction = CallbackInstantAction(self.onSequenceCompletion)
        sequence = Sequence(moveAction, delayAction1, rotateAction1,
            rotateAction2, rotateAction3, delayAction2, callbackAction)
        self.label.runAction(sequence)

    def onSequenceCompletion(self):
        self.getDirector().replaceScene(self._transition)

from cocosCairo.cocosCairo import *

class SplashScene(Scene):
	def __init__(self, transition):
		Scene.__init__(self)
		self._transition = transition

	def setup(self):
		self.setBackgroundColor(WhiteColor())
		self.label = Label("cocosCairo", Point(530,-130), color=BlackColor())
		self.label.anchorPoint = Point(0.5, 0.5)
		self.label.fontSize = 72
		self.label.rotation = 0.3
		self.label.bold = True
		self.addChild(self.label)

	def onEnterFromFinishedTransition(self):
		Scene.onEnterFromFinishedTransition(self)
		moveAction = MoveBy(1.5, Point(0, 600))
		moveAction = EaseBounceOut(moveAction)
		delayAction1 = DelayTime(0.5)
		rotateAction1 = RotateBy(0.5, -0.4)
		rotateAction1 = EaseExponentialInOut(rotateAction1)
		rotateAction2 = RotateBy(0.5, 0.2)
		rotateAction2 = EaseExponentialInOut(rotateAction2)
		rotateAction3 = RotateBy(0.5, -0.1)
		rotateAction3 = EaseExponentialInOut(rotateAction3)
		delayAction2 = DelayTime(1.5)
		callbackAction = CallbackInstantAction(self.onSequenceCompletion)
		sequence = Sequence(moveAction, delayAction1, rotateAction1, rotateAction2, rotateAction3, delayAction2, callbackAction)
		self.label.runAction(sequence)

	def onSequenceCompletion(self):
		self.getDirector().replaceScene(self._transition)
