animated sprite make the browser crashes (iOs)

Bugs will be moved here once resolved.

Post » Fri Aug 23, 2013 2:20 pm

Hi guys,
On my game I need to use animated sprite with 130 frames. it works fine in android but on iOs the browser crashes.
If anyone has an idea :)
Cheers

Link to .capx file (required!):
http://digitalmaniastudio.com/iosbug/iosbug.capx

Steps to reproduce:
1. Just open the game on iPhone or iPad (iOs)http://digitalmaniastudio.com/iosbug
2.
3.

Observed result:
once the progress bar is at 100% the browser crashes

Expected result:
Should see a sprite animated

Browsers affected:
Chrome: yes
Safari: yes
Operating system & service pack:
iOs
Construct 2 version:
   r139 msa3sa32013-08-23 14:23:07
B
2
Posts: 8
Reputation: 341

Post » Fri Aug 23, 2013 5:51 pm

Perhaps your device/iOS can't handle so much in memory at once.
Your capx is 190 Mo which is pretty big, and mobile devices aren't as capable as desktop computers from an hardware perspective.

Have a look at this blog article and see if you can reduce the amount of memory required.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
292
S
115
G
96
Posts: 7,293
Reputation: 70,769

Post » Fri Aug 23, 2013 7:43 pm

Damn!
as comparison, Angry Birds is about 45mb.
Plants vs Zombies too.
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Post » Tue Aug 27, 2013 10:27 am

Hi,
My capx is about 190 Mo but once exported is less then 10Mo and the device handle the exported project not the capx :)

Anyhow gonna look at the article you sent me :) thx
B
2
Posts: 8
Reputation: 341

Post » Wed Aug 28, 2013 4:23 pm

Closing as not a bug. As Construct 2 is telling you in the status bar, the estimated memory use is 546mb, which is vastly more than can possibly fit in to a mobile device's memory. Your project is outrageously wasteful of device memory; see remember not to waste your memory
Scirra Founder
B
397
S
236
G
88
Posts: 24,422
Reputation: 194,558

Post » Sat Feb 08, 2014 9:47 am

Hi @Ashley

A list of known memory limits on some popular devices could be very helpful. I looked for it around the forums and manual but couldn't find such a list.

To be more specific - I want my (pretty heavy)mobile game to run smoothly on iPhone4 and Galaxy2. What would be the memory limitations for these devices?

Thnx
B
12
S
3
Posts: 104
Reputation: 1,655

Post » Sat Feb 08, 2014 12:22 pm

@MaorKeshet - you can look it up yourself on Google, but the amount reserved by the OS will be a significant proportion of it. It's hard to tell exactly.
Scirra Founder
B
397
S
236
G
88
Posts: 24,422
Reputation: 194,558


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests