tommyroyall

Merry Christmas :).

Dec 25th, 2012
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. function love.load()
  2.     font=love.graphics.newFont(48,"resources/festivefont.ttf") -- Load up a nice, festive font for the text to be printed in here.
  3.     love.graphics.setFont(font)
  4. end
  5. function love.update(dt)
  6.     random_x=math.random(0,love.graphics.getWidth())
  7.     random_y=math.random(0,love.graphics.getHeight())
  8. end
  9. function love.draw()
  10.     love.graphics.print(random_x,random_x,"Merry Christmas Notch :D")
  11. end
Advertisement
Add Comment
Please, Sign In to add comment