User input
Posted: Mon Oct 10, 2011 11:53 am
looking to make a very simple text based adventure with a gui and maybe some sounds/music
how would i go about getting using input and printing?
like:
print("what is your name?")
name = io.read()
print("hello"name)
but for love. all i have so far is
function love.draw()
love.graphics.print("what is your name?", 0, 0)
end
im not sure where to go from here.
how would i go about getting using input and printing?
like:
print("what is your name?")
name = io.read()
print("hello"name)
but for love. all i have so far is
function love.draw()
love.graphics.print("what is your name?", 0, 0)
end
im not sure where to go from here.