It works but the problem is it will show up for just one frame. You will have to register a function which shows it for multiple frames so that you can actually view it.
Something like the code sample I am providing below.
Local function drawtextgraphics()
gfx.drawText(50,50,"Hello world")
end
Event.register(event.tick,drawtextgraphics())
Note that I haven't tested the code but it should work just fine :)
Thank you but the code isn't working. I've tried to find the problem (I have some experience with lua) but haven't found it
local function drawtextgraphics()
gfx.drawText(50, 50, "Hello world")
end
evt.register(evt.tick, drawtextgraphics)
Thank you! I don't know how I missed that