GLBasic forum

Main forum => GLBasic - en => Topic started by: ampos on 2010-Sep-15

Title: LimitFPS on iPhone?
Post by: ampos on 2010-Sep-15
I am making my game, and set LIMITFPS 60.

Now I have tested on iPaq, and it shows slow. It runs at the same speed as in PC if I set LIMITFPS 30.

What is the max fps on iPhone? 30 also?

Should I set LIMITFPS 30 to all versions?
Title: Re: LimitFPS on iPhone?
Post by: mentalthink on 2010-Sep-15
HI Ampos, I think is a bug of Glbasic on Ipad, I read in somewhere in the forum, what the same application runs more slowly on ipad tahn others platfforms.

Kind Regards,
Ivan J.
Title: Re: LimitFPS on iPhone?
Post by: Kitty Hello on 2010-Sep-15
No bug!!!
It's just that you have a higher fill rate and the iPad EGL driver is slower.
Just print the FPS and do nothing else except a showscreen and you will see that you get 60 FPS.
Title: Re: LimitFPS on iPhone?
Post by: ampos on 2010-Sep-15
LOL

I said "iPaq", not iPad  =D The iPaq was the PDAs of HP.

I was asking if I should set my game to 30 fps so it be equal in all plataforms, or set to 60 on capable units, or stick to 30 as iphone has a 30fps limit rate, or stick to 30 as I never will get 60fps but on PC,...
Title: Re: LimitFPS on iPhone?
Post by: Kitty Hello on 2010-Sep-15
iPaq - the old Windows CE devices?
They might be a tad weak. I use 30 fPS for most games, but 60 "can" be done for simple stuff on my Acer, which is about a 7 years old.
320x240, though. If you have a bigger screen, it might be slower.
Title: Re: LimitFPS on iPhone?
Post by: ampos on 2010-Sep-15
Yes, but mine has Win 6.x

I think I will stick to 30 fps, at least I will get constant fps on most devices...
Title: Re: LimitFPS on iPhone?
Post by: MrTAToad on 2010-Sep-15
Why not use LIMITFPS -1 ?
Title: Re: LimitFPS on iPhone?
Post by: ampos on 2010-Sep-15
Didnt know about this -1

Quote*  A fps value of -1 uses a frame rate of  500

I dont get it.
Title: Re: LimitFPS on iPhone?
Post by: MrTAToad on 2010-Sep-15
It sets the frame rate limit to probably the maximum rate any machine can handle
Title: Re: LimitFPS on iPhone?
Post by: ampos on 2010-Sep-15
mm.... if you dont want to set a fpslimit, wouldnt it be easiest just no place any limitfps command at all?

:-[
Title: Re: LimitFPS on iPhone?
Post by: Ian Price on 2010-Sep-15
Quotemm.... if you dont want to set a fpslimit, wouldnt it be easiest just no place any limitfps command at all?
No. GLBasic automatically uses a set FPS limit (60FPS).
Title: Re: LimitFPS on iPhone?
Post by: MrTAToad on 2010-Sep-15
It can be changed in Project Options though