RUVIDEO
Поделитесь видео 🙏

Lua Glider Tutorial 1 part 1 - Basic Debugging

Hello, in this tutorial we will briefly describe how to use some of the features of the debugger and give some scenarios when you would use them. First of all, lets get the game files from github, we will be using the tilt monster game example for this tutorial. Lets get it from github.
Now lets open up maingame.lua and go to line 4242. Just press cntrl-g for a shortcut. Lets set a breakpoint at this line. To do this just click on the line number. This will allow you to stop the simulator when it reaches this line of code so you can examine the variables in scope here. Now lets click debug. This will start the simulator. Now lets click the play now. You will notice the game has paused and a green arrow is shown over the breakpoint. You can now examine the contents of all variables currently in scope here in the variables tab.
Now lets click the step into button. This is useful when you want to advance the simulator one line at a time, allowing you to look at variables change as they evolve over time.
Now lets say we are done looking at this function and wish to return to the function gameloop. You can either keep stepping until you return, or you can hit step out. This will skip the rest of the function.
Ok, say you are sure that the moveGrass function works and you want to skip it. Click step over. It will still be executed in the simulator, you just don't have to step through the whole thing yourself.
If you want to skip an entire block of code, just use the run to cursor function. Click somewhere in the document and click run to cursor, you will see the program has stopped there.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Lua Glider Tutorial 1 part 1 - Basic Debugging», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.