Added invisible border on level 1.
This commit is contained in:
parent
9fe46b6f44
commit
fb58691a06
|
@ -54,6 +54,18 @@ class Level1(level.Level):
|
|||
self.player.set_pos(64 * 15, 48 * 15)
|
||||
self.player.set_init_pos()
|
||||
|
||||
for i in range(self.dimensions[0]):
|
||||
self.objects.append(block.InvisBlock(self, i * 64,
|
||||
0))
|
||||
self.objects.append(block.InvisBlock(self, i * 64,
|
||||
(self.dimensions[1]) * 48))
|
||||
print i
|
||||
for i in range(self.dimensions[1]):
|
||||
self.objects.append(block.InvisBlock(self, -64,
|
||||
i * 48))
|
||||
self.objects.append(block.InvisBlock(self, self.dimensions[0] * 64,
|
||||
i * 48))
|
||||
|
||||
### Task 2: Rolling stone
|
||||
|
||||
task2_size = 15, 10
|
||||
|
|
Loading…
Reference in New Issue