tech/game 172

21/07/13 TicTacToe - LUA TABLES & LUA ARRAYS: Understanding what they are, how they work in LUA and why you might use one

https://youtu.be/SzL3b_PtFFA https://docs.coronalabs.com/api/library/table/index.html Solar2D Documentation — API Reference | Libraries | table Overview Tables in Lua implement associative arrays. That is, they can be indexed not just with numbers, but also with strings or any other value of the language, except nil. When you use tables, you should choose how to index Lua tables (either numerica..

tech/game 2021.07.13

21/07/13 TicTacToe - LUA EVENT HANDLING & EVENT LISTENERS: How to program objects to respond to tap/touch events in Lua

https://youtu.be/G3252oeu-4Q https://docs.coronalabs.com/guide/events/touchMultitouch/index.html Solar2D Documentation — Developer Guides | Events/Listeners Multitouch functionality is only supported on actual mobile devices (phone, tablet, etc.) or on a system with a touchscreen running Windows 7 or higher, in which case multitouch is supported by both the Corona Simulator for Windows and Coron..

tech/game 2021.07.13