Optimization question

Discussion and feedback on Construct 2

Post » Wed Oct 08, 2014 6:02 pm

No tiled backgrounds, this is just by exporting the game and looking at the sprite sheets that are created and seeing how I could reduce the size of them, or eliminate some all together. Like my FRENZY example earlier, all 4 images were 256x64, which I figured would fit on a 256x256 spritesheet, but they don't. By reducing each sprites size to 254x62, they were all able to fit on a 256x256 sheet, saving precious memory. Hope that makes sense.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Wed Oct 08, 2014 8:07 pm

ArcadEd wrote:Really makes me appreciate how amazing C2 is and the work and thought @Ashley has put into the exporting process. You probably don't get enough credit for the behind scenes stuff like this, and it's pretty freaking impressive.

Glad you appreciate :) it does some cool stuff on export. It's all documented in export-time optimisations.

For iOS I really would recommend using PhoneGap right now. We will deprecate Ejecta as soon as iOS 8 gets ~75% market share, since it's not a real browser engine and so has a bunch of compatibility issues. As per the recent blog on iOS 8, PhoneGap is no slower than Ejecta and already supports a lot more features, and a future update should bring it up to Safari performance (way faster than Ejecta).
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Wed Oct 08, 2014 8:26 pm

I'll give it a shot, I tried it before and the game just crashed out. I don't mind it being ios8.

Thanks

Ed
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Thu Oct 09, 2014 12:00 am

Will all my changes, I got it to about 140mb on the ipad. I'm pretty happy with that. I'm going to try phonegap now and see what's up.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Thu Oct 09, 2014 12:22 am

I tried phonegap build, it still crashes upon loading. I'll stick with CJS for now.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Sun Dec 14, 2014 10:24 pm

So after looking and doing a bit of number crunching my bet is iOS8 is at 75% by 28th January 2015. :ugeek:
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Sun Dec 14, 2014 10:44 pm

Yeah, it's been a slow crawl w/ iOS 8. Not as slow as it's going to be for Android L though :roll:
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Sun Dec 14, 2014 11:50 pm

@TiAm yeah, but we have crosswalk to cover us for that ;)
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Sun Dec 14, 2014 11:52 pm

Yeah, thank goodness for crosswalk. It's been great how involved the crosswalk team has been on the forums too.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Mon Dec 15, 2014 3:24 pm

@TiAm I'm really hoping for a CJS / Cordova hybrid to be released by Ludei. They said they are going to announce something big 'soon' which was stimulated by me asking to confirm a rumor about making cordova / phonegap plugins accessible from CJS. So it maybe a tease and I may be hoping for too much, but if they go the whole hog. It would mean we have something good for all versions of iOS.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests