# Understanding scripting

**URL:** <https://forum.defold.com/t/understanding-scripting/63180>\
**Category:** Questions\
**Created:** [September 18, 2019, 8:47pm UTC](https://forum.defold.com/t/understanding-scripting/63180 "2019-09-18T20:47:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dembemn96](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/d/7993a0/32.png) [@dembemn96](https://forum.defold.com/u/dembemn96)\
**Post date:** [September 18, 2019, 8:47pm UTC](https://forum.defold.com/t/understanding-scripting/63180/1 "2019-09-18T20:47:28Z")

</div>

im new to Defold and i know lua basics but im not getting enough information in tutorial and videos to understand the way i have to do scripting , is there any information which can help me ?

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [September 18, 2019, 9:22pm UTC](https://forum.defold.com/t/understanding-scripting/63180/2 "2019-09-18T21:22:00Z")

</div>

Did you checked out:

> **[Writing game logic in scripts](https://defold.com/manuals/script/)**
>
> This manual describes how to add game logic using script components.

> **[Writing code](https://defold.com/manuals/writing-code/)**
>
> This manual briefly covers how to work with code in Defold.

> **[Lua programming in Defold](https://defold.com/manuals/lua/)**
>
> This manual will give a quick introduction to the basics of Lua programming in general and what you need to consider when working with Lua in Defold.

> **[Lua modules in Defold](https://defold.com/manuals/modules/)**
>
> Lua modules allow you to structure your project and create reusable library code. This manual explains how to do that in Defold.

and also other forum threads:

> [@I'm new to lua, do i need to learn it before using defold?](https://forum.defold.com/t/im-new-to-lua-do-i-need-to-learn-it-before-using-defold/17934):
>
> as the title says, do i need to learn lua to use defold?

> [@I'm new to Lua, so I'm confused](https://forum.defold.com/t/im-new-to-lua-so-im-confused/773):
>
> Hello, I’m not a very experienced programmer, my past experience was writing couple of ios apps and games using Objective-C&SWIFT, I’ve been hearing that LUA is supposed to be a simple and a quick scripting language, I tried the side-scroller tutorial, and the very first tutorial with the frog, but I’m very confused and the lack of auto-complete in the editor certainly is not helping, I don’t know the vmath functions for example, or what parameters they should take, also I can’t distinguish bet…

> [@Thinking about Lua coding and defold](https://forum.defold.com/t/thinking-about-lua-coding-and-defold/11719):
>
> I am from java world and i am working as android developer. slight_smile Gamedev is my hobby. When defold was released I try it, and I think it is realy awesome. smile I try lua first time in defold. Lua is cool language. I make some rules for me to keep my code simple and readable. 1)Codestyle. To make a code readable you need a codestyle. As a start point I use [http://lua-users.org/wiki/LuaStyleGuide](http://lua-users.org/wiki/LuaStyleGuide). For me it was hard to use underscore instead of CamelCase. But when I use lua, I als…

?

I hope it would help, though if anything is not clear for you, don’t hesitate to ask 😉 I’ve also asked many times - how to write scripts, how to develop efficiently, etc, but that kind of questions is really hard to answer, because it’s way too generic, so the answers are generic too, unfortunately 😕 The best I can advise is to just practice 😉

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [September 19, 2019, 5:41am UTC](https://forum.defold.com/t/understanding-scripting/63180/3 "2019-09-19T05:41:05Z")

</div>

Be sure to also check out the basic examples:

[https://www.defold.com/examples/basics/simple\_move/](https://www.defold.com/examples/basics/simple_move/)
