function love.mousepressed(x, y, button, istouch)
print( x .. " " .. y)
end
function love.draw()
love.graphics.print("Hello", 100, 200)
end
I'm using love 0.10 and Lua 5.3, on Windows 10...
the print isn't working, i belived that the love.mousepressed() is not be triggered. Thanks for help!
First thing's first, the fact that you might have Lua 5.3 on your OS does not change the fact that by default, löve uses luaJIT.
As for your issue, since print prints to the console, did you enable it in conf.lua?
Because without that, it won't work.
If it still doesn't work, then it's either because you're using an IDE like zerobrane, or you're trying to run your project from a text editor like sublimetext, that swallow the console output. Or it might be a win10 issue; solutions to that will come with the next version.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.