ios - How do I keep actions and animations running during a scene transition in swift? -


i have retry button, rotating, when pressed, presents new scene using gameview.presentscene(gamescene, transition: sktransition.fadewithduration(2)). while transition occurs, rotation stops. aim keep button rotating, until gamescene presented. if helps, done in spritekit based game. appreciated! :-)

set pausesoutgoingscene property on transition object false.

var transition = sktransition.fadewithduration(2) transition.pausesoutgoingscene = false //transition.pausesincomingscene = false //uncomment if want both animate gameview.presentscene(gamescene, transition: transition ) 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -