Forum

> > CS2D > Scripts > Lua Tutorial for Absolute Beginners
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lua Tutorial for Absolute Beginners

15 replies
To the start Previous 1 Next To the start

old Lua Tutorial for Absolute Beginners

Lee
Moderator Off Offline

Quote
This is a tutorial for those of you with absolutely no prior experience in Lua. It's titled Learn Lua the Hard Way and parodies (but not ridiculing) a work of similar title aimed at Python beginners.

Read it here:

Chapter 1-5: Introduction
http://www.phailed.me/2011/02/learn-lua-the-hard-way-1/#desc

Chapter 6-10: Tables
http://www.phailed.me/2011/02/learn-lua-the-hard-way-tables/#desc
edited 1×, last 28.02.11 04:00:34 am

old Re: Lua Tutorial for Absolute Beginners

DannyDeth
User Off Offline

Quote
The tutprial by TKD is getting a bit old to be honest, but it's still valid. However it is missing quite a bit of stuff in it, it's more like 'Lua for Beginners that will never go further than this.'

old Re: Lua Tutorial for Absolute Beginners

Lee
Moderator Off Offline

Quote
@Starkkz:
look into Love2D, it uses Lua to interface with the graphics layer (actual rendering done at the driver or software level depending on the pipeline supported by the OS) so it's both fast and easy to use.

Also, as Banaan pointed out, you can use an inhouse solution (tecgraf is the developer of Lua) or you can simply modify the main function of lua.c to redirect execution flow into your custom lua program.

old Re: Lua Tutorial for Absolute Beginners

FlooD
GAME BANNED Off Offline

Quote
Lee has written
@Starkkz:
look into Love2D, it uses Lua to interface with the graphics layer (actual rendering done at the driver or software level depending on the pipeline supported by the OS) so it's both fast and easy to use.


whoa thats pretty cool... cs2d-in-lua?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview