Make game run at 30 fps

Get help using Construct 2

Post » Thu May 21, 2015 1:58 am

I looked at the retro template, and it ran at a lower fps and I kind of liked that because it felt more like an older game. I was wondering how i would go about doing that for my own game.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Thu May 21, 2015 3:32 am

you mean lower the FPS ? try intensive spam of objects and delete them after 5 /10 seconds, or events that will slow it down


or maybe see the fps function maybe you can limited it from c2! actually let me check that! :))

you can also slowdown the game by playing around with timescale function but for the FPS to change it to a surtain play rate i cant really see an action for it, unless there is a .asjson or some external coding to be added
B
75
S
22
G
68
Posts: 1,335
Reputation: 43,267

Post » Thu May 21, 2015 6:34 am

The retro template runs at 60 FPS like any other C2 project. However, the template does turn on pixel rounding -- under project settings -- which can make movement look less smooth, giving the illusion of a lower framerate.

Honestly, there's no good way to actually limit the FPS, and I definitely wouldn't recommend slowing down the game on purpose by overloading the GPU/CPU -- this would have huge effects on power drain, amongst other things.

One way to fake an FPS limit would be to update your events every other frame -- for example, by incrementing a global variable by 1 every frame and only updating all other events if this value is even. This will effectively run your event logic at 30 FPS assuming the game is rendering at 60 FPS. However, using this method you'd have to roll all of your own movements, as behaviors would still update 60 times per second.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,116


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 19 guests