Nike622000

map

Feb 25th, 2024 (edited)
1,153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.44 KB | Source Code | 0 0
  1. frameTime = .1
  2.  
  3. directions = {'right', 'down', 'left', 'up'}
  4.  
  5. pmSpawnPos = {x = 13, y = 12}
  6. g1SpawnPos = {x = 12, y = 10}
  7. g2SpawnPos = {x = 13, y = 10}
  8. g3SpawnPos = {x = 14, y = 10}
  9. g4SpawnPos = {x = 15, y = 10}
  10. entities = {{name = 'pacman', col = colors.yellow}}
  11.  
  12. tiles = {{name = 'air', col = colors.black},
  13.          {name = 'wall', col = colors.blue},
  14.          {name = 'gate', col = colors.purple}}
  15.  
  16. map = {{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
  17. {2,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,1,1,1,2},
  18. {2,1,2,2,2,1,2,2,2,2,2,1,2,2,1,2,2,2,2,2,1,2,2,2,1,2},
  19. {2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2},
  20. {2,1,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,1,2,1,2,2,2,1,2},
  21. {2,1,1,1,1,1,2,1,1,1,1,1,2,2,1,1,1,1,1,2,1,1,1,1,1,2},
  22. {2,2,2,2,2,1,2,2,2,2,2,1,2,2,1,2,2,2,2,2,1,2,2,2,2,2},
  23. {2,1,1,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,2},
  24. {2,2,2,2,2,1,2,1,2,2,2,2,3,3,2,2,2,2,1,2,1,2,2,2,2,2},
  25. {2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2},
  26. {2,2,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,1,2,1,2,2,2,2,2},
  27. {2,1,1,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,2},
  28. {2,2,2,2,2,1,2,2,2,2,2,1,2,2,1,2,2,2,2,2,1,2,2,2,2,2},
  29. {2,1,1,1,1,1,2,1,1,1,1,1,2,2,1,1,1,1,1,2,1,1,1,1,1,2},
  30. {2,1,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,1,2,1,2,2,2,1,2},
  31. {2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2},
  32. {2,1,2,2,2,1,2,2,2,2,2,1,2,2,1,2,2,2,2,2,1,2,2,2,1,2},
  33. {2,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,1,1,1,2},
  34. {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2}}
  35.  
Advertisement
Add Comment
Please, Sign In to add comment