Город МОСКОВСКИЙ
00:00:08

wait() and task.wait() are not the same thing

Аватар
Кодинг на Java
Просмотры:
30
Дата загрузки:
05.12.2023 02:01
Длительность:
00:00:08
Категория:
Фильмы

Описание

#roblox #robloxdev

wait() has been used by many game developers on roblox, it is fast typing and time saving for beginners to add but most beginners won't get how inaccurate wait() is, basically wait() was deprecated as CloneTrooper1019 stated in 2019 that wait() is superseded by task library which is optional for performance.

wait() also has more issue with throttling as expert developers said, even if the time duration was set to 0.01 but if we printed to 0.01 the result is 0.03 which is not what we are expecting.

Props to DevGabe for explanation
https://www.youtube.com/watch?v=vxWFMlq5ntE&t=572s

Рекомендуемые видео