Jump to content

Recommended Posts

   I thought I might throw out some helpful links to help your journey through the lua code. 

And it does help to get some understanding on whats going on out there.

I'm not the best scripter in the world, and my learning curve is insane.

But I still reference these sites quite often, for those of you who are stuck.

These are complete gold when it comes to troubleshooting and creating your mods.

 

Special credit to Corrosive and Saiai. Thanks guys for all the help! 

 

1.Khan Academy: intro to computer drawing

Why?

the first tutorial pretty much introduces you to variables and their values, then to writing a function later on. 

It's fun, easy and you can learn some basics in 20-30 minutes practice. It also has links to some more 

advanced concepts. Pretty amazing actually!

 

https://www.khanacademy.org/computing/computer-programming/programming

 

2. Lua live demo

Why?

You can put code in, run it to see if it works! INSANTLY! Now Dont Starve has different rules to straight up LUA, and there are relationships in different files that may not exactly help. BUT OMG! IT's INSTANT! give it a shot already!

 

http://www.lua.org/demo.html

 

3.Lua for begginers demo 

Why?

OK, so the you tube tutorial is a bit disorganized, but worth watching, It covers how to download the Lua standalone, and covers a first program "Hello World!" and there are a few other tutorials the author covers.

The Tutorial is :

 

and the website for the standalone is:

https://code.google.com/p/luaforwindows/

 

Don't skimp on the video, it has instructions on what you need for the standalone.

 

4. Programming in Lua (first edition)

Why?

Documentation on understanding script is everything, and this explains it for everyone.

whats a table? whats a variable? whats love got to do with it? I dont know, read it and find out. (if you dont 

understand the 80's song reference, ask your mom) 

http://www.lua.org/pil/contents.html

 

 

So, That's what I got, if anyone has anything to add to the list, feel free. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...