I notice I have to write "pos.x = pos.x + 1" instead of "pos.x += 1". Will there be these shorthand expressions at some point in the future?
Also sorry if I couldn’t see anything online or if there’s preferences to change in Defold, but also why does it remove the indent in a line of code when I press enter?
--|--| indent
--| pressed enter
--|--| -cursor here
--|--|
I suppose that has me fooled, thinking I will have to manually correct the indentation. but once I complete the function with the brackets, it corrects itself.
Do you know any extensions that would help with getting set up with lua code in visual studio code? I found something on the manual but doesn’t seem to be working visually.
Sorry for the late reply. I think I got it mostly working. But I decided to try working with the default IDE for now. I’ll send screenshots for what I’m using.