Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one

  • Point & Click Puzzle Games
  • 2020-11-12
  • 1364
LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one
Lua tableLua arraylua matrixlua array of arraysarraytablesarray typetable typeinsert into a tableretreiving data from a tableretreiving data from an arraylua (programming language)lua tutoriallua programming
  • ok logo

Скачать LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one

Tic Tac Toe [Lesson 8]
[S1E17] LUA TABLES & LUA ARRAYS: Understanding what tables (aka Arrays) in Lua are, how they work in LUA and why you might use one

In this Lua Programming Solar 2d lesson I resolve a logic problem of the order of the programs flow by using an array.

This Tic Tac Toe game is being built using the Solar 2d Scene Template.
In the scene create event, the board is built. When building the board it needs to be given an event listener to help identify when people click on a grid to place their character, but the problem is, that these actions take place after the build in the Scene Show Did event section of the template.


To resolve this issue, as we create the individual small grid squares, we name them and then place then in an array/table.


This table array was created outside of the scene events, so all scene events can then use it.


Meaning that later in the code execution, during the Show Did event phase, we can access each sqaure, by circulating through the array, adding to each object an event listener as we go, meanind the function gets called can be then placed in the correct location of our template logic and called on when needed.


Unlike other programming languages, arrays/tables start counting from 1 (and not position 0) and can hold a mixture of different data types, such as numbers, objects, other arrays, strings etc...




==== OPEN SOURCE & FREE ONLINE TOOLS ====
In my next few videos, I will look at these in more detail.
► Lua Website: http://www.lua.org/
► Solar2D (game engine): https://solar2d.com/
► Solar2D (aka Corona SDK) Documentation: https://docs.coronalabs.com/



==== SUBSCRIBE ====
► Please subscribe (& Stay NOTIFIED) to my channel - so you don't miss out:
   / @pointclickpuzzlegames  
► My other YouTube Channel McCall Media TV:
https://www.youtube.com/c/McCallMedia...



==== SERVICES USED TO MAKE/MENTIONED IN THIS VIDEO ====
► Streamyard: https://streamyard.com?pal=5713946426...
► Tubebuddy: https://www.tubebuddy.com/McCallMediaTV
► VidIQ: https://vidiq.com?afmc=5bz
► Answer The Public: https://answerthepublic.com?via=angel...
► Epidemic Sounds: https://www.epidemicsound.com/referra...
► Envato Elements: https://1.envato.market/McCallMediaTV



==== VISIT MY WEBSITES ====
► https://www.PointAndClickPuzzle.games
► https://www.McCall.media
► https://www.TheWhiteboardAnimation.biz



==== VISIT MY SOCIAL PROFILES ====
♥ Facebook Business Page:   / pointclickpuzzlegames  
♥ Instagram: instagram.com/pointclickpuzzlegames
♥ Patreon:   / pointandclickpuzzlegames  


==== HASHTAGS ====
#Variables
#LuaProgramming
#LuaCoding
#Solar2D



==== DISCLAIMER ====
Many of the links on this page are affiliate links, meaning if you were to make a purchase after using this link, then I would be paid a commission for that recommendation. However, I am in no way associated with the companies listed, please use your own judgement, and research before making a purchase. I use these links as a way to help fund my business, so I can continue to provide free content like this video. Your support is greatly appreciated.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]