Reduce camera shaking on spawn
This commit is contained in:
parent
74e05b11d2
commit
f968827b7b
@ -30,8 +30,8 @@ class Spawner(BaseObject):
|
|||||||
lemming.move(-lemming.rect[2]/2,-lemming.rect[3]/2)
|
lemming.move(-lemming.rect[2]/2,-lemming.rect[3]/2)
|
||||||
self.game.gameloop.summon(lemming)
|
self.game.gameloop.summon(lemming)
|
||||||
self.game.gameloop.delid(self.id)
|
self.game.gameloop.delid(self.id)
|
||||||
self.game.globals["scamerax"]+=3
|
self.game.globals["scamerax"]+=2
|
||||||
self.game.globals["scameray"]+=3
|
self.game.globals["scameray"]+=2
|
||||||
|
|
||||||
# Spawn dust particles
|
# Spawn dust particles
|
||||||
sprites = self.game.getSpriteDir("particles/dust/")
|
sprites = self.game.getSpriteDir("particles/dust/")
|
||||||
|
Loading…
Reference in New Issue
Block a user