Discord
Login
Community
DARK THEME

I found a not realy bad bug but its not great...

so when you make a lua project it does this:

init = function()
end

update = function()
end

draw = function()
end

but it should be

function init()
end

function update()
end

function draw()
end

is saw this because i wanted to lear lua because it realy looked like microscript but it was more outside of microstudio, so i downloaded lua and vs code and that is when i noticed it.

It still works because in lua, function is both a keyword, and I guess a 'class' that can be created without the new keyword. Also, people have their preferences, some use function myFunction() will some use myFunction = function(), both work, even tho you are right and it should be that way.

Oh, okey! Thank you!

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community