Forum

> > CS2D > Scripts > Lua Tutorial for Absolute Beginners
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Lua Tutorial for Absolute Beginners

15 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Lua Tutorial for Absolute Beginners

Lee
Moderator Off Offline

Zitieren
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
1× editiert, zuletzt 28.02.11 04:00:34

alt Re: Lua Tutorial for Absolute Beginners

DannyDeth
User Off Offline

Zitieren
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.'

alt Re: Lua Tutorial for Absolute Beginners

Lee
Moderator Off Offline

Zitieren
@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.

alt Re: Lua Tutorial for Absolute Beginners

FlooD
GAME BANNED Off Offline

Zitieren
Lee hat geschrieben
@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?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht