Advertisement
Frekvens1

[OC] Demo Game renewed (In-Progress)

Feb 17th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. -- Adventure Time
  2. -- This Game Demo is made by Frekvens1
  3. -- Do not claim this as your own!
  4. -- Used in Minecraft by OpenComputers
  5.  
  6. local oldPull = os.pullEvent;
  7. os.pullEvent = os.pullEventRaw;
  8.  
  9. -- Command to download game to computer:
  10. -- pastebin get gDkpqzNP startup
  11.  
  12. -- DEBUG SETTINGS --
  13.  
  14. local debugMode = false
  15.  
  16. local showCords = false
  17.  
  18. -- KEY CONFIG --
  19.  
  20. local W = 17
  21. local S = 31
  22. local A = 30
  23. local D = 32
  24. local Enter = 28
  25. local M = 50
  26.  
  27. -- MAP DATA --
  28.  
  29. local currentMap = "main"
  30.  
  31. -- Movement Handler --
  32.  
  33. -- Game --
  34. function main()
  35.  
  36. end
  37. -- Code which runs at startup --
  38.  
  39. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement