Hi.
If I have moving objects in my game and the player PC runs the game faster than mine, it makes the objects moving faster. If the player PC runs the game slower than mine, it makes the objects moving slower. To solve this problem I know about 2 method. One is to use DeltaTime to set object speed. This way the object is moving at the same speed, (as on my PC), don’t matter how fast the game runs on other PCs. The other method is to set or limit the entire game speed (FPS). This way don’t matter how powerful the PC, the game runs at the same speed on every PC (of course if it meets the minimum requirements).
I remembered I have seen somewhere DeltaTime() function in GameDevelop, but now I want to use it to set speed like “200*DeltaTime()” but GD and the expression editor don’t recognise this function it say syntax error and the object don’t move. Now I’m confused about do I have seen this function before or not or Am I use it wrong way
Anyway, anybody could help me with this?
Is there anything I can (I have to) use in GameDevelop to limit or set speed of objects or the entire game?
Thanks.