Problem Description
Game runs unusually fast after minimize the game (pressed iPhone's home button) and come back to the game result in turbo speed. Monitor with xcode's debug, shows CPU usage go up, and FPS drops every time re-enter the game.
Attach a Capx
ejecta_turbo.capx uploaded!
Description of Capx
1 Object with sine behavior, and text showing timescale.
Steps to Reproduce Bug
- Step 1. Create any game, in this case an object with sine and text object.
- Step 2. Export with official Ejecta exporter, NO minify.
- Step 3. Download and extract latest ejecta from https://github.com/phoboslab/ejecta
- Step 4. Rename exported folder to App, copy to ejecta folder.
- Step 5. Open xcode file, change bundle ID & team, run test on iPhone 5(also tested on iPad 3 same problem).
- Step 6. Press home button.
- Step 7. Press ejecta icon(back to game)
- Step 8. See the turbo or jumpy performance. (this is a very simple project so it might not be noticeable, repeat step 6 & 7 a few times to see the issue, or monitor CPU & FPS from xcode's debug)
Observed Result
Uses more CPU and game runs faster than it should after minimize the game and come back. On iPad3 it went from 60fps(first launch normal speed), to 25fps(after minimize and reenter game 5~7 times)
Expected Result
Game performance unchanged after minimize and come back.
Affected Browsers
- Chrome: (-)
- FireFox: (-)
- Internet Explorer: (-)
Operating System and Service Pack
Win7 64bit latest / OSX latest + latest xcode
Construct 2 Version ID
R165