Skip to content

Commit

Permalink
Actualiación y pulimentado del juego
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito committed Dec 23, 2014
1 parent db59be3 commit fd3afbb
Show file tree
Hide file tree
Showing 16 changed files with 421 additions and 118 deletions.
4 changes: 2 additions & 2 deletions GameView.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ def __reescalar(self, widget, event):
# FIXME: El juego debe reescalarse a: rect.width, rect.height

def __run_game(self):
from Games.ug1.runme import Escena
from Games.ug1.runme import Intro

rect = self.get_allocation()
self.lado = min(rect.width-8, rect.height-8)
self.pygamecanvas.set_size_request(self.lado, self.lado)
spyral.director.init((self.lado, self.lado),
fullscreen=False, max_fps=30)
self.game = Escena(self, self.topic)
self.game = Intro(self.topic)
spyral.director.push(self.game)
if self.pump:
gobject.source_remove(self.pump)
Expand Down
Binary file added Games/ug1/fonts/SourceCodePro-Regular.ttf
Binary file not shown.
Binary file added Games/ug1/images/Menu_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Games/ug1/images/entrada.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions Games/ug1/images/entrada.tmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="3" height="23" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="generic_background" tilewidth="32" tileheight="32">
<image source="../../sunset-adventure/game/data/map/tiles/generic_background.png" width="864" height="832"/>
</tileset>
<tileset firstgid="703" name="space-base-1" tilewidth="32" tileheight="32">
<image source="../../../Imágenes/space-base-1.png" width="512" height="512"/>
</tileset>
<layer name="Capa de PCapa de patrones 2atrones 1" width="3" height="23">
<data encoding="base64" compression="zlib">
eJxTY2ZgmAPE6kCsNoLZZlC2ORADAOV2Fd8=
</data>
</layer>
<layer name="Capa de patrones 2" width="3" height="23">
<data encoding="base64" compression="zlib">
eJxjYBgF6AAAARQAAQ==
</data>
</layer>
</map>
Binary file modified Games/ug1/images/terraza.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Games/ug1/images/terraza.tmx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</tileset>
<layer name="Capa de Patrones 1" width="22" height="2">
<data encoding="base64" compression="zlib">
eJybwsjAMAUJxwJxHIk4HojRQRRQLJrKOAaIAa/vD28=
eJyTY2RgkKcyVgBiZiBmoTJmBWIAhC8DLw==
</data>
</layer>
<layer name="Capa de patrones 3" width="22" height="2">
Expand Down
Loading

0 comments on commit fd3afbb

Please sign in to comment.