Author Topic: Is it possible to increase the target frame rate to 60?  (Read 1256 times)

Jalli

  • Level 0: Bipi
  • *
  • Posts: 3
    • View Profile
Is it possible to increase the target frame rate to 60?
« on: August 26, 2020, 07:49:44 PM »
Hello! So at the moment, it looks like the target frame rate while in the editor and menus is 60 fps, while the map screen and levels run at 30 fps, right?

I was just wondering if it's possible for me to set the fps for map screens and levels from 30 to 60. If it is possible, how might I go about setting this? Also, would there be any notable downsides to this (incompatible animations, buggy movement, errors, etc.)?

Thank you in advance for any advice!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Is it possible to increase the target frame rate to 60?
« Reply #1 on: August 26, 2020, 10:13:09 PM »
It is possible to change the game's FPS to whatever you want. Just use the "area speed" command. If you want, you can go to Game Setup>Other Settings>Every Area Command Prompt then type in, "area speed = 60." It's just saying the speed is gonna be 60fps.

BUT, please note that there are downsides. While you can use 60fps, you will have to re-work all physics for everything for speeds to work properly.

I've talked with TingThing (PB's developer) about making it compatible with 60fps from the start, but it would be a back-breaking job. Because he'd have to re-write all physics for the FPS to increase to 60. So you have to manually do it yourself. Since you probably haven't worked with any projects in PB hardly at all, it's gonna be easy for you. As for me? I've been working on a game since the beginning of 2018 in PB, but it would be extremely time consuming to re-write all physics. So, just know you'll have to re-do everthing's physics for everything you create for 60fps to work properly. If you don't adjust physics, everything will run way too fast.

Jalli

  • Level 0: Bipi
  • *
  • Posts: 3
    • View Profile
Re: Is it possible to increase the target frame rate to 60?
« Reply #2 on: August 27, 2020, 12:44:14 AM »
Ah, that worked! Yeah, looks like it indeed makes the level run at double speed, but if I get Pro and manually slow everything down, I think it could work for what I'm envisioning. Thank you very much for the tip!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Is it possible to increase the target frame rate to 60?
« Reply #3 on: August 27, 2020, 01:07:42 AM »
You're welcome!

TingThing

  • Admin and Developer
  • Level 20: Nobom
  • *
  • Posts: 1395
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Is it possible to increase the target frame rate to 60?
« Reply #4 on: September 03, 2020, 05:59:28 PM »
Keep in mind that bumping from 30 to 60 fps will double the amount of computer power. Part of my reason for sticking with 30 is because that is fast enough for most eyes (Hollywood movies run at 24), and it will make your games easier to run on slower machines.


But, of course, some types of games, especially fast precision games, thrive in high fps. It just limits the number of machines that can handle it. Even with pro, some speed things cannot be adjusted, such as items bouncing out of blocks, or going through doors.