Im going to sound like an idiot, but do i need to use Lua?

Or can I use things like plain C or JavaScript? Maybe even python?

In order to control the game logic, you’ll have to use Lua, yes.

If you’re familiar with C and Python, I don’t think you’ll have any problems using Lua.

We have a lot of learning materials here.

yea. I have ADHD so learning things like LUA is actually difficult. How different is LUA to C anyway? I heard they are quite similar. (Sorry but i can barely find any LUA material)

2 Likes

Will you add support for drag and drop / other types of code?

Infact, sometimes I learn extremely fast by using drag and drop then looking into the code and making more precise changes.

most of the LUA material is just reading, which i cant learn by. i learn by doing. Is there any interactive tutorial? I cant find one. That’s what i meant by i can barely find any material

There’s a bunch of example projects here that you could explore:

I personally want to help make a drag and drop shader graph for shaders in the editor since IMO it’s a legitimate use for it and would be really useful.

If that ever happens it could be adapted to scripts too. Using visual coding / blueprints is a big crutch though that should be avoided if you can afford to.

Though there is interest in at least community members like me in doing this it’s probably not going to happen soon.

1 Like

If you mean some kind of visual/block based system for building game logic then no. That is not within the scope of Defold and vision of Defold as a product.

Step by step tutorials exist: https://defold.com/tutorials/getting-started/#getting-started

Also some good video tutorials: https://www.youtube.com/channel/UCkHxiTiccq97knREKsi5UKA/videos

1 Like

Nice to meet u.
I have GAD but I can still try to learn Lua & Defold.
Good luck.

1 Like