3
image = 'data/player.png',
4
maxVelocity = {x=velLimit,y=velLimit},
5
minVelocity = {x=-velLimit, y=-velLimit},
6
onStartFrame = function(self)
7
if the.keys:pressed('left') then
8
self.velocity.x = -200 * the.activeMaze.moveMod
9
elseif the.keys:pressed('right') then
10
self.velocity.x = 200 * the.activeMaze.moveMod
15
if the.keys:pressed('up') then
16
self.velocity.y = -200 * the.activeMaze.moveMod
17
elseif the.keys:pressed('down') then
18
self.velocity.y = 200 * the.activeMaze.moveMod
23
onCollide = function(self, other)
b'\\ No newline at end of file'