Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Quick ?

I dunno if this should go here or  not but it does involve scripting so I was wondering I found something out from the help that allows you to put in main to change the fps. I was wondering if i should do 60 or 80 as the max because 80 makes the game go way to fast and I have to slow down the character etc and 60 is kind of like that but is still alright which one would be better to use!? This also changes how fast the gameplay shorter probably making my 15 to 20 minute gameplay only be about 10 to 12. Also i was wondering even then should i make the character slower, all it does making it slower is make it look like hes walking normal speed but the fps is changed lol?

Edit: Also one quick ? is there a way to make a code that says if fps=... then player speed= _ and player frequency =...?
 

poccil

Sponsor

The game's frame rate can be changed using:
Code:
Graphics.frame_rate=X

where X is a number from 10 through 120.

Checking frame rate:

Code:
if Graphics.frame_rate==X
  # Frame rate is X
end
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top