Reduce camera shaking on spawn

This commit is contained in:
theo@manjaro 2021-09-19 15:50:36 +02:00
parent 74e05b11d2
commit f968827b7b

View File

@ -30,8 +30,8 @@ class Spawner(BaseObject):
lemming.move(-lemming.rect[2]/2,-lemming.rect[3]/2)
self.game.gameloop.summon(lemming)
self.game.gameloop.delid(self.id)
self.game.globals["scamerax"]+=3
self.game.globals["scameray"]+=3
self.game.globals["scamerax"]+=2
self.game.globals["scameray"]+=2
# Spawn dust particles
sprites = self.game.getSpriteDir("particles/dust/")