Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frameTime = .1
- directions = {'right', 'down', 'left', 'up'}
- pmSpawnPos = {x = 13, y = 12}
- g1SpawnPos = {x = 12, y = 10}
- g2SpawnPos = {x = 13, y = 10}
- g3SpawnPos = {x = 14, y = 10}
- g4SpawnPos = {x = 15, y = 10}
- entities = {{name = 'pacman', col = colors.yellow}}
- tiles = {{name = 'air', col = colors.black},
- {name = 'wall', col = colors.blue},
- {name = 'gate', col = colors.purple}}
- 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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {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},
- {2,1,1,1,1,1,2,1,1,1,1,1,2,2,1,1,1,1,1,2,1,1,1,1,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