Jump to content

FPS LOW


Yue
 Share

Recommended Posts

 

The right question, how do I look at the frames per second in a final executable?

When I launch the debugger, I see the information of the FPs, but an executable that is not debug mode, does not have that information.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

In release mode I think it is F11 will get you fps but not some of other info, but you can change this a bit if you want some other stats coming out. The bit of code should be in main.lua. You can also set up your own global level debug flag and bind a key to turn it on and of in game to write out messages around your suspected trouble point. Primitive but eternally useful.

Debugging a large level can be a problem but that should be a last resort. Aim to MAKE problems actually HAPPEN early in a simplified test environment (which can still have complex interactions) during mechanics development, and use it to reproduce suspected problem scenarios if found later in large level.   The simplified level should run just fine in debug mode.  

I sometimes  develop on a laptop with integrated graphics and I would suggest that Leadwerks is actually more practical to use in such a setup than most other engines.  Small test levels launch quite quickly and the uncluttered editors are practical to use on small screens.

At some point you probably need to retreat to a desktop to do full level development but you can do a lot of groundwork on a light system.   If your game isn't fun when its in a simple level it may indicate that adding loads of stuff in isn't going to make it any more fun.

I don't need to worry about that though.  My games are never fun!

.....sigh. 

 

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...