
Kal Chopra
@kalchopra
1 reply
0 recast
0 reaction
5 replies
15 recasts
86 reactions
1 reply
0 recast
1 reaction
0 reply
0 recast
0 reaction
23 replies
16 recasts
109 reactions
0 reply
0 recast
0 reaction
0 reply
0 recast
0 reaction
0 reply
1 recast
2 reactions
3 replies
1 recast
1 reaction
9 replies
17 recasts
78 reactions
0 reply
0 recast
2 reactions
1 reply
0 recast
1 reaction
0 reply
0 recast
0 reaction
0 reply
0 recast
0 reaction
1 reply
0 recast
1 reaction
0 reply
0 recast
0 reaction

Little tip for anyone creating games with Farcade Studio 👇
In game dev, there's a concept called Delta Time, and it's vital for making sure games run consistently across all devices.
Every game has a loop that continuously updates elements like a player's position, projectiles, etc... This loop runs many times per second, based on how many frames per second (FPS) your device can output.
More powerful devices, such as desktops, can output much higher frame rates than smartphones. The refresh rate of your display can also limit the FPS.
If you don't factor this into your code, gameplay can feel different. For example, player movement at 120fps might be twice as fast than at 60fps!
You can fix this by calculating the time between each frame (Delta Time) and applying it to all physics calculations, ensuring gameplay feels the same on all devices.
You don't really have to understand how it works, but if your game has movement of any kind, be sure to ask your AI model to implement it if it doesn't already. 3 replies
2 recasts
15 reactions
1 reply
0 recast
1 reaction
1 reply
0 recast
1 reaction
0 reply
0 recast
0 reaction