FPS Drops because of the music

Guzzz

  • Posts: 556
I've noticed after I tested my game (Stencyl b.9794, XCode 9.4.1) on my iPhone 5s (iOs 11.4) my FPS drops down to 12 or even lower whenever I load in a loop any music. Basically it means the game freezes up to 1 second. Consequently when I block any music (not sound effects though), the game goes as usual 45-60 FPS.  Its a really strange problem, because before... like 6-8 months ago I hadn't experienced any issues with FPS because of the music, and I haven't changed any music files since then.   
I have to admit, the music is quite heavy. Its usually about 8mb in OGG.
I attached a few screenshots...
Any ideas how to fix the problem?

« Last Edit: June 19, 2018, 10:59:21 am by Guzzz »
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

rob1221

  • *
  • Posts: 9472
Try the latest build and see if you're still having this issue.

Guzzz

  • Posts: 556
Thanks for the reply!
It seems to work now properly. The only problem Stencyl wouldn't lunch just by clicking on app. Only if I right click on app and "show package content" and then run Content/MacOs/Stencyl. Is there any way to fix that?
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Justin

  • *
  • Posts: 4552
You need to drag the .app out and back in to the folder for it to work.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Guzzz

  • Posts: 556
Other problem I’ve noticed when I used latest Stencyl is sometimes on my iPhone my game wouldn’t launch. I can see only Splash screen for a second and then just a black screen. On flash player the game is always fine.

« Last Edit: June 27, 2018, 11:05:56 pm by Guzzz »
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Guzzz

  • Posts: 556
Another new peculiar feature is when I listen to music on my iPhone and launch my game, the game runs without music and sounds. Previously iOs would fade out any other apps with music or sounds and then fade in the music from the game. Now it doesn't do it.

« Last Edit: June 27, 2018, 11:05:38 pm by Guzzz »
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Guzzz

  • Posts: 556
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Guzzz

  • Posts: 556
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

GuyCockcroft

  • *
  • Posts: 193
I've noticed some issues with looping music/sound not looping correctly. By that, I mean, it appears to randomly restart (at random points each time) instead of looping end to end. I'm on Build 9883. Not sure if this is affecting CPU though. Would the new version address this too? Can't see anything in the changelog about it. (I'm also seeing very slow startup times on iOS when not connected to wifi).

Guzzz

  • Posts: 556
The most annoying thing is the issue with launching the game and getting just a black screen.  I don't think its related to music or sounds so I'll make separated post. The issue with missing sound when a player is listening to something is still quite relevant.   
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/