Content pfp
Content
@
https://warpcast.com/~/channel/farcade
0 reply
0 recast
0 reaction

Sam pfp
Sam
@sams
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
19 reactions

loo pfp
loo
@zyloo
ty
0 reply
0 recast
0 reaction