Skip to content

Commit

Permalink
Change sprites size and plug the game to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioribeiro committed Aug 24, 2010
1 parent 5e49ac5 commit be56a3d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jailbreakerz/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self):

def load_sprites(self):
self.prison = cocos.sprite.Sprite('media/imgs/prison.png')
self.prison.position = 200,160
self.prison.position = 100,170
self.add(self.prison)

self.fuu = cocos.sprite.Sprite('media/imgs/tall_thief.png')
Expand Down
5 changes: 4 additions & 1 deletion jailbreakerz/jailbreakerz.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
from cocos.text import *
import pyglet

import game

class Background(Layer):
def __init__(self):
super(Background, self).__init__()
Expand Down Expand Up @@ -49,7 +51,8 @@ def __init__(self):
self.create_menu(items)

def on_start(self):
pass
game_scene = Scene(game.Game())
director.replace(game_scene)

def on_credits(self):
pass
Expand Down
Binary file modified jailbreakerz/media/imgs/fat_thief.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 modified jailbreakerz/media/imgs/prison.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 modified jailbreakerz/media/imgs/skinny_thief.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 modified jailbreakerz/media/imgs/small_thief.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 modified jailbreakerz/media/imgs/tall_thief.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be56a3d

Please sign in to comment.