Search found 1 match
Search found 1 match • Page 1 of 1
- Sun Jun 08, 2014 7:00 pm
- Forum: General
- Topic: Dumb Question - main.lua runs function defs?
- Replies: 4
- Views: 1294
main.lua hello world example function love.draw() love.graphics.print('Hello World!', 500, 300) end i'm new to lua, and from what i understand, any block starting with the word 'function' is a function definition. to call it you would do something like: love.draw(love.graphics.print('Hello World!', ...