The game I’ve been working on for quite a while is finally working perfectly on my mac, but when I put it on my device The game lags for about a second… Basically its a flappy bird clone and when The what would be pipes come onto the screen it lags, and the first two get really close together. If I can make it past the first two the game works totally fine. How would I go about trying to find out what I can do to fix this?
One possible cause might be if the “scrolling would-be-pipes” animation is starting inside the scene:create function.
In that case i’d try to start the game animations (and all timers and transitions) in the ‘did’ phase of scene:show
One possible cause might be if the “scrolling would-be-pipes” animation is starting inside the scene:create function.
In that case i’d try to start the game animations (and all timers and transitions) in the ‘did’ phase of scene:show