Move initial view of the world
This commit is contained in:
parent
6e231f429f
commit
5029f376a6
1 changed files with 2 additions and 2 deletions
4
maps.py
4
maps.py
|
|
@ -16,12 +16,12 @@ class Map():
|
|||
self.chunkpreload = 1 # preload chunks in this radius (they will count as "visible")
|
||||
self.chunkunload = 10 # don't unload chunks within this radius
|
||||
self.cursorpadding = 2
|
||||
self.worldx = -self.cursorpadding
|
||||
self.worldy = -self.cursorpadding
|
||||
self.cursorx = 0
|
||||
self.cursory = 0
|
||||
self.lastcurx = self.cursorx
|
||||
self.lastcury = self.cursory
|
||||
self.worldx = -width//3
|
||||
self.worldy = -height//3
|
||||
|
||||
self.chunkpool = chunkpool
|
||||
self.client = client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue