Search found 1 match

by 3amigos
Sun Jun 08, 2014 7:00 pm
Forum: General
Topic: Dumb Question - main.lua runs function defs?
Replies: 4
Views: 3432

Dumb Question - main.lua runs function defs?

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!', ...