Jump to content

FPS Rate?


MadCat
 Share

Recommended Posts

You could be limited to 60 fps due to V-sync being enabled.

You can change this through code using the context:Sync() command.

More info - http://www.leadwerks.com/werkspace/page/api-reference/_/context/contextsync-r48

 

You will find the Sync() command somewhere in the Main.lua by default. If you find context:Sync(true) then change it to context:Sync(false) to disable v-sync and then you should be able to get above 60 fps if your scene isn't to complex.

  • Upvote 2

Check out my game Rogue Snowboarding- 

https://haydenmango.itch.io/roguesnowboarding

Link to comment
Share on other sites

  • 1 month later...

Sorry that I reply that late, but I have had the problem in the past and Sync(false) solved not my problem.

 

But NVidia Driver has swiched on in all programs VSync on.

I put that off in NVidia Settings global.

Possibly interessting for other users.

Leadwerks 4.x Pro, examples please for C++,

english is not my native language.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...