66 |
oxyd(2*maze.width-1,2*maze.height) |
oxyd(2*maze.width-1,2*maze.height) |
67 |
oxyd(1,2*maze.height) |
oxyd(1,2*maze.height) |
68 |
oxyd(2*maze.width-1,0) |
oxyd(2*maze.width-1,0) |
69 |
|
|
70 |
local actorx, actory = cell_to_level( random(maze.width)-1, |
-- ant 2003-02-13: actor should not appear at space cell |
71 |
random(maze.height)-1 ) |
local actorx, actory = 0,0 |
72 |
|
repeat |
73 |
|
actorx, actory = random(maze.width)-1, random(maze.height)-1 |
74 |
|
until (not(cell_is_straight(maze, actorx, actory))) |
75 |
|
|
76 |
|
actorx, actory = cell_to_level(actorx, actory) |
77 |
set_actor( "ac-blackball", actorx + 0.5, actory + 0.5, |
set_actor( "ac-blackball", actorx + 0.5, actory + 0.5, |
78 |
{ player=0 } ) |
{ player=0 } ) |
79 |
end |
end |
80 |
display.SetFollowMode(display.FOLLOW_SCROLLING) |
display.SetFollowMode(display.FOLLOW_SCROLLING) |
|
|
|
|
|
|