60 frames per second
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
60 frames per second
Does any one know how to make a LiveCode program run at 60fps (frames per second)? Is it graphics or code? does it use a ton of cpu power.
Thanks for your input
Danny
Thanks for your input
Danny
Re: 60 frames per second
Danny,
What kind of frames are you talking about? If you want to make some kind of movie, there's no point in showing more than 32 frames per second, since the human eye won't notice any quality improvement if you add more frames beyond that.
Best,
Mark
What kind of frames are you talking about? If you want to make some kind of movie, there's no point in showing more than 32 frames per second, since the human eye won't notice any quality improvement if you add more frames beyond that.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: 60 frames per second
Hi Mark,
No it's more like a game. I have these apples falling down the screen from the top to the bottom. And I'm just missing 30 fps when I test it.
Danny
No it's more like a game. I have these apples falling down the screen from the top to the bottom. And I'm just missing 30 fps when I test it.
Danny
Re: 60 frames per second
Danny,
Please define "frame".
Mark
Please define "frame".
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: 60 frames per second
I just mean 60 fps to make it look and maybe run smoother. I guess defining it, when an apple drops I want it to run down the screen smoother.
-
- Posts: 111
- Joined: Sun Aug 23, 2009 7:48 am
- Contact:
Re: 60 frames per second
I don't think you will get 60 fps in any LiveCode game
60 fps is actually a lot in ANY mobile game. But LiveCode doesn't use the GPU for graphics (my guess) so the graphics performance is not built for advanced gaming. It's the same on the desktop but on a modern computer you have enough horse power to get some decent game performance anyway. But there are some things too look out for to get better performance.

- Ensure you use lock screen and unlock screen
- Use images instead of graphics.
- Don't use graphic effects Include the effects in the images instead.
- Don't use gradients. Include the gradients in the images instead.
- Optimize your code!
___________________________________
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3
Re: 60 frames per second
Thanks! Luckily it isn't critical in my game I was just curious if that was possible. I'll definitely take into account the optimization tips so that it might run smoother.
By the way, you wouldn't have had any trouble uploading an app to the app store would you? Because I keep having this problem with codesign verification.
By the way, you wouldn't have had any trouble uploading an app to the app store would you? Because I keep having this problem with codesign verification.
Re: 60 frames per second
Danny,
Kind regards,
Mark
You might want to start a new thread about this. Give an exact description of what you're doing and at which point you get stuck and we might be able to help you.I keep having this problem with codesign verification
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode