The Forgotten Angel
The Forgotten Angel, version 1
I was far too ambitious with the scope and I didn't get going until really late. If you play it through you'll see lots of rough spots where I simply ran out of time. I feel like my usual attention to detail is really lacking here.
I did, however, have a first-timer on board for the music, marybee, and I think she did a great job.
If you run into any issues running the game before the submission deadline, let me know here and I'll try to get a fix in. Thanks!
(log in to comment)Comments
alpha = round(alpha, 1)
toalpha = 1
This will disable transparency on images, but it's only used for a couple special effects, so it should not affect playability. If you want to spend more time, there's a fixed version of pixels_alpha in gcewing's PyWeek 10 entry, in Game/Code/fixes.py. If you patch it to use that version of pixels_alpha, I suspect it'll work.
cyhawk on
2014/10/12 20:29:
On Mac OS 10.9.5 I get this after turning on the engine and heading for Exelu at the very beginning:Traceback (most recent call last): File "run_game.py", line 3, in from src import main File "src/main.py", line 26, in scene0.draw() File "src/gamescene.py", line 102, in draw state.state.drawviewport() File "src/state.py", line 253, in drawviewport e.draw() File "src/effects.py", line 24, in draw img.worlddraw(self.imgname, (self.x, self.y), self.angle, scale = scale, alpha = alpha) File "src/img.py", line 129, in worlddraw draw(imgname, vista.worldtoscreen(worldpos), angle = angle, scale = scale, alpha = alpha) File "src/img.py", line 123, in draw img = getimg(imgname, angle, scale, alpha, bad) File "src/img.py", line 114, in getimg alphas = pygame.surfarray.pixels_alpha(img0) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/surfarray.py", line 208, in pixels_alpha return numpysf.pixels_alpha (surface) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/_numpysurfarray.py", line 297, in pixels_alpha raise ValueError("unsupported colormasks for alpha reference array") ValueError: unsupported colormasks for alpha reference array