Hello Everyone,
I recently started learning Lua, got the hang of it on the second day of studying the documentation and practicing/testing certain things.
I am what I call myself, a lazy programmer at most times. Mainly because I would program/code things in a harder way that I find easier because I don’t know or understand the actual way to do it.
For example with HTML and JavaScript, I just use divs and a simple js function to show and hide certain things with onclicks and whatnot rather than having separate html files for each thing.
My question is, is it bad that I would rather do stuff like this
example, say I had a menu screen made
local function onbuttonTouch(event)
if(event.phase == “began”) then
Menu.isVisible = false
Option1.isVisible = false
Option2.isVisible = false
// this being like each option or thing on the menu
game.isVisible = true
is it bad to say have this rather than using scenes? I am trying to comprehend scenes and honestly it makes sense mentally, but codingwise it isn’t working.
As I typed this though I realized I could probably just group everything in my menu then just do
group.isVisible = false
if that is possible to do, I will find out.
few other random questions too
why are gifs not supported? Instead you have to use imagesheets which honestly isn’t that all pretty
Sometimes my android deletes the previous apk I made on there, for example, I would make a game, install the apk but if i had another game that I made, it would delete it. Not sure if this is an issue I can fix.
Thanks everyone!
