Compare commits

..

No commits in common. "506930b67ead55730c46a747999f34a29b28573c" and "25e06de9ad3daccef0fad6eab6eecee77941c413" have entirely different histories.

4 changed files with 6 additions and 7 deletions

View File

@ -20,11 +20,11 @@ pip install pygame
### With Linux/Unix
```bash
pyinstaller --onefile --noconsole launcher.py --add-data "gamedata:gamedata" --icon=icon.ico
pyinstaller --onefile --noconsole launcher.py --add-data "gamedata:gamedata" --icon icon.png
```
### With Windows
```bash
pyinstaller --onefile --noconsole launcher.py --add-data "gamedata;gamedata" --icon=icon.ico
pyinstaller --onefile --noconsole launcher.py --add-data "gamedata;gamedata" --icon icon.png
```

View File

@ -75,11 +75,10 @@ class Manager(BaseObject):
self.game.globals["pause"] = not self.game.globals["pause"]
# Spawning more lemmings
if (self.lives>0 and nblemmings>0):
if not self.game.globals["pause"]:
if self.spawntimer.tick(self.game.dt):
self.game.gameloop.summon(Spawner(self.game,self.tiles,speedmargin=int(self.speedmargin+0.5),skins=self.skins))
self.speedmargin+=self.speedstep
self.spawntimer = self.game.lib.Timer(self.basetime+nblemmings*self.steptime)
if self.spawntimer.tick(self.game.dt):
self.game.gameloop.summon(Spawner(self.game,self.tiles,speedmargin=int(self.speedmargin+0.5),skins=self.skins))
self.speedmargin+=self.speedstep
self.spawntimer = self.game.lib.Timer(self.basetime+nblemmings*self.steptime)
else:
# Game over
if self.endtimer.tick(self.game.dt):

BIN
icon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B