Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/conozco.py
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-12-25 19:42:54 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-12-25 19:42:54 (GMT)
commit56d4b9766964c12cfa56bfcb96207b110e9442a9 (patch)
treedad7099d1973bd32d939c701020533db0b26d880 /conozco.py
parente8a66fcf4d85d976e2f82829564188e389681f52 (diff)
add save/export to py function
Diffstat (limited to 'conozco.py')
-rwxr-xr-xconozco.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/conozco.py b/conozco.py
index 30f6124..75ac5b8 100755
--- a/conozco.py
+++ b/conozco.py
@@ -483,11 +483,12 @@ class Conozco():
self.pantalla.blit(self.fondo, (shift_x, shift_y))
for p in l:
name = p[0]
- pos = p[1]
- dx = int(p[2] * scale)
- dy = int(p[3] * scale)
- pos_n = (pos[0] + dx, pos[1] + dy)
- pos_c = (pos[0] - 8, pos[1] - 8)
+ x = p[1]
+ y = p[2]
+ dx = int(p[3] * scale)
+ dy = int(p[4] * scale)
+ pos_n = (x + dx, y + dy)
+ pos_c = (x - 8, y - 8)
self.showName(name, pos_n, self.fuente9)
self.pantalla.blit(self.simboloCiudad, pos_c)