Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / when I put fruit warriors into the iPhone, the FPS is about 30. It is very slow.

Author
Message
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 5th May 2012 12:24
there are a lot of images. is that the reason? sometimes the FPS is lower than 30. the game will become very slow.

The Miracrea Games
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 5th May 2012 12:29
It would be worth reducing the image size as much as possible for iPhone. I don't find it very noticeable.

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th May 2012 12:30
what iphone are you testing on?

you cannot make a whole game and then test in the end! you have to test as you add every new bit, to optimize and keep a good frame rate.
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 5th May 2012 12:32 Edited at: 5th May 2012 12:35
@ baxslash, Have you looked at the email box? I send you several emails. And I also want to send you a fruit warriors in windows version. but I'm not good at using dropbox.

@ bjadams, I developed fruit warriors in the iPad, the iPad is much better than iPhone, when I want to compile a iPhone version, I found that iPhone can't run the game proper.

The Miracrea Games
bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 5th May 2012 13:10
Quote: "you cannot make a whole game and then test in the end! you have to test as you add every new bit, to optimize and keep a good frame rate. "


Wish we had a decent debugger and profiler. That would make things a lot easier!

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th May 2012 13:57
Halley, I ask you again, what iPad (there are 3) and what Iphone (there are 3 or 4 versions)?!!!
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 5th May 2012 14:12 Edited at: 5th May 2012 14:13
Halley I'll take a look later today, I'm about to go out but I can test on iPod Touch 4G.

halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 5th May 2012 14:18 Edited at: 5th May 2012 14:18
@bjadams, iPad2 and iPhone4

@baxslash, fruit warriors can't support iPod Touch now ,it only support iPad.How can I send you the windows version?

The Miracrea Games
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 5th May 2012 14:52
Can you create a Dropbox account and share a folder with me? You have my email address. Otherwise I could share a folder with you later today?

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th May 2012 15:20
Halley, I have an iPad3 and iphone3gs if you need any testing.
Also Windows7 & Windows8 PCs.

Halley I develop my games by adding things little by little, and always testing & optimising on Iphone 3gs. My games are running at 60fps on the 3gs but I always take great care what I add and always try to optimise the routines to make them run as fast as possible.

when i test my game on a chinese android haipad it then runs at 25-30fps!!!!!!
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 5th May 2012 15:46 Edited at: 5th May 2012 15:49
Have you attempted to lower the res of all your graphics a little? I imagine for an ipad you have some fairly large detailed graphics compared with iphone. That's where I would begin. Also check you are using the low res option for best speed, SetResolutionMode( mode ). 1 to use a high (native) resolution, 0 to use a low (scaled) resolution. I haven't used this myself much, but it looks like an option to try, before doing too much work.
Edit - Also are you compiling for the iphone or using the player? If you are using the player, expect slow down. A compiled version runs as well as android apparently.

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th May 2012 15:49
ipad res = 1024x768

iphone res = 960x640

not much of a big difference
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 5th May 2012 16:06
That's surprising, I would have though an ipad to have quite a lot higher res screen, considering the size difference. Still, just because an ipad has 960x640, no reason you can't go a little lower for speed reasons. 480x320 sounds a nice compromise. It should still be fullscreen just a little chunkier.

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th May 2012 16:31
DVader 480x320?!!!!!

Try playing that on an iPad3!!!!!!!!!!!!!!!!
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 5th May 2012 18:20
Looks fine on my android.

halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 8th May 2012 15:34
Can you I mean the people who have a iPad play fruit warriors and give me some advice to improve the game?

The Miracrea Games
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 8th May 2012 18:25 Edited at: 8th May 2012 18:26
Are you, by any chance, using UV scrolling type stuff?

I recently experienced a performance issue that only happened on my iPod.

It was related to using UV scrolling to create a nice parallax effect.

The app would run at 60 FPS on all platforms (windows, iPad, iPod, Android) without the uv scrolling effect.

And with it, it still worked at 60 FPS for windows, iPad and Android. But the iPod dropped to 11-12 FPS.

There is something about doing the UV stuff that doesn't agree with the iPod.

Cheers,
Ancient Lady
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 8th May 2012 18:40 Edited at: 8th May 2012 18:49
halley I tried Fruit Warriors on Ipad3, it plays ok.

can't check the fps though!

the only thing that looks strange is that the gamecenter box comes upside down
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 9th May 2012 17:14
@bjadams, Can you give me some advice to improve the game? btw: do you use Skype?

The Miracrea Games
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 9th May 2012 21:27
I have only played the game for 10 minutes, i think it looks very good.

Maybe you can make the introduction more animated instead of text only
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th May 2012 20:45
I haven't played the game only seen a few pictures on here. There doesn't seem a massive amount going on for slowdown (in the pics at least). I'm sure it could be improved. Have you played with any of the suggestions so far? Image size etc? In my dabblings with AppGameKit since day one, I have found it is pretty good for speed as long as you don't go too overboard graphics wise.

Login to post a reply

Server time is: 2024-05-04 15:50:09
Your offset time is: 2024-05-04 15:50:09