Optimizing performance on iOS and Android

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Pibeex
Prole
Posts: 8
Joined: Mon Apr 18, 2016 1:17 pm

Optimizing performance on iOS and Android

Post by Pibeex »

Hello!

I'm currently trying to port a game to mobile devices using the iOS and Android official ports.



I'm getting about 25 fps, though, which is not really good.

How could I improve the performance?
The game simply uses canvases, and a lot of the audio and sound APIs (rhythm game).

That's why I'd love to hear about your experiences on porting games to phones.
Did you have to optimize them? And how?

Thanks for your answers :awesome:
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: Optimizing performance on iOS and Android

Post by Davidobot »

I would avoid using canvases, also try optimising your math and such.
Also, dude, are you Ulydev in disguise?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Re: Optimizing performance on iOS and Android

Post by undef »

Hey, also made a rhythm game and ported it to mobile (it's not out on mobile yet though).
Most importantly, you have to find the bottlenecks. It doesn't make sense to optimize stuff that doesn't help overall performance.

To do that look for deep loops, or other stuff where you suspect it might be heavy on your resources and take it out.
If your game runs fast afterwards, it means that there might be a lot of performance to gain there.
twitter | steam | indieDB

Check out quadrant on Steam!
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests