SHARE
TWEET

Ghost Script

a guest Feb 19th, 2016 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ghost = {
  2.     GraphicsComponent = {
  3.         filename = "ghost.png"
  4.     },
  5.     NpcComponent = {
  6.         phrase = "I'M A SCARY GHOST!!!"
  7.     },
  8.     CollisionComponent = {
  9.         boundingBox = {0, 0, 64, 64},
  10.         collide = function(this, second)
  11.             this:say("Boo!")
  12.         end
  13.     }
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top