gear
authorFrank DeMarco <frank.s.demarco@gmail.com>
Sun, 18 May 2014 13:49:07 +0000 (22:49 +0900)
committerFrank DeMarco <frank.s.demarco@gmail.com>
Sun, 18 May 2014 13:49:07 +0000 (22:49 +0900)
config
lake_of_heavenly_wind/LakeOfHeavenlyWind.py
resource/B59-plus.png [deleted file]
resource/img/B59-plus.png [new file with mode: 0644]

diff --git a/config b/config
index d4f571d..876444e 100644 (file)
--- a/config
+++ b/config
@@ -12,7 +12,7 @@ init-script = lake-of-heavenly-wind
 
 [display]
 caption = ☱☰☴
-dimensions = 800, 600
+dimensions = 640, 480
 
 [mouse]
 visible = no
@@ -24,4 +24,5 @@ toss-left = K_z
 toss-right = K_x
 
 [image]
-plateaus = B59-plus.png
+plateau = img/B59-plus.png
+disk = img/Meateneu/
index fcc12eb..d5869f1 100644 (file)
@@ -13,6 +13,8 @@ class LakeOfHeavenlyWind(Game):
     def __init__(self):
         Game.__init__(self)
         self.game_screen.activate()
+        self.bomb = Sprite(self, 240)
+        self.bomb.load_from_path(self.get_resource("image", "disk"), True)
 
     def set_children(self):
         Game.set_children(self)
@@ -22,6 +24,7 @@ class LakeOfHeavenlyWind(Game):
     def update(self):
         self.title.update()
         self.game_screen.update()
+        self.bomb.update()
 
 
 class Title(GameChild):
@@ -108,7 +111,7 @@ class Paddles(GameChild):
         background.location.bottom = self.get_display_surface().get_rect().bottom
 
     def set_lattice(self):
-        mask = load(self.get_resource("image", "plateaus")).convert_alpha()
+        mask = load(self.get_resource("image", "plateau")).convert_alpha()
         tile = Surface((9, 9))
         tw, th = tile.get_size()
         for x in xrange(tw):
@@ -125,7 +128,7 @@ class Paddles(GameChild):
             base.blit(mask, (x, 0), None, BLEND_RGBA_MIN)
         lattice = self.lattice = Sprite(self)
         lattice.add_frame(base)
-        lattice.location.bottom = self.get_display_surface().get_rect().bottom + 10
+        lattice.location.bottom = self.get_display_surface().get_rect().bottom + 2
 
     def update(self):
         self.lattice.move(-.5)
diff --git a/resource/B59-plus.png b/resource/B59-plus.png
deleted file mode 100644 (file)
index 710501d..0000000
Binary files a/resource/B59-plus.png and /dev/null differ
diff --git a/resource/img/B59-plus.png b/resource/img/B59-plus.png
new file mode 100644 (file)
index 0000000..366f053
Binary files /dev/null and b/resource/img/B59-plus.png differ