[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] "Merry Christmas - Christmas Avenger" flew under the radar - give it a chance



On 14 February 2010 05:28, Nathan Franck <gorksorf@xxxxxxxxx> wrote:
> I'm the maker of the game, and I think it deserves a bit of merit.
> It's a gift I gave last Christmas, and it just got swept under the
> rug. Give it a chance!
>
> http://www.pygame.org/project-Merry+Christmas+-+Christmas+Avenger-1369-.html
>

Hey Nathan,

Great game! I've attached a patch to make it work on Linux. The file
also needs ^M characters stripping on Linux to make it work as well.

Cheers,
Tom
diff --git a/Merry Christmas.py b/Merry Christmas.py
index 27ce80a..3855c0d 100755
--- a/Merry Christmas.py	
+++ b/Merry Christmas.py	
@@ -1,3 +1,4 @@
+#!/usr/bin/python
 ##Load Modules
 
 import pygame
@@ -812,13 +813,13 @@ class achvmts:
     cloudsspeed = [.3, -.3]
     fade = 0
     ticking = 0
-    imgs.append(pygame.image.load("data/Acheivementbox.bmp"))
-    imgs.append(pygame.image.load("data/Accuracy.bmp"))
+    imgs.append(pygame.image.load("data/acheivementbox.bmp"))
+    imgs.append(pygame.image.load("data/accuracy.bmp"))
     imgs.append(pygame.image.load("data/combo.bmp"))
     imgs.append(pygame.image.load("data/speed.bmp"))
     imgs.append(pygame.image.load("data/malicious.bmp"))
     imgs.append(pygame.image.load("data/complete.bmp"))
-    imgs.append(pygame.image.load("data/Acheivementbar.bmp"))
+    imgs.append(pygame.image.load("data/acheivementbar.bmp"))
     imgs.append(pygame.image.load("data/cloud.bmp"))
     for a in range(len(imgs)):
         imgs[a].set_colorkey([255, 0, 255])